Lines Matching refs:autostop
47 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop) in ohci_rh_suspend() argument
67 if (!ohci->autostop) { in ohci_rh_suspend()
73 autostop ? "auto-stop" : "suspend"); in ohci_rh_suspend()
76 if (!autostop && (ohci->hc_control & OHCI_SCHED_ENABLES)) { in ohci_rh_suspend()
86 ohci->autostop = 0; in ohci_rh_suspend()
113 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend()
130 if (!autostop) { in ohci_rh_suspend()
132 ohci->autostop = 0; in ohci_rh_suspend()
156 int autostopped = ohci->autostop; in ohci_rh_resume()
158 ohci->autostop = 0; in ohci_rh_resume()
368 if (!ohci->autostop) { in ohci_root_hub_state_changes()
375 ohci->autostop = 1; in ohci_root_hub_state_changes()
382 ohci->autostop = 0; in ohci_root_hub_state_changes()
401 if (ohci->autostop) in ohci_root_hub_state_changes()
407 } else if (!ohci->autostop && in ohci_root_hub_state_changes()