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()
116 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend()
133 if (!autostop) { in ohci_rh_suspend()
135 ohci->autostop = 0; in ohci_rh_suspend()
159 int autostopped = ohci->autostop; in ohci_rh_resume()
161 ohci->autostop = 0; in ohci_rh_resume()
371 if (!ohci->autostop) { in ohci_root_hub_state_changes()
378 ohci->autostop = 1; in ohci_root_hub_state_changes()
385 ohci->autostop = 0; in ohci_root_hub_state_changes()
404 if (ohci->autostop) in ohci_root_hub_state_changes()
410 } else if (!ohci->autostop && in ohci_root_hub_state_changes()