Lines Matching refs:ohci
176 static void start_hnp(struct ohci_hcd *ohci) in start_hnp() argument
178 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp()
187 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
200 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_reset() local
226 &ohci_to_hcd(ohci)->self); in ohci_omap_reset()
237 ohci->start_hnp = start_hnp; in ohci_omap_reset()
253 ohci->hc_control = OHCI_CTRL_RWC; in ohci_omap_reset()
254 writel(OHCI_CTRL_RWC, &ohci->regs->control); in ohci_omap_reset()
259 u32 rh = roothub_a (ohci); in ohci_omap_reset()
266 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset()
278 ohci_writel(ohci, rh, &ohci->regs->roothub.a); in ohci_omap_reset()
279 ohci->flags &= ~OHCI_QUIRK_HUB_POWER; in ohci_omap_reset()
283 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset()
438 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_suspend() local
442 if (time_before(jiffies, ohci->next_statechange)) in ohci_omap_suspend()
444 ohci->next_statechange = jiffies; in ohci_omap_suspend()
457 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()