Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dehci-timer.c100 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_poll_ASS()
146 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_poll_PSS()
201 ehci->rh_state = EHCI_RH_HALTED; in ehci_handle_controller_death()
213 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_start_intr_unlinks()
245 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_intr_unlinks()
295 if (ehci->rh_state < EHCI_RH_RUNNING) { in end_free_itds()
330 if (!ehci->iaa_in_progress || ehci->rh_state != EHCI_RH_RUNNING) in ehci_iaa_watchdog()
363 if (ehci->rh_state != EHCI_RH_RUNNING || in turn_on_io_watchdog()
Duhci-debug.c281 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 …]
Dohci-hcd.c218 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue()
333 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_dequeue()
365 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable()
414 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset()
435 ohci->rh_state = OHCI_RH_HALTED; in ohci_shutdown()
456 ohci->rh_state = OHCI_RH_HALTED; in ohci_init()
534 ohci->rh_state = OHCI_RH_HALTED; in ohci_run()
647 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run()
812 if (ohci->rh_state == OHCI_RH_RUNNING) { in io_watchdog_func()
873 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq()
[all …]
Duhci-hcd.c143 uhci->rh_state = UHCI_RH_RESET; in finish_reset()
359 uhci->rh_state = UHCI_RH_SUSPENDING; in suspend_rh()
371 uhci->rh_state = new_state; in suspend_rh()
406 uhci->rh_state = UHCI_RH_RUNNING; in start_rh()
416 uhci->rh_state == UHCI_RH_AUTO_STOPPED ? in wakeup_rh()
423 if (uhci->rh_state == UHCI_RH_SUSPENDED) { in wakeup_rh()
428 uhci->rh_state = UHCI_RH_RESUMING; in wakeup_rh()
477 if (uhci->rh_state >= UHCI_RH_RUNNING) { in uhci_irq()
Dehci-hcd.c242 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset()
275 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce()
339 ehci->rh_state = EHCI_RH_HALTED; in ehci_silence_controller()
369 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown()
629 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run()
720 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq()
772 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq()
820 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq()
1171 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
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()
Dehci-q.c146 && ehci->rh_state == EHCI_RH_RUNNING) in ehci_clear_tt_buffer_complete()
404 && ehci->rh_state >= EHCI_RH_RUNNING)) { in qh_completions()
412 if (ehci->rh_state < EHCI_RH_RUNNING) { in qh_completions()
1268 if (unlikely(ehci->rh_state < EHCI_RH_RUNNING)) { in start_iaa_cycle()
1272 } else if (ehci->rh_state == EHCI_RH_RUNNING && in start_iaa_cycle()
1317 if (ehci->rh_state < EHCI_RH_RUNNING) in end_unlink_async()
1404 ehci->rh_state == EHCI_RH_RUNNING) in end_unlink_async()
1512 if (check_unlinks_later && ehci->rh_state == EHCI_RH_RUNNING && in scan_async()
Dfotg210-hcd.c624 switch (fotg210->rh_state) { in rh_state_string()
943 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_reset()
966 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_quiesce()
1076 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_ASS()
1124 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_PSS()
1182 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_handle_controller_death()
1194 bool stopped = (fotg210->rh_state < FOTG210_RH_RUNNING); in fotg210_handle_intr_unlinks()
1241 if (fotg210->rh_state < FOTG210_RH_RUNNING) in end_free_itds()
1259 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_iaa_watchdog()
1304 if (fotg210->rh_state != FOTG210_RH_RUNNING || in turn_on_io_watchdog()
[all …]
Dohci-hub.c133 ohci->rh_state = OHCI_RH_SUSPENDED; in ohci_rh_suspend()
163 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_rh_resume()
297 ohci->rh_state = OHCI_RH_RUNNING; in ohci_rh_resume()
Dohci.h399 enum ohci_rh_state rh_state; member
710 hc->rh_state = OHCI_RH_HALTED; \
Duhci-pci.c239 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
Dehci-hub.c231 if (ehci->rh_state < EHCI_RH_RUNNING) in ehci_bus_suspend()
343 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_bus_suspend()
345 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_bus_suspend()
418 ehci->rh_state = EHCI_RH_RUNNING; in ehci_bus_resume()
Dohci-q.c989 if (likely(ohci->rh_state == OHCI_RH_RUNNING) && in finish_unlinks()
1004 ohci->rh_state == OHCI_RH_RUNNING) in finish_unlinks()
1090 } else if (ohci->rh_state == OHCI_RH_RUNNING) { in finish_unlinks()
1105 if (ohci->rh_state == OHCI_RH_RUNNING && !ohci->ed_rm_list) { in finish_unlinks()
Dehci-fsl.c416 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_fsl_mpc512x_drv_suspend()
507 ehci->rh_state = EHCI_RH_RUNNING; in ehci_fsl_mpc512x_drv_resume()
Dfotg210.h94 enum fotg210_rh_state rh_state; member
Dmax3421-hcd.c130 enum max3421_rh_state rh_state; member
1507 max3421_hcd->rh_state = MAX3421_RH_RUNNING; in max3421_start()
1645 if (max3421_hcd->rh_state == MAX3421_RH_SUSPENDED) in max3421_hub_status_data()
Duhci-hcd.h407 enum uhci_rh_state rh_state; member
Dehci-sched.c688 else if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr()
709 if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr_wait()
729 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr()
2376 if (ehci->rh_state >= EHCI_RH_RUNNING) { in scan_isoc()
Dehci.h129 enum ehci_rh_state rh_state; member
Dohci-at91.c622 ohci->rh_state = OHCI_RH_HALTED; in ohci_hcd_at91_drv_suspend()
Dohci-dbg.c88 switch (ohci->rh_state) { in rh_state_string()
Dehci-dbg.c742 switch (ehci->rh_state) { in rh_state_string()
/Linux-v4.19/drivers/usb/gadget/udc/
Ddummy_hcd.c241 enum dummy_rh_state rh_state; member
394 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
421 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
871 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup()
1308 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue()
1826 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer()
1977 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer()
2017 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status()
2335 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend()
2353 dum_hcd->rh_state = DUMMY_RH_RUNNING; in dummy_bus_resume()
[all …]