Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
H A 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()
214 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_start_intr_unlinks()
246 bool stopped = (ehci->rh_state < EHCI_RH_RUNNING); in ehci_handle_intr_unlinks()
296 if (ehci->rh_state < EHCI_RH_RUNNING) { in end_free_itds()
331 if (!ehci->iaa_in_progress || ehci->rh_state != EHCI_RH_RUNNING) in ehci_iaa_watchdog()
364 if (ehci->rh_state != EHCI_RH_RUNNING || in turn_on_io_watchdog()
H A 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 …]
H A Dohci-hcd.c217 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue()
332 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_dequeue()
364 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable()
413 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset()
433 ohci->rh_state = OHCI_RH_HALTED; in _ohci_shutdown()
464 ohci->rh_state = OHCI_RH_HALTED; in ohci_init()
549 ohci->rh_state = OHCI_RH_HALTED; in ohci_run()
662 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run()
832 if (ohci->rh_state == OHCI_RH_RUNNING) { in io_watchdog_func()
894 ohci->rh_state = OHCI_RH_HALTED; in ohci_irq()
[all …]
H A 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()
H A 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()
H A Dohci-hub.c136 ohci->rh_state = OHCI_RH_SUSPENDED; in ohci_rh_suspend()
166 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_rh_resume()
300 ohci->rh_state = OHCI_RH_RUNNING; in ohci_rh_resume()
H A Dehci-hub.c268 if (ehci->rh_state < EHCI_RH_RUNNING) in ehci_bus_suspend()
381 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_bus_resume()
383 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_bus_resume()
459 ehci->rh_state = EHCI_RH_RUNNING; in ehci_bus_resume()
H A Dohci.h401 enum ohci_rh_state rh_state; member
712 hc->rh_state = OHCI_RH_HALTED; \
H A 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()
H A Duhci-pci.c242 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
H A Dehci-fsl.c453 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_fsl_mpc512x_drv_suspend()
544 ehci->rh_state = EHCI_RH_RUNNING; in ehci_fsl_mpc512x_drv_resume()
H A Duhci-hcd.h403 enum uhci_rh_state rh_state; member
H A Dehci-sched.c674 else if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr()
695 if (ehci->rh_state < EHCI_RH_RUNNING) in start_unlink_intr_wait()
715 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr()
2373 if (ehci->rh_state >= EHCI_RH_RUNNING) { in scan_isoc()
H A Dohci-at91.c645 ohci->rh_state = OHCI_RH_HALTED; in ohci_hcd_at91_drv_suspend()
H A Dehci-dbg.c742 switch (ehci->rh_state) { in rh_state_string()
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c
H A Dfotg210-hcd.h
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c271 enum dummy_rh_state rh_state;
447 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
474 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state()
920 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_udc_update_ep0()
1911 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer()
2061 dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_hub_status()
2105 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED)
2442 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_resume()
2460 dum_hcd->rh_state = DUMMY_RH_RUNNING; in show_urb()
2545 dum_hcd->rh_state in dummy_start()
245 enum dummy_rh_state rh_state; global() member
[all...]