Lines Matching refs:hc_control

52 	ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);  in ohci_rh_suspend()
53 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_rh_suspend()
56 ohci->hc_control &= ~OHCI_CTRL_HCFS; in ohci_rh_suspend()
57 ohci->hc_control |= OHCI_USB_RESET; in ohci_rh_suspend()
58 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend()
75 if (!autostop && (ohci->hc_control & OHCI_SCHED_ENABLES)) { in ohci_rh_suspend()
76 ohci->hc_control &= ~OHCI_SCHED_ENABLES; in ohci_rh_suspend()
77 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend()
78 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
95 ohci->hc_control |= OHCI_CTRL_RWE; in ohci_rh_suspend()
99 ohci->hc_control &= ~OHCI_CTRL_RWE; in ohci_rh_suspend()
105 ohci->hc_control &= ~OHCI_CTRL_HCFS; in ohci_rh_suspend()
106 ohci->hc_control |= OHCI_USB_SUSPEND; in ohci_rh_suspend()
107 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend()
140 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
142 if (ohci->hc_control & (OHCI_CTRL_IR | OHCI_SCHED_ENABLES)) { in ohci_rh_resume()
146 ohci->hc_control); in ohci_rh_resume()
153 } else switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_rh_resume()
155 ohci->hc_control &= ~(OHCI_CTRL_HCFS|OHCI_SCHED_ENABLES); in ohci_rh_resume()
156 ohci->hc_control |= OHCI_USB_RESUME; in ohci_rh_resume()
157 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_resume()
232 temp = ohci->hc_control; in ohci_rh_resume()
235 ohci->hc_control = temp; in ohci_rh_resume()
271 ohci->hc_control |= enables; in ohci_rh_resume()
272 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_resume()
327 ohci->hc_control = ohci_readl(ohci, &ohci->regs->control); in ohci_finish_controller_resume()
328 if (ohci->hc_control & (OHCI_CTRL_IR | OHCI_SCHED_ENABLES)) { in ohci_finish_controller_resume()
331 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_finish_controller_resume()
375 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_root_hub_state_changes()
406 && !(ohci->hc_control & in ohci_root_hub_state_changes()