Lines Matching full:usb_phy
564 usb_remove_phy(&port->usb_phy); in tegra_xusb_port_unregister()
607 usb_phy_set_event(&port->usb_phy, to_usb_phy_event(role)); in tegra_xusb_usb_phy_work()
612 atomic_notifier_call_chain(&port->usb_phy.notifier, 0, &port->usb_phy); in tegra_xusb_usb_phy_work()
630 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_peripheral()
632 usb_phy); in tegra_xusb_set_peripheral()
642 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_host()
644 usb_phy); in tegra_xusb_set_host()
686 port->usb_phy.otg = devm_kzalloc(&port->dev, sizeof(struct usb_otg), in tegra_xusb_setup_usb_role_switch()
688 if (!port->usb_phy.otg) in tegra_xusb_setup_usb_role_switch()
697 port->usb_phy.dev = &lane->pad->lanes[port->index]->dev; in tegra_xusb_setup_usb_role_switch()
698 port->usb_phy.dev->driver = port->dev.driver; in tegra_xusb_setup_usb_role_switch()
699 port->usb_phy.otg->usb_phy = &port->usb_phy; in tegra_xusb_setup_usb_role_switch()
700 port->usb_phy.otg->set_peripheral = tegra_xusb_set_peripheral; in tegra_xusb_setup_usb_role_switch()
701 port->usb_phy.otg->set_host = tegra_xusb_set_host; in tegra_xusb_setup_usb_role_switch()
703 err = usb_add_phy_dev(&port->usb_phy); in tegra_xusb_setup_usb_role_switch()