Home
last modified time | relevance | path

Searched refs:usb_role_switch_set_role (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/include/linux/usb/
A Drole.h52 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role);
70 static inline int usb_role_switch_set_role(struct usb_role_switch *sw, in usb_role_switch_set_role() function
/linux-6.3-rc2/drivers/usb/misc/
A Dqcom_eud.c51 return usb_role_switch_set_role(priv->role_sw, USB_ROLE_DEVICE); in enable_eud()
158 ret = usb_role_switch_set_role(chip->role_sw, USB_ROLE_DEVICE); in handle_eud_irq_thread()
160 ret = usb_role_switch_set_role(chip->role_sw, USB_ROLE_HOST); in handle_eud_irq_thread()
/linux-6.3-rc2/drivers/usb/roles/
A Dclass.c42 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role() function
61 EXPORT_SYMBOL_GPL(usb_role_switch_set_role);
254 ret = usb_role_switch_set_role(sw, ret); in role_store()
/linux-6.3-rc2/drivers/usb/typec/
A Dqcom-pmic-typec.c93 usb_role_switch_set_role(qcom_usb->role_sw, role); in qcom_pmic_typec_check_connection()
235 usb_role_switch_set_role(qcom_usb->role_sw, USB_ROLE_NONE); in qcom_pmic_typec_remove()
A Dhd3ss3220.c96 usb_role_switch_set_role(hd3ss3220->role_sw, role_val); in hd3ss3220_dr_set()
110 usb_role_switch_set_role(hd3ss3220->role_sw, role_state); in hd3ss3220_set_role()
A Dstusb160x.c340 usb_role_switch_set_role(chip->role_sw, usb_role); in stusb160x_set_data_role()
A Drt1719.c210 usb_role_switch_set_role(data->role_sw, usb_role); in rt1719_set_data_role()
A Danx7411.c480 return usb_role_switch_set_role(ctx->typec.role_sw, role); in anx7411_set_usb_role()
/linux-6.3-rc2/drivers/extcon/
A Dextcon-ptn5150.c109 ret = usb_role_switch_set_role(info->role_sw, usb_role); in ptn5150_check_state()
149 ret = usb_role_switch_set_role(info->role_sw, in ptn5150_irq_work()
A Dextcon-axp288.c194 ret = usb_role_switch_set_role(info->role_sw, role); in axp288_usb_role_work()
A Dextcon-intel-cht-wc.c338 ret = usb_role_switch_set_role(ext->role_sw, role); in cht_wc_extcon_pwrsrc_event()
/linux-6.3-rc2/drivers/misc/
A Dhisi_hikey_usb.c127 usb_role_switch_set_role(sw, role); in relay_set_role_switch()
/linux-6.3-rc2/drivers/usb/common/
A Dusb-conn-gpio.c97 ret = usb_role_switch_set_role(info->role_sw, role); in usb_conn_detect_cable()
/linux-6.3-rc2/drivers/platform/chrome/
A Dcros_ec_typec.c183 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()
579 ret = usb_role_switch_set_role(typec->ports[port_num]->role_sw, in cros_typec_configure_mux()
/linux-6.3-rc2/drivers/usb/typec/ucsi/
A Ducsi.c816 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_partner_change()
1294 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_register_port()
/linux-6.3-rc2/drivers/usb/typec/tipd/
A Dcore.c229 usb_role_switch_set_role(tps->role_sw, role_val); in tps6598x_set_data_role()
/linux-6.3-rc2/drivers/phy/tegra/
A Dxusb.c732 usb_role_switch_set_role(port->usb_role_sw, role); in tegra_xusb_parse_usb_role_default_mode()
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Drenesas_usb3.c721 usb_role_switch_set_role(usb3->role_sw, usb3->role); in renesas_usb3_role_work()
/linux-6.3-rc2/drivers/usb/typec/tcpm/
A Dtcpm.c958 ret = usb_role_switch_set_role(port->role_sw, usb_role); in tcpm_mux_set()

Completed in 58 milliseconds