Lines Matching refs:ohci
164 static void start_hnp(struct ohci_hcd *ohci) in start_hnp() argument
166 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp()
175 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
188 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_reset() local
215 &ohci_to_hcd(ohci)->self); in ohci_omap_reset()
226 ohci->start_hnp = start_hnp; in ohci_omap_reset()
242 ohci->hc_control = OHCI_CTRL_RWC; in ohci_omap_reset()
243 writel(OHCI_CTRL_RWC, &ohci->regs->control); in ohci_omap_reset()
248 u32 rh = roothub_a (ohci); in ohci_omap_reset()
255 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset()
265 ohci_writel(ohci, rh, &ohci->regs->roothub.a); in ohci_omap_reset()
266 ohci->flags &= ~OHCI_QUIRK_HUB_POWER; in ohci_omap_reset()
270 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset()
436 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_suspend() local
441 if (time_before(jiffies, ohci->next_statechange)) in ohci_omap_suspend()
443 ohci->next_statechange = jiffies; in ohci_omap_suspend()
456 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_resume() local
459 if (time_before(jiffies, ohci->next_statechange)) in ohci_omap_resume()
461 ohci->next_statechange = jiffies; in ohci_omap_resume()