Lines Matching refs:ohci
70 static void start_hnp(struct ohci_hcd *ohci) in start_hnp() argument
72 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp()
81 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
92 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_reset() local
114 &ohci_to_hcd(ohci)->self); in ohci_omap_reset()
125 ohci->start_hnp = start_hnp; in ohci_omap_reset()
138 ohci->hc_control = OHCI_CTRL_RWC; in ohci_omap_reset()
139 writel(OHCI_CTRL_RWC, &ohci->regs->control); in ohci_omap_reset()
144 u32 rh = roothub_a (ohci); in ohci_omap_reset()
151 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset()
161 ohci_writel(ohci, rh, &ohci->regs->roothub.a); in ohci_omap_reset()
162 ohci->flags &= ~OHCI_QUIRK_HUB_POWER; in ohci_omap_reset()
166 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset()
352 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_suspend() local
357 if (time_before(jiffies, ohci->next_statechange)) in ohci_omap_suspend()
359 ohci->next_statechange = jiffies; in ohci_omap_suspend()
372 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_resume() local
375 if (time_before(jiffies, ohci->next_statechange)) in ohci_omap_resume()
377 ohci->next_statechange = jiffies; in ohci_omap_resume()