Lines Matching full:ohci

3  * OHCI HCD (Host Controller Driver) for USB.
12 * Based on the 2.4 OMAP OHCI driver originally done by MontaVista Software Inc.
13 * and on ohci-sa1111.c by Christopher Hoover <ch@hpl.hp.com>
37 #include "ohci.h"
42 #define DRIVER_DESC "OHCI OMAP driver"
51 static const char hcd_name[] = "ohci-omap";
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()
230 gpiod_set_consumer_name(priv->power, "OHCI power"); in ohci_hcd_omap_probe()
244 gpiod_set_consumer_name(priv->overcurrent, "OHCI overcurrent"); in ohci_hcd_omap_probe()
278 dev_err(&pdev->dev, "can't ioremap OHCI HCD\n"); in ohci_hcd_omap_probe()
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()
400 .name = "ohci",
405 .product_desc = "OMAP OHCI",
427 MODULE_ALIAS("platform:ohci");