Home
last modified time | relevance | path

Searched refs:usb_role_sw (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/phy/tegra/
Dxusb.c566 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()
738 usb_role_switch_set_role(port->usb_role_sw, role); in tegra_xusb_parse_usb_role_default_mode()
Dxusb.h285 struct usb_role_switch *usb_role_sw; member
/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi.c1119 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_partner_change()
1551 con->usb_role_sw = fwnode_usb_role_switch_get(cap->fwnode); in ucsi_register_port()
1552 if (IS_ERR(con->usb_role_sw)) in ucsi_register_port()
1553 return dev_err_probe(ucsi->dev, PTR_ERR(con->usb_role_sw), in ucsi_register_port()
1665 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_register_port()
Ducsi.h452 struct usb_role_switch *usb_role_sw; member