Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/
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.1.9/drivers/usb/misc/
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.1.9/drivers/usb/roles/
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.1.9/drivers/usb/typec/
Dhd3ss3220.c92 usb_role_switch_set_role(hd3ss3220->role_sw, role_val); in hd3ss3220_dr_set()
106 usb_role_switch_set_role(hd3ss3220->role_sw, role_state); in hd3ss3220_set_role()
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()
Dstusb160x.c340 usb_role_switch_set_role(chip->role_sw, usb_role); in stusb160x_set_data_role()
Drt1719.c210 usb_role_switch_set_role(data->role_sw, usb_role); in rt1719_set_data_role()
Danx7411.c480 return usb_role_switch_set_role(ctx->typec.role_sw, role); in anx7411_set_usb_role()
/linux-6.1.9/drivers/extcon/
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()
Dextcon-axp288.c194 ret = usb_role_switch_set_role(info->role_sw, role); in axp288_usb_role_work()
Dextcon-intel-cht-wc.c338 ret = usb_role_switch_set_role(ext->role_sw, role); in cht_wc_extcon_pwrsrc_event()
/linux-6.1.9/drivers/misc/
Dhisi_hikey_usb.c127 usb_role_switch_set_role(sw, role); in relay_set_role_switch()
/linux-6.1.9/drivers/usb/common/
Dusb-conn-gpio.c97 ret = usb_role_switch_set_role(info->role_sw, role); in usb_conn_detect_cable()
/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi.c734 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_partner_change()
1170 ret = usb_role_switch_set_role(con->usb_role_sw, u_role); in ucsi_register_port()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c247 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()
635 ret = usb_role_switch_set_role(typec->ports[port_num]->role_sw, in cros_typec_configure_mux()
/linux-6.1.9/drivers/usb/typec/tipd/
Dcore.c227 usb_role_switch_set_role(tps->role_sw, role_val); in tps6598x_set_data_role()
/linux-6.1.9/drivers/usb/gadget/udc/
Drenesas_usb3.c679 usb_role_switch_set_role(usb3->role_sw, usb3->role); in renesas_usb3_role_work()
/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpm.c949 ret = usb_role_switch_set_role(port->role_sw, usb_role); in tcpm_mux_set()