Home
last modified time | relevance | path

Searched refs:rh_state (Results 1 – 25 of 25) sorted by relevance

/drivers/usb/host/
Duhci-debug.c262 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 …]
Dohci-hcd.c211 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 …]
Duhci-hcd.c139 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()
Dehci-hcd.c290 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 …]
Dehci-q.c162 && 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()
Duhci-hub.c198 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()
Duhci-pci.c177 if (uhci->rh_state > UHCI_RH_SUSPENDED) { in uhci_pci_suspend()
231 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
Dohci-exynos.c217 if (ohci->rh_state != OHCI_RH_SUSPENDED && in exynos_ohci_suspend()
218 ohci->rh_state != OHCI_RH_HALTED) { in exynos_ohci_suspend()
Dohci-hub.c114 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()
Dohci.h393 enum ohci_rh_state rh_state; member
712 hc->rh_state = OHCI_RH_HALTED; \
Dohci-au1xxx.c183 if (ohci->rh_state != OHCI_RH_SUSPENDED) { in ohci_hcd_au1xxx_drv_suspend()
Dehci-hub.c234 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()
Dehci-au1xxx.c240 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_hcd_au1xxx_drv_resume()
Dehci-fsl.c413 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()
Dohci-q.c915 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()
Dohci-pci.c313 if (ohci->rh_state != OHCI_RH_SUSPENDED) { in ohci_pci_suspend()
Dehci-sched.c700 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()
Dehci-s5p.c288 ehci->rh_state = EHCI_RH_SUSPENDED; in s5p_ehci_resume()
Dehci-pci.c453 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_pci_resume()
Dohci-s3c2410.c505 if (ohci->rh_state != OHCI_RH_SUSPENDED) { in ohci_hcd_s3c2410_drv_suspend()
Duhci-hcd.h407 enum uhci_rh_state rh_state; member
Dehci.h79 enum ehci_rh_state rh_state; member
Dohci-dbg.c140 switch (ohci->rh_state) { in rh_state_string()
Dehci-dbg.c701 switch (ehci->rh_state) { in rh_state_string()
/drivers/usb/gadget/
Ddummy_hcd.c164 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 …]