Lines Matching refs:autostop
47 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop)
67 if (!ohci->autostop) {
73 autostop ? "auto-stop" : "suspend");
76 if (!autostop && (ohci->hc_control & OHCI_SCHED_ENABLES)) {
86 ohci->autostop = 0;
116 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) {
133 if (!autostop) {
135 ohci->autostop = 0;
159 int autostopped = ohci->autostop;
161 ohci->autostop = 0;
340 /* poll until we know a device is connected or we autostop */
346 /* Carry out polling-, autostop-, and autoresume-related state changes */
369 * and RHSC is enabled, or until we autostop.
371 if (!ohci->autostop) {
378 ohci->autostop = 1;
382 /* if no devices have been attached for one second, autostop */
385 ohci->autostop = 0;
404 if (ohci->autostop)
410 } else if (!ohci->autostop &&
441 * autostop isn't used when CONFIG_PM is turned off.
508 /* can't autostop if ports are connected */