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