/drivers/usb/host/ |
D | uhci-debug.c | 262 char *rh_state; in uhci_show_root_hub_state() local 268 switch (uhci->rh_state) { in uhci_show_root_hub_state() 270 rh_state = "reset"; break; in uhci_show_root_hub_state() 272 rh_state = "suspended"; break; in uhci_show_root_hub_state() 274 rh_state = "auto-stopped"; break; in uhci_show_root_hub_state() 276 rh_state = "resuming"; break; in uhci_show_root_hub_state() 278 rh_state = "suspending"; break; in uhci_show_root_hub_state() 280 rh_state = "running"; break; in uhci_show_root_hub_state() 282 rh_state = "running, no devs"; break; in uhci_show_root_hub_state() 284 rh_state = "?"; break; in uhci_show_root_hub_state() [all …]
|
D | ohci-hcd.c | 211 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue() 276 } else if (ohci->rh_state == OHCI_RH_RUNNING) { in ohci_urb_dequeue() 323 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable() 379 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset() 503 ohci->rh_state = OHCI_RH_HALTED; in ohci_init() 578 ohci->rh_state = OHCI_RH_HALTED; in ohci_run() 691 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run() 763 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq() 773 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED)) in ohci_irq() 789 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq() [all …]
|
D | uhci-hcd.c | 139 uhci->rh_state = UHCI_RH_RESET; in finish_reset() 351 uhci->rh_state = UHCI_RH_SUSPENDING; in suspend_rh() 363 uhci->rh_state = new_state; in suspend_rh() 391 uhci->rh_state = UHCI_RH_RUNNING; in start_rh() 401 uhci->rh_state == UHCI_RH_AUTO_STOPPED ? in wakeup_rh() 408 if (uhci->rh_state == UHCI_RH_SUSPENDED) { in wakeup_rh() 413 uhci->rh_state = UHCI_RH_RESUMING; in wakeup_rh() 462 if (uhci->rh_state >= UHCI_RH_RUNNING) { in uhci_irq()
|
D | ehci-hcd.c | 290 ehci->rh_state = EHCI_RH_HALTED; in handshake_on_error_set_halt() 330 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset() 361 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce() 410 && ehci->rh_state == EHCI_RH_RUNNING) { in ehci_iaa_watchdog() 550 if (ehci->rh_state == EHCI_RH_RUNNING && in ehci_work() 570 if (ehci->rh_state == EHCI_RH_RUNNING) in ehci_stop() 789 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run() 870 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq() 920 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq() 1035 if (ehci->rh_state != EHCI_RH_RUNNING && ehci->reclaim) in unlink_async() [all …]
|
D | ehci-q.c | 162 && ehci->rh_state == EHCI_RH_RUNNING) in ehci_clear_tt_buffer_complete() 445 && ehci->rh_state == EHCI_RH_RUNNING)) { in qh_completions() 453 if (ehci->rh_state != EHCI_RH_RUNNING) in qh_completions() 1188 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_async() 1194 if (ehci->rh_state == EHCI_RH_RUNNING in end_unlink_async() 1230 if (ehci->rh_state != EHCI_RH_HALTED in start_unlink_async() 1256 if (unlikely(ehci->rh_state != EHCI_RH_RUNNING)) { in start_unlink_async() 1279 stopped = (ehci->rh_state != EHCI_RH_RUNNING); in scan_async()
|
D | uhci-hub.c | 198 switch (uhci->rh_state) { in uhci_hub_status_data() 216 uhci->rh_state = UHCI_RH_RUNNING_NODEVS; in uhci_hub_status_data() 224 uhci->rh_state = UHCI_RH_RUNNING; in uhci_hub_status_data()
|
D | uhci-pci.c | 177 if (uhci->rh_state > UHCI_RH_SUSPENDED) { in uhci_pci_suspend() 231 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
|
D | ohci-exynos.c | 217 if (ohci->rh_state != OHCI_RH_SUSPENDED && in exynos_ohci_suspend() 218 ohci->rh_state != OHCI_RH_HALTED) { in exynos_ohci_suspend()
|
D | ohci-hub.c | 114 ohci->rh_state = OHCI_RH_SUSPENDED; in ohci_rh_suspend() 144 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_rh_resume() 278 ohci->rh_state = OHCI_RH_RUNNING; in ohci_rh_resume()
|
D | ohci.h | 393 enum ohci_rh_state rh_state; member 712 hc->rh_state = OHCI_RH_HALTED; \
|
D | ohci-au1xxx.c | 183 if (ohci->rh_state != OHCI_RH_SUSPENDED) { in ohci_hcd_au1xxx_drv_suspend()
|
D | ehci-hub.c | 234 if (ehci->rh_state == EHCI_RH_RUNNING) in ehci_bus_suspend() 309 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_bus_suspend() 378 ehci->rh_state = EHCI_RH_RUNNING; in ehci_bus_resume()
|
D | ehci-au1xxx.c | 240 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_hcd_au1xxx_drv_resume()
|
D | ehci-fsl.c | 413 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_fsl_mpc512x_drv_suspend() 504 ehci->rh_state = EHCI_RH_RUNNING; in ehci_fsl_mpc512x_drv_resume()
|
D | ohci-q.c | 915 if (likely(ohci->rh_state == OHCI_RH_RUNNING)) { in finish_unlinks() 1015 if (ohci->rh_state == OHCI_RH_RUNNING) in finish_unlinks() 1024 if (ohci->rh_state == OHCI_RH_RUNNING && !ohci->ed_rm_list) { in finish_unlinks()
|
D | ohci-pci.c | 313 if (ohci->rh_state != OHCI_RH_SUSPENDED) { in ohci_pci_suspend()
|
D | ehci-sched.c | 700 ehci->rh_state == EHCI_RH_RUNNING) { in intr_deschedule() 2304 if (ehci->rh_state == EHCI_RH_RUNNING) { in scan_periodic() 2339 live = (ehci->rh_state == EHCI_RH_RUNNING); in scan_periodic() 2464 if (incomplete && ehci->rh_state == EHCI_RH_RUNNING) { in scan_periodic() 2480 if (ehci->rh_state != EHCI_RH_RUNNING in scan_periodic()
|
D | ehci-s5p.c | 288 ehci->rh_state = EHCI_RH_SUSPENDED; in s5p_ehci_resume()
|
D | ehci-pci.c | 453 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_pci_resume()
|
D | ohci-s3c2410.c | 505 if (ohci->rh_state != OHCI_RH_SUSPENDED) { in ohci_hcd_s3c2410_drv_suspend()
|
D | uhci-hcd.h | 407 enum uhci_rh_state rh_state; member
|
D | ehci.h | 79 enum ehci_rh_state rh_state; member
|
D | ohci-dbg.c | 140 switch (ohci->rh_state) { in rh_state_string()
|
D | ehci-dbg.c | 701 switch (ehci->rh_state) { in rh_state_string()
|
/drivers/usb/gadget/ |
D | dummy_hcd.c | 164 enum dummy_rh_state rh_state; member 316 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed() 343 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed() 788 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup() 1227 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue() 1725 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer() 1874 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer() 1914 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status() 2201 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend() 2219 dum_hcd->rh_state = DUMMY_RH_RUNNING; in dummy_bus_resume() [all …]
|