/linux-4.1.27/drivers/usb/host/ |
D | ehci-timer.c | 109 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_poll_ASS() 155 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_poll_PSS() 210 ehci->rh_state = EHCI_RH_HALTED; in ehci_handle_controller_death() 222 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_start_intr_unlinks() 253 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_intr_unlinks() 303 if (ehci->rh_state < EHCI_RH_RUNNING) { in end_free_itds() 338 if (!ehci->iaa_in_progress || ehci->rh_state != EHCI_RH_RUNNING) in ehci_iaa_watchdog() 371 if (ehci->rh_state != EHCI_RH_RUNNING || in turn_on_io_watchdog()
|
D | uhci-debug.c | 280 char *rh_state; in uhci_show_root_hub_state() local 282 switch (uhci->rh_state) { in uhci_show_root_hub_state() 284 rh_state = "reset"; break; in uhci_show_root_hub_state() 286 rh_state = "suspended"; break; in uhci_show_root_hub_state() 288 rh_state = "auto-stopped"; break; in uhci_show_root_hub_state() 290 rh_state = "resuming"; break; in uhci_show_root_hub_state() 292 rh_state = "suspending"; break; in uhci_show_root_hub_state() 294 rh_state = "running"; break; in uhci_show_root_hub_state() 296 rh_state = "running, no devs"; break; in uhci_show_root_hub_state() 298 rh_state = "?"; break; in uhci_show_root_hub_state() [all …]
|
D | ohci-hcd.c | 215 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue() 329 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_dequeue() 361 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable() 410 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset() 431 ohci->rh_state = OHCI_RH_HALTED; in ohci_shutdown() 451 ohci->rh_state = OHCI_RH_HALTED; in ohci_init() 530 ohci->rh_state = OHCI_RH_HALTED; in ohci_run() 643 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run() 808 if (ohci->rh_state == OHCI_RH_RUNNING) { in io_watchdog_func() 868 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq() [all …]
|
D | uhci-hcd.c | 142 uhci->rh_state = UHCI_RH_RESET; in finish_reset() 354 uhci->rh_state = UHCI_RH_SUSPENDING; in suspend_rh() 366 uhci->rh_state = new_state; in suspend_rh() 394 uhci->rh_state = UHCI_RH_RUNNING; in start_rh() 404 uhci->rh_state == UHCI_RH_AUTO_STOPPED ? in wakeup_rh() 411 if (uhci->rh_state == UHCI_RH_SUSPENDED) { in wakeup_rh() 416 uhci->rh_state = UHCI_RH_RESUMING; in wakeup_rh() 465 if (uhci->rh_state >= UHCI_RH_RUNNING) { in uhci_irq()
|
D | ehci-hcd.c | 255 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset() 287 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce() 351 ehci->rh_state = EHCI_RH_HALTED; in ehci_silence_controller() 372 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown() 629 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run() 718 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq() 770 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq() 818 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq() 1166 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
|
D | uhci-hub.c | 200 switch (uhci->rh_state) { in uhci_hub_status_data() 218 uhci->rh_state = UHCI_RH_RUNNING_NODEVS; in uhci_hub_status_data() 226 uhci->rh_state = UHCI_RH_RUNNING; in uhci_hub_status_data()
|
D | ehci-q.c | 155 && ehci->rh_state == EHCI_RH_RUNNING) in ehci_clear_tt_buffer_complete() 411 && ehci->rh_state >= EHCI_RH_RUNNING)) { in qh_completions() 419 if (ehci->rh_state < EHCI_RH_RUNNING) in qh_completions() 1283 if (unlikely(ehci->rh_state < EHCI_RH_RUNNING)) { in start_iaa_cycle() 1287 } else if (likely(ehci->rh_state == EHCI_RH_RUNNING)) { in start_iaa_cycle() 1325 if (ehci->rh_state < EHCI_RH_RUNNING) in end_unlink_async() 1366 ehci->rh_state == EHCI_RH_RUNNING) in end_unlink_async() 1470 if (check_unlinks_later && ehci->rh_state == EHCI_RH_RUNNING && in scan_async()
|
D | fusbh200-hcd.c | 625 switch (fusbh200->rh_state) { in rh_state_string() 955 fusbh200->rh_state = FUSBH200_RH_HALTED; in fusbh200_reset() 979 if (fusbh200->rh_state != FUSBH200_RH_RUNNING) in fusbh200_quiesce() 1095 if (fusbh200->rh_state != FUSBH200_RH_RUNNING) in fusbh200_poll_ASS() 1141 if (fusbh200->rh_state != FUSBH200_RH_RUNNING) in fusbh200_poll_PSS() 1196 fusbh200->rh_state = FUSBH200_RH_HALTED; in fusbh200_handle_controller_death() 1208 bool stopped = (fusbh200->rh_state < FUSBH200_RH_RUNNING); in fusbh200_handle_intr_unlinks() 1253 if (fusbh200->rh_state < FUSBH200_RH_RUNNING) { in end_free_itds() 1272 if (fusbh200->rh_state != FUSBH200_RH_RUNNING) in fusbh200_iaa_watchdog() 1316 if (fusbh200->rh_state != FUSBH200_RH_RUNNING || in turn_on_io_watchdog() [all …]
|
D | fotg210-hcd.c | 651 switch (fotg210->rh_state) { in rh_state_string() 985 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_reset() 1009 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_quiesce() 1128 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_ASS() 1176 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_PSS() 1234 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_handle_controller_death() 1246 bool stopped = (fotg210->rh_state < FOTG210_RH_RUNNING); in fotg210_handle_intr_unlinks() 1293 if (fotg210->rh_state < FOTG210_RH_RUNNING) in end_free_itds() 1311 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_iaa_watchdog() 1356 if (fotg210->rh_state != FOTG210_RH_RUNNING || in turn_on_io_watchdog() [all …]
|
D | ohci-hub.c | 132 ohci->rh_state = OHCI_RH_SUSPENDED; in ohci_rh_suspend() 162 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_rh_resume() 296 ohci->rh_state = OHCI_RH_RUNNING; in ohci_rh_resume()
|
D | ohci-q.c | 986 if (likely(ohci->rh_state == OHCI_RH_RUNNING) && in finish_unlinks() 1001 ohci->rh_state == OHCI_RH_RUNNING) in finish_unlinks() 1086 } else if (ohci->rh_state == OHCI_RH_RUNNING) { in finish_unlinks() 1099 if (ohci->rh_state == OHCI_RH_RUNNING && !ohci->ed_rm_list) { in finish_unlinks()
|
D | uhci-pci.c | 234 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
|
D | ohci.h | 398 enum ohci_rh_state rh_state; member 711 hc->rh_state = OHCI_RH_HALTED; \
|
D | ehci-hub.c | 241 if (ehci->rh_state < EHCI_RH_RUNNING) in ehci_bus_suspend() 345 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_bus_suspend() 347 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_bus_suspend() 418 ehci->rh_state = EHCI_RH_RUNNING; in ehci_bus_resume()
|
D | ehci-fsl.c | 421 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_fsl_mpc512x_drv_suspend() 512 ehci->rh_state = EHCI_RH_RUNNING; in ehci_fsl_mpc512x_drv_resume()
|
D | fotg210.h | 93 enum fotg210_rh_state rh_state; member
|
D | fusbh200.h | 93 enum fusbh200_rh_state rh_state; member
|
D | uhci-hcd.h | 403 enum uhci_rh_state rh_state; member
|
D | max3421-hcd.c | 126 enum max3421_rh_state rh_state; member 1509 max3421_hcd->rh_state = MAX3421_RH_RUNNING; in max3421_start() 1647 if (max3421_hcd->rh_state == MAX3421_RH_SUSPENDED) in max3421_hub_status_data()
|
D | ehci-sched.c | 699 else if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr() 720 if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr_wait() 740 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr() 2391 if (ehci->rh_state >= EHCI_RH_RUNNING) { in scan_isoc()
|
D | ehci.h | 141 enum ehci_rh_state rh_state; member
|
D | ohci-at91.c | 641 ohci->rh_state = OHCI_RH_HALTED; in ohci_hcd_at91_drv_suspend()
|
D | ohci-dbg.c | 87 switch (ohci->rh_state) { in rh_state_string()
|
D | ehci-dbg.c | 765 switch (ehci->rh_state) { in rh_state_string()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 168 enum dummy_rh_state rh_state; member 318 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed() 345 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed() 789 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup() 1206 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue() 1704 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer() 1853 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer() 1893 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status() 2217 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend() 2235 dum_hcd->rh_state = DUMMY_RH_RUNNING; in dummy_bus_resume() [all …]
|