Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
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()
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 in uhci_show_root_hub_state()
[all...]
H A Dohci-hcd.c219 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_enqueue()
334 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_urb_dequeue()
366 if (ohci->rh_state != OHCI_RH_RUNNING) { in ohci_endpoint_disable()
415 ohci->rh_state = OHCI_RH_HALTED; in ohci_usb_reset()
435 ohci->rh_state = OHCI_RH_HALTED; in _ohci_shutdown()
466 ohci->rh_state = OHCI_RH_HALTED; in ohci_init()
551 ohci->rh_state = OHCI_RH_HALTED; in ohci_run()
664 ohci->rh_state = OHCI_RH_RUNNING; in ohci_run()
833 if (ohci->rh_state == OHCI_RH_RUNNING) { in io_watchdog_func()
894 ohci->rh_state 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;
371 uhci->rh_state = new_state;
406 uhci->rh_state = UHCI_RH_RUNNING; in start_rh()
416 uhci->rh_state == UHCI_RH_AUTO_STOPPED ?
423 if (uhci->rh_state == UHCI_RH_SUSPENDED) {
428 uhci->rh_state = UHCI_RH_RESUMING;
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 Dehci-hcd.c243 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset()
276 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce()
340 ehci->rh_state = EHCI_RH_HALTED; in ehci_silence_controller()
370 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown()
631 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run()
746 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq()
804 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq()
852 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq()
1203 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
H A Dehci-q.c150 && ehci->rh_state == EHCI_RH_RUNNING) in ehci_clear_tt_buffer_complete()
415 && ehci->rh_state >= EHCI_RH_RUNNING)) { in qh_completions()
423 if (ehci->rh_state < EHCI_RH_RUNNING) { in qh_completions()
1279 if (unlikely(ehci->rh_state < EHCI_RH_RUNNING)) { in start_iaa_cycle()
1283 } else if (ehci->rh_state == EHCI_RH_RUNNING && in start_iaa_cycle()
1328 if (ehci->rh_state < EHCI_RH_RUNNING) in end_unlink_async()
1415 ehci->rh_state == EHCI_RH_RUNNING) in end_unlink_async()
1523 if (check_unlinks_later && ehci->rh_state == EHCI_RH_RUNNING && in scan_async()
H A Dfotg210-hcd.c624 switch (fotg210->rh_state) { in rh_state_string()
940 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_reset()
963 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_quiesce()
1073 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_ASS()
1121 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_PSS()
1179 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_handle_controller_death()
1191 bool stopped = (fotg210->rh_state < FOTG210_RH_RUNNING); in fotg210_handle_intr_unlinks()
1238 if (fotg210->rh_state < FOTG210_RH_RUNNING) in end_free_itds()
1256 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_iaa_watchdog()
1301 if (fotg210->rh_state ! in turn_on_io_watchdog()
[all...]
H A Dohci-hub.c136 ohci->rh_state = OHCI_RH_SUSPENDED;
166 if (ohci->rh_state != OHCI_RH_RUNNING) {
300 ohci->rh_state = OHCI_RH_RUNNING;
H A Dohci.h401 enum ohci_rh_state rh_state; member
712 hc->rh_state = OHCI_RH_HALTED; \
H A Duhci-pci.c241 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
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()
/kernel/linux/linux-6.6/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()
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()
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 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()
831 if (ohci->rh_state == OHCI_RH_RUNNING) { in io_watchdog_func()
892 ohci->rh_state 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;
371 uhci->rh_state = new_state;
406 uhci->rh_state = UHCI_RH_RUNNING; in start_rh()
416 uhci->rh_state == UHCI_RH_AUTO_STOPPED ?
423 if (uhci->rh_state == UHCI_RH_SUSPENDED) {
428 uhci->rh_state = UHCI_RH_RESUMING;
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 Dehci-hcd.c244 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset()
277 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce()
341 ehci->rh_state = EHCI_RH_HALTED; in ehci_silence_controller()
371 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown()
632 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run()
740 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq()
802 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq()
850 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq()
1224 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
H A Dehci-q.c151 && ehci->rh_state == EHCI_RH_RUNNING) in ehci_clear_tt_buffer_complete()
416 && ehci->rh_state >= EHCI_RH_RUNNING)) { in qh_completions()
424 if (ehci->rh_state < EHCI_RH_RUNNING) { in qh_completions()
1280 if (unlikely(ehci->rh_state < EHCI_RH_RUNNING)) { in start_iaa_cycle()
1284 } else if (ehci->rh_state == EHCI_RH_RUNNING && in start_iaa_cycle()
1329 if (ehci->rh_state < EHCI_RH_RUNNING) in end_unlink_async()
1416 ehci->rh_state == EHCI_RH_RUNNING) in end_unlink_async()
1524 if (check_unlinks_later && ehci->rh_state == EHCI_RH_RUNNING && in scan_async()
H A Dohci-hub.c136 ohci->rh_state = OHCI_RH_SUSPENDED;
166 if (ohci->rh_state != OHCI_RH_RUNNING) {
300 ohci->rh_state = OHCI_RH_RUNNING;
H A Dohci.h401 enum ohci_rh_state rh_state; member
712 hc->rh_state = OHCI_RH_HALTED; \
H A Duhci-pci.c242 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
/kernel/linux/linux-6.6/drivers/usb/fotg210/
H A Dfotg210-hcd.c623 switch (fotg210->rh_state) { in rh_state_string()
940 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_reset()
963 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_quiesce()
1073 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_ASS()
1121 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_poll_PSS()
1179 fotg210->rh_state = FOTG210_RH_HALTED; in fotg210_handle_controller_death()
1191 bool stopped = (fotg210->rh_state < FOTG210_RH_RUNNING); in fotg210_handle_intr_unlinks()
1238 if (fotg210->rh_state < FOTG210_RH_RUNNING) in end_free_itds()
1256 if (fotg210->rh_state != FOTG210_RH_RUNNING) in fotg210_iaa_watchdog()
1301 if (fotg210->rh_state ! in turn_on_io_watchdog()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Ddummy_hcd.c242 enum dummy_rh_state rh_state; member
395 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
422 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
859 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup()
1313 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue()
1832 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer()
1983 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer()
2023 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status()
2356 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend()
2374 dum_hcd->rh_state in dummy_bus_resume()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Ddummy_hcd.c242 enum dummy_rh_state rh_state; member
395 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
422 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in set_link_state_by_speed()
862 dum_hcd->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup()
1324 if (!rc && dum_hcd->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue()
1845 else if (dum_hcd->rh_state != DUMMY_RH_RUNNING) in dummy_timer()
1996 } else if (dum_hcd->rh_state == DUMMY_RH_RUNNING) { in dummy_timer()
2036 if (dum_hcd->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status()
2369 dum_hcd->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend()
2387 dum_hcd->rh_state in dummy_bus_resume()
[all...]

Completed in 38 milliseconds

12