Lines Matching full:omap
3 * ehci-omap.c - driver for USBHOST on OMAP3/4 processors
35 #include <linux/platform_data/usb-omap.h>
48 #define DRIVER_DESC "OMAP-EHCI Host Controller driver"
50 static const char hcd_name[] = "ehci-omap";
91 struct omap_hcd *omap; in ehci_hcd_omap_probe() local
142 omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv; in ehci_hcd_omap_probe()
143 omap->nports = pdata->nports; in ehci_hcd_omap_probe()
148 for (i = 0 ; i < omap->nports ; i++) { in ehci_hcd_omap_probe()
166 omap->phy[i] = phy; in ehci_hcd_omap_probe()
169 usb_phy_init(omap->phy[i]); in ehci_hcd_omap_probe()
171 usb_phy_set_suspend(omap->phy[i], 0); in ehci_hcd_omap_probe()
203 for (i = 0; i < omap->nports; i++) { in ehci_hcd_omap_probe()
204 if (!omap->phy[i] || in ehci_hcd_omap_probe()
208 usb_phy_init(omap->phy[i]); in ehci_hcd_omap_probe()
210 usb_phy_set_suspend(omap->phy[i], 0); in ehci_hcd_omap_probe()
220 for (i = 0; i < omap->nports; i++) { in ehci_hcd_omap_probe()
221 if (omap->phy[i]) in ehci_hcd_omap_probe()
222 usb_phy_shutdown(omap->phy[i]); in ehci_hcd_omap_probe()
243 struct omap_hcd *omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv; in ehci_hcd_omap_remove() local
248 for (i = 0; i < omap->nports; i++) { in ehci_hcd_omap_remove()
249 if (omap->phy[i]) in ehci_hcd_omap_remove()
250 usb_phy_shutdown(omap->phy[i]); in ehci_hcd_omap_remove()
259 { .compatible = "ti,ehci-omap" },
295 MODULE_ALIAS("platform:ehci-omap");