Searched refs:usb_role_sw (Results 1 – 5 of 5) sorted by relevance
566 if (!IS_ERR_OR_NULL(port->usb_role_sw)) { in tegra_xusb_port_unregister()568 usb_role_switch_unregister(port->usb_role_sw); in tegra_xusb_port_unregister()612 enum usb_role role = usb_role_switch_get_role(port->usb_role_sw); in tegra_xusb_usb_phy_work()684 port->usb_role_sw = usb_role_switch_register(&port->dev, in tegra_xusb_setup_usb_role_switch()686 if (IS_ERR(port->usb_role_sw)) { in tegra_xusb_setup_usb_role_switch()687 err = PTR_ERR(port->usb_role_sw); in tegra_xusb_setup_usb_role_switch()694 usb_role_switch_set_drvdata(port->usb_role_sw, port); in tegra_xusb_setup_usb_role_switch()736 usb_role_switch_set_role(port->usb_role_sw, role); in tegra_xusb_parse_usb_role_default_mode()
285 struct usb_role_switch *usb_role_sw; member
847 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_partner_change()1218 con->usb_role_sw = fwnode_usb_role_switch_get(cap->fwnode); in ucsi_register_port()1219 if (IS_ERR(con->usb_role_sw)) in ucsi_register_port()1220 return dev_err_probe(ucsi->dev, PTR_ERR(con->usb_role_sw), in ucsi_register_port()1354 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_register_port()
374 struct usb_role_switch *usb_role_sw; member
333 usb_role_sw: endpoint {