Lines Matching refs:otg
595 [USB_DR_MODE_OTG] = "otg",
645 static int tegra_xusb_set_peripheral(struct usb_otg *otg,
648 struct tegra_xusb_port *port = container_of(otg->usb_phy,
658 static int tegra_xusb_set_host(struct usb_otg *otg, struct usb_bus *host)
660 struct tegra_xusb_port *port = container_of(otg->usb_phy,
705 port->usb_phy.otg = devm_kzalloc_obj(&port->dev, struct usb_otg);
706 if (!port->usb_phy.otg)
719 port->usb_phy.otg->usb_phy = &port->usb_phy;
720 port->usb_phy.otg->set_peripheral = tegra_xusb_set_peripheral;
721 port->usb_phy.otg->set_host = tegra_xusb_set_host;