Lines Matching refs:ohci
72 static void start_hnp(struct ohci_hcd *ohci) in start_hnp() argument
74 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp()
83 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
96 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_reset() local
123 &ohci_to_hcd(ohci)->self); in ohci_omap_reset()
134 ohci->start_hnp = start_hnp; in ohci_omap_reset()
148 ohci->hc_control = OHCI_CTRL_RWC; in ohci_omap_reset()
149 writel(OHCI_CTRL_RWC, &ohci->regs->control); in ohci_omap_reset()
154 u32 rh = roothub_a (ohci); in ohci_omap_reset()
161 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset()
171 ohci_writel(ohci, rh, &ohci->regs->roothub.a); in ohci_omap_reset()
172 ohci->flags &= ~OHCI_QUIRK_HUB_POWER; in ohci_omap_reset()
176 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset()
363 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_suspend() local
368 if (time_before(jiffies, ohci->next_statechange)) in ohci_omap_suspend()
370 ohci->next_statechange = jiffies; in ohci_omap_suspend()
383 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_resume() local
386 if (time_before(jiffies, ohci->next_statechange)) in ohci_omap_resume()
388 ohci->next_statechange = jiffies; in ohci_omap_resume()