Home
last modified time | relevance | path

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

/drivers/usb/host/
Dehci-timer.c108 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_poll_ASS()
154 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_poll_PSS()
209 ehci->rh_state = EHCI_RH_HALTED; in ehci_handle_controller_death()
222 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_intr_unlinks()
272 if (ehci->rh_state < EHCI_RH_RUNNING) { in end_free_itds()
307 if (!ehci->iaa_in_progress || ehci->rh_state != EHCI_RH_RUNNING) in ehci_iaa_watchdog()
340 if (ehci->rh_state != EHCI_RH_RUNNING || in turn_on_io_watchdog()
Duhci-debug.c280 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 …]
Dohci-hcd.c211 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue()
308 } else if (ohci->rh_state == OHCI_RH_RUNNING) { in ohci_urb_dequeue()
355 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable()
411 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset()
535 ohci->rh_state = OHCI_RH_HALTED; in ohci_init()
610 ohci->rh_state = OHCI_RH_HALTED; in ohci_run()
723 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run()
795 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq()
805 if (ints == 0 || unlikely(ohci->rh_state == OHCI_RH_HALTED)) in ohci_irq()
821 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.c252 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset()
284 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce()
341 ehci->rh_state = EHCI_RH_HALTED; in ehci_silence_controller()
362 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown()
625 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run()
707 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq()
766 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq()
814 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq()
968 if (ehci->rh_state < EHCI_RH_RUNNING) in ehci_endpoint_disable()
1144 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
Dehci-q.c155 && ehci->rh_state == EHCI_RH_RUNNING) in ehci_clear_tt_buffer_complete()
423 && ehci->rh_state >= EHCI_RH_RUNNING)) { in qh_completions()
431 if (ehci->rh_state < EHCI_RH_RUNNING) in qh_completions()
1175 if (unlikely(ehci->rh_state < EHCI_RH_RUNNING)) { in start_iaa_cycle()
1179 } else if (likely(ehci->rh_state == EHCI_RH_RUNNING)) { in start_iaa_cycle()
1217 if (ehci->rh_state < EHCI_RH_RUNNING) in end_unlink_async()
1258 ehci->rh_state == EHCI_RH_RUNNING) in end_unlink_async()
1362 if (check_unlinks_later && ehci->rh_state == EHCI_RH_RUNNING && in scan_async()
Duhci-hub.c201 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()
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.c265 if (ohci->rh_state != OHCI_RH_SUSPENDED && in exynos_ohci_suspend()
266 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()
Dehci-hub.c237 if (ehci->rh_state < EHCI_RH_RUNNING) in ehci_bus_suspend()
326 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_bus_suspend()
328 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_bus_suspend()
398 ehci->rh_state = EHCI_RH_RUNNING; in ehci_bus_resume()
Dohci.h388 enum ohci_rh_state rh_state; member
707 hc->rh_state = OHCI_RH_HALTED; \
Dehci-fsl.c444 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_fsl_mpc512x_drv_suspend()
535 ehci->rh_state = EHCI_RH_RUNNING; in ehci_fsl_mpc512x_drv_resume()
Dohci-q.c916 if (likely(ohci->rh_state == OHCI_RH_RUNNING)) { in finish_unlinks()
1016 if (ohci->rh_state == OHCI_RH_RUNNING) in finish_unlinks()
1025 if (ohci->rh_state == OHCI_RH_RUNNING && !ohci->ed_rm_list) { in finish_unlinks()
Dohci-s3c2410.c489 if (ohci->rh_state != OHCI_RH_SUSPENDED) { in ohci_hcd_s3c2410_drv_suspend()
Duhci-hcd.h403 enum uhci_rh_state rh_state; member
Dehci.h118 enum ehci_rh_state rh_state; member
Dehci-sched.c627 else if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr()
647 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr()
2204 if (ehci->rh_state >= EHCI_RH_RUNNING) { in scan_isoc()
Dohci-dbg.c140 switch (ohci->rh_state) { in rh_state_string()
Dehci-dbg.c674 switch (ehci->rh_state) { in rh_state_string()
/drivers/usb/gadget/
Ddummy_hcd.c168 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()
788 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup()
1212 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue()
1710 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer()
1859 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer()
1899 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status()
2219 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend()
2237 dum_hcd->rh_state = DUMMY_RH_RUNNING; in dummy_bus_resume()
[all …]