Lines Matching defs:otg
13 #include <linux/usb/otg.h>
37 struct usb_phy *otg;
177 ehci_mv->otg = devm_usb_get_phy(&pdev->dev, USB_PHY_TYPE_USB2);
178 if (IS_ERR(ehci_mv->otg)) {
179 retval = PTR_ERR(ehci_mv->otg);
190 retval = otg_set_host(ehci_mv->otg->otg, &hcd->self);
197 /* otg will enable clock before use as host */
246 if (!IS_ERR_OR_NULL(ehci_mv->otg))
247 otg_set_host(ehci_mv->otg->otg, NULL);