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