Lines Matching full:usb_phy
558 usb_remove_phy(&port->usb_phy); in tegra_xusb_port_unregister()
601 usb_phy_set_event(&port->usb_phy, to_usb_phy_event(role)); in tegra_xusb_usb_phy_work()
606 atomic_notifier_call_chain(&port->usb_phy.notifier, 0, &port->usb_phy); in tegra_xusb_usb_phy_work()
624 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_peripheral()
626 usb_phy); in tegra_xusb_set_peripheral()
636 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_host()
638 usb_phy); in tegra_xusb_set_host()
679 port->usb_phy.otg = devm_kzalloc(&port->dev, sizeof(struct usb_otg), in tegra_xusb_setup_usb_role_switch()
681 if (!port->usb_phy.otg) in tegra_xusb_setup_usb_role_switch()
690 port->usb_phy.dev = &lane->pad->lanes[port->index]->dev; in tegra_xusb_setup_usb_role_switch()
691 port->usb_phy.dev->driver = port->padctl->dev->driver; in tegra_xusb_setup_usb_role_switch()
692 port->usb_phy.otg->usb_phy = &port->usb_phy; in tegra_xusb_setup_usb_role_switch()
693 port->usb_phy.otg->set_peripheral = tegra_xusb_set_peripheral; in tegra_xusb_setup_usb_role_switch()
694 port->usb_phy.otg->set_host = tegra_xusb_set_host; in tegra_xusb_setup_usb_role_switch()
696 err = usb_add_phy_dev(&port->usb_phy); in tegra_xusb_setup_usb_role_switch()