Lines Matching full:usb_phy
570 usb_remove_phy(&port->usb_phy); in tegra_xusb_port_unregister()
571 port->usb_phy.dev->driver = NULL; in tegra_xusb_port_unregister()
614 usb_phy_set_event(&port->usb_phy, to_usb_phy_event(role)); in tegra_xusb_usb_phy_work()
619 atomic_notifier_call_chain(&port->usb_phy.notifier, 0, &port->usb_phy); in tegra_xusb_usb_phy_work()
637 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_peripheral()
639 usb_phy); in tegra_xusb_set_peripheral()
649 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_host()
651 usb_phy); in tegra_xusb_set_host()
696 port->usb_phy.otg = devm_kzalloc(&port->dev, sizeof(struct usb_otg), in tegra_xusb_setup_usb_role_switch()
698 if (!port->usb_phy.otg) in tegra_xusb_setup_usb_role_switch()
709 port->usb_phy.dev = &lane->pad->lanes[port->index]->dev; in tegra_xusb_setup_usb_role_switch()
710 port->usb_phy.dev->driver = port->dev.driver; in tegra_xusb_setup_usb_role_switch()
711 port->usb_phy.otg->usb_phy = &port->usb_phy; in tegra_xusb_setup_usb_role_switch()
712 port->usb_phy.otg->set_peripheral = tegra_xusb_set_peripheral; in tegra_xusb_setup_usb_role_switch()
713 port->usb_phy.otg->set_host = tegra_xusb_set_host; in tegra_xusb_setup_usb_role_switch()
715 err = usb_add_phy_dev(&port->usb_phy); in tegra_xusb_setup_usb_role_switch()