Lines Matching refs:autostop
46 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop)
66 if (!ohci->autostop) {
72 autostop ? "auto-stop" : "suspend");
75 if (!autostop && (ohci->hc_control & OHCI_SCHED_ENABLES)) {
85 ohci->autostop = 0;
94 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) {
111 if (!autostop) {
113 ohci->autostop = 0;
136 int autostopped = ohci->autostop;
138 ohci->autostop = 0;
311 /* poll until we know a device is connected or we autostop */
365 /* Carry out polling-, autostop-, and autoresume-related state changes */
388 * and RHSC is enabled, or until we autostop.
390 if (!ohci->autostop) {
397 ohci->autostop = 1;
401 /* if no devices have been attached for one second, autostop */
404 ohci->autostop = 0;
423 if (ohci->autostop)
429 } else if (!ohci->autostop &&
460 * autostop isn't used when CONFIG_PM is turned off.
528 /* can't autostop if ports are connected */