Lines Matching refs:autostop
46 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop) in ohci_rh_suspend() argument
66 if (!ohci->autostop) { in ohci_rh_suspend()
72 autostop ? "auto-stop" : "suspend"); in ohci_rh_suspend()
75 if (!autostop && (ohci->hc_control & OHCI_SCHED_ENABLES)) { in ohci_rh_suspend()
85 ohci->autostop = 0; in ohci_rh_suspend()
112 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend()
129 if (!autostop) { in ohci_rh_suspend()
131 ohci->autostop = 0; in ohci_rh_suspend()
155 int autostopped = ohci->autostop; in ohci_rh_resume()
157 ohci->autostop = 0; in ohci_rh_resume()
365 if (!ohci->autostop) { in ohci_root_hub_state_changes()
372 ohci->autostop = 1; in ohci_root_hub_state_changes()
379 ohci->autostop = 0; in ohci_root_hub_state_changes()
398 if (ohci->autostop) in ohci_root_hub_state_changes()
404 } else if (!ohci->autostop && in ohci_root_hub_state_changes()