Lines Matching full:otg
32 * phy as being SR70LX Synopsys USB 2.0 OTG nanoPHY. It also seems at
62 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in dm816x_usb_phy_set_host() argument
64 otg->host = host; in dm816x_usb_phy_set_host()
66 otg->state = OTG_STATE_UNDEFINED; in dm816x_usb_phy_set_host()
71 static int dm816x_usb_phy_set_peripheral(struct usb_otg *otg, in dm816x_usb_phy_set_peripheral() argument
74 otg->gadget = gadget; in dm816x_usb_phy_set_peripheral()
76 otg->state = OTG_STATE_UNDEFINED; in dm816x_usb_phy_set_peripheral()
189 struct usb_otg *otg; in dm816x_usb_phy_probe() local
221 otg = devm_kzalloc(&pdev->dev, sizeof(*otg), GFP_KERNEL); in dm816x_usb_phy_probe()
222 if (!otg) in dm816x_usb_phy_probe()
228 phy->phy.otg = otg; in dm816x_usb_phy_probe()
230 otg->set_host = dm816x_usb_phy_set_host; in dm816x_usb_phy_probe()
231 otg->set_peripheral = dm816x_usb_phy_set_peripheral; in dm816x_usb_phy_probe()
232 otg->usb_phy = &phy->phy; in dm816x_usb_phy_probe()