Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/host/
Dehci-timer.c109 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()
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.c216 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue()
330 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_dequeue()
362 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable()
411 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset()
432 ohci->rh_state = OHCI_RH_HALTED; in ohci_shutdown()
452 ohci->rh_state = OHCI_RH_HALTED; in ohci_init()
531 ohci->rh_state = OHCI_RH_HALTED; in ohci_run()
644 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run()
809 if (ohci->rh_state == OHCI_RH_RUNNING) { in io_watchdog_func()
869 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq()
[all …]
Duhci-hcd.c142 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()
Dehci-hcd.c255 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()
373 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown()
630 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run()
719 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq()
771 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq()
819 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq()
1167 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
Duhci-hub.c200 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()
Dehci-q.c155 && 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()
Dfotg210-hcd.c637 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()
1102 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_ASS()
1150 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_PSS()
1208 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_handle_controller_death()
1220 bool stopped = (fotg210->rh_state < FOTG210_RH_RUNNING); in fotg210_handle_intr_unlinks()
1267 if (fotg210->rh_state < FOTG210_RH_RUNNING) in end_free_itds()
1285 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_iaa_watchdog()
1330 if (fotg210->rh_state != FOTG210_RH_RUNNING || in turn_on_io_watchdog()
[all …]
Dohci-hub.c132 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()
Dohci-q.c987 if (likely(ohci->rh_state == OHCI_RH_RUNNING) && in finish_unlinks()
1002 ohci->rh_state == OHCI_RH_RUNNING) in finish_unlinks()
1087 } else if (ohci->rh_state == OHCI_RH_RUNNING) { in finish_unlinks()
1100 if (ohci->rh_state == OHCI_RH_RUNNING && !ohci->ed_rm_list) { in finish_unlinks()
Duhci-pci.c234 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
Dohci.h398 enum ohci_rh_state rh_state; member
711 hc->rh_state = OHCI_RH_HALTED; \
Dehci-hub.c242 if (ehci->rh_state < EHCI_RH_RUNNING) in ehci_bus_suspend()
346 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_bus_suspend()
348 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_bus_suspend()
419 ehci->rh_state = EHCI_RH_RUNNING; in ehci_bus_resume()
Dehci-fsl.c420 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_fsl_mpc512x_drv_suspend()
511 ehci->rh_state = EHCI_RH_RUNNING; in ehci_fsl_mpc512x_drv_resume()
Dfotg210.h93 enum fotg210_rh_state rh_state; member
Duhci-hcd.h403 enum uhci_rh_state rh_state; member
Dmax3421-hcd.c126 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()
Dehci-sched.c699 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()
Dehci.h141 enum ehci_rh_state rh_state; member
Dohci-at91.c623 ohci->rh_state = OHCI_RH_HALTED; in ohci_hcd_at91_drv_suspend()
Dohci-dbg.c87 switch (ohci->rh_state) { in rh_state_string()
Dehci-dbg.c766 switch (ehci->rh_state) { in rh_state_string()
/linux-4.4.14/drivers/usb/gadget/udc/
Ddummy_hcd.c232 enum dummy_rh_state rh_state; member
382 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
409 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
853 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup()
1271 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue()
1783 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer()
1932 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer()
1972 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status()
2296 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend()
2314 dum_hcd->rh_state = DUMMY_RH_RUNNING; in dummy_bus_resume()
[all …]