Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/host/
Duhci-debug.c256 char *rh_state; in uhci_show_root_hub_state() local
262 switch (uhci->rh_state) { in uhci_show_root_hub_state()
264 rh_state = "reset"; break; in uhci_show_root_hub_state()
266 rh_state = "suspended"; break; in uhci_show_root_hub_state()
268 rh_state = "auto-stopped"; break; in uhci_show_root_hub_state()
270 rh_state = "resuming"; break; in uhci_show_root_hub_state()
272 rh_state = "suspending"; break; in uhci_show_root_hub_state()
274 rh_state = "running"; break; in uhci_show_root_hub_state()
276 rh_state = "running, no devs"; break; in uhci_show_root_hub_state()
278 rh_state = "?"; break; in uhci_show_root_hub_state()
[all …]
Duhci-hcd.c140 uhci->rh_state = UHCI_RH_RESET; in finish_reset()
334 uhci->rh_state = UHCI_RH_SUSPENDING; in suspend_rh()
346 uhci->rh_state = new_state; in suspend_rh()
373 uhci->rh_state = UHCI_RH_RUNNING; in start_rh()
383 uhci->rh_state == UHCI_RH_AUTO_STOPPED ? in wakeup_rh()
390 if (uhci->rh_state == UHCI_RH_SUSPENDED) { in wakeup_rh()
395 uhci->rh_state = UHCI_RH_RESUMING; in wakeup_rh()
441 if (uhci->rh_state >= UHCI_RH_RUNNING) { in uhci_irq()
805 if (uhci->rh_state > UHCI_RH_SUSPENDED) { in uhci_pci_suspend()
858 if (uhci->rh_state == UHCI_RH_RESET) in uhci_pci_resume()
Duhci-hub.c199 switch (uhci->rh_state) { in uhci_hub_status_data()
216 uhci->rh_state = UHCI_RH_RUNNING_NODEVS; in uhci_hub_status_data()
224 uhci->rh_state = UHCI_RH_RUNNING; in uhci_hub_status_data()
Duhci-hcd.h396 enum uhci_rh_state rh_state; member
/linux-2.6.39/drivers/usb/gadget/
Ddummy_hcd.c176 enum dummy_rh_state rh_state; member
286 dum->rh_state != DUMMY_RH_SUSPENDED) in set_link_state()
674 dum->rh_state != DUMMY_RH_SUSPENDED) in dummy_wakeup()
1023 if (!rc && dum->rh_state != DUMMY_RH_RUNNING && in dummy_urb_dequeue()
1390 else if (dum->rh_state != DUMMY_RH_RUNNING) in dummy_timer()
1540 } else if (dum->rh_state == DUMMY_RH_RUNNING) { in dummy_timer()
1580 if (dum->rh_state == DUMMY_RH_SUSPENDED) in dummy_hub_status()
1748 dum->rh_state = DUMMY_RH_SUSPENDED; in dummy_bus_suspend()
1766 dum->rh_state = DUMMY_RH_RUNNING; in dummy_bus_resume()
1842 dum->rh_state = DUMMY_RH_RUNNING; in dummy_start()
[all …]