/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() 254 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_intr_unlinks() 304 if (ehci->rh_state < EHCI_RH_RUNNING) { in end_free_itds() 339 if (!ehci->iaa_in_progress || ehci->rh_state != EHCI_RH_RUNNING) in ehci_iaa_watchdog() 372 if (ehci->rh_state != EHCI_RH_RUNNING || in turn_on_io_watchdog()
|
D | uhci-debug.c | 281 char *rh_state; in uhci_show_root_hub_state() local 283 switch (uhci->rh_state) { in uhci_show_root_hub_state() 285 rh_state = "reset"; break; in uhci_show_root_hub_state() 287 rh_state = "suspended"; break; in uhci_show_root_hub_state() 289 rh_state = "auto-stopped"; break; in uhci_show_root_hub_state() 291 rh_state = "resuming"; break; in uhci_show_root_hub_state() 293 rh_state = "suspending"; break; in uhci_show_root_hub_state() 295 rh_state = "running"; break; in uhci_show_root_hub_state() 297 rh_state = "running, no devs"; break; in uhci_show_root_hub_state() 299 rh_state = "?"; break; in uhci_show_root_hub_state() [all …]
|
D | ohci-hcd.c | 217 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue() 332 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_dequeue() 364 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable() 413 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset() 433 ohci->rh_state = OHCI_RH_HALTED; in _ohci_shutdown() 464 ohci->rh_state = OHCI_RH_HALTED; in ohci_init() 543 ohci->rh_state = OHCI_RH_HALTED; in ohci_run() 656 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run() 821 if (ohci->rh_state == OHCI_RH_RUNNING) { in io_watchdog_func() 882 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq() [all …]
|
D | uhci-hcd.c | 142 uhci->rh_state = UHCI_RH_RESET; in finish_reset() 358 uhci->rh_state = UHCI_RH_SUSPENDING; in suspend_rh() 370 uhci->rh_state = new_state; in suspend_rh() 405 uhci->rh_state = UHCI_RH_RUNNING; in start_rh() 415 uhci->rh_state == UHCI_RH_AUTO_STOPPED ? in wakeup_rh() 422 if (uhci->rh_state == UHCI_RH_SUSPENDED) { in wakeup_rh() 427 uhci->rh_state = UHCI_RH_RESUMING; in wakeup_rh() 476 if (uhci->rh_state >= UHCI_RH_RUNNING) { in uhci_irq()
|
D | ehci-hcd.c | 255 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset() 288 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce() 352 ehci->rh_state = EHCI_RH_HALTED; in ehci_silence_controller() 382 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown() 642 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run() 733 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq() 785 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq() 833 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq() 1184 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
|
D | uhci-hub.c | 201 switch (uhci->rh_state) { in uhci_hub_status_data() 219 uhci->rh_state = UHCI_RH_RUNNING_NODEVS; in uhci_hub_status_data() 227 uhci->rh_state = UHCI_RH_RUNNING; in uhci_hub_status_data()
|
D | fotg210-hcd.c | 637 switch (fotg210->rh_state) { in rh_state_string() 968 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_reset() 991 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_quiesce() 1101 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_ASS() 1149 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_PSS() 1207 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_handle_controller_death() 1219 bool stopped = (fotg210->rh_state < FOTG210_RH_RUNNING); in fotg210_handle_intr_unlinks() 1266 if (fotg210->rh_state < FOTG210_RH_RUNNING) in end_free_itds() 1284 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_iaa_watchdog() 1329 if (fotg210->rh_state != FOTG210_RH_RUNNING || in turn_on_io_watchdog() [all …]
|
D | ehci-q.c | 163 && ehci->rh_state == EHCI_RH_RUNNING) in ehci_clear_tt_buffer_complete() 428 && ehci->rh_state >= EHCI_RH_RUNNING)) { in qh_completions() 436 if (ehci->rh_state < EHCI_RH_RUNNING) { in qh_completions() 1296 if (unlikely(ehci->rh_state < EHCI_RH_RUNNING)) { in start_iaa_cycle() 1300 } else if (ehci->rh_state == EHCI_RH_RUNNING && in start_iaa_cycle() 1345 if (ehci->rh_state < EHCI_RH_RUNNING) in end_unlink_async() 1432 ehci->rh_state == EHCI_RH_RUNNING) in end_unlink_async() 1540 if (check_unlinks_later && ehci->rh_state == EHCI_RH_RUNNING && in scan_async()
|
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 | 988 if (likely(ohci->rh_state == OHCI_RH_RUNNING) && in finish_unlinks() 1003 ohci->rh_state == OHCI_RH_RUNNING) in finish_unlinks() 1089 } else if (ohci->rh_state == OHCI_RH_RUNNING) { in finish_unlinks() 1104 if (ohci->rh_state == OHCI_RH_RUNNING && !ohci->ed_rm_list) { in finish_unlinks()
|
D | ehci-hub.c | 244 if (ehci->rh_state < EHCI_RH_RUNNING) in ehci_bus_suspend() 356 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_bus_suspend() 358 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_bus_suspend() 431 ehci->rh_state = EHCI_RH_RUNNING; in ehci_bus_resume()
|
D | ohci.h | 398 enum ohci_rh_state rh_state; member 712 hc->rh_state = OHCI_RH_HALTED; \
|
D | uhci-pci.c | 239 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
|
D | ehci-fsl.c | 427 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_fsl_mpc512x_drv_suspend() 518 ehci->rh_state = EHCI_RH_RUNNING; in ehci_fsl_mpc512x_drv_resume()
|
D | fotg210.h | 94 enum fotg210_rh_state rh_state; member
|
D | max3421-hcd.c | 126 enum max3421_rh_state rh_state; member 1503 max3421_hcd->rh_state = MAX3421_RH_RUNNING; in max3421_start() 1641 if (max3421_hcd->rh_state == MAX3421_RH_SUSPENDED) in max3421_hub_status_data()
|
D | uhci-hcd.h | 406 enum uhci_rh_state rh_state; member
|
D | ehci-sched.c | 700 else if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr() 721 if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr_wait() 741 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr() 2392 if (ehci->rh_state >= EHCI_RH_RUNNING) { in scan_isoc()
|
D | ohci-at91.c | 623 ohci->rh_state = OHCI_RH_HALTED; in ohci_hcd_at91_drv_suspend()
|
D | ehci.h | 142 enum ehci_rh_state rh_state; member
|
D | ohci-dbg.c | 87 switch (ohci->rh_state) { in rh_state_string()
|
D | ehci-dbg.c | 752 switch (ehci->rh_state) { in rh_state_string()
|
/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 233 enum dummy_rh_state rh_state; member 386 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed() 413 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed() 860 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup() 1309 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue() 1827 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer() 1978 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer() 2018 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status() 2338 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend() 2356 dum_hcd->rh_state = DUMMY_RH_RUNNING; in dummy_bus_resume() [all …]
|