Searched refs:usb_role_switch_set_role (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/include/linux/usb/ |
D | role.h | 52 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/ |
D | qcom_eud.c | 51 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/ |
D | class.c | 42 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/ |
D | hd3ss3220.c | 92 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()
|
D | qcom-pmic-typec.c | 93 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()
|
D | stusb160x.c | 340 usb_role_switch_set_role(chip->role_sw, usb_role); in stusb160x_set_data_role()
|
D | rt1719.c | 210 usb_role_switch_set_role(data->role_sw, usb_role); in rt1719_set_data_role()
|
D | anx7411.c | 480 return usb_role_switch_set_role(ctx->typec.role_sw, role); in anx7411_set_usb_role()
|
/linux-6.1.9/drivers/extcon/ |
D | extcon-ptn5150.c | 109 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()
|
D | extcon-axp288.c | 194 ret = usb_role_switch_set_role(info->role_sw, role); in axp288_usb_role_work()
|
D | extcon-intel-cht-wc.c | 338 ret = usb_role_switch_set_role(ext->role_sw, role); in cht_wc_extcon_pwrsrc_event()
|
/linux-6.1.9/drivers/misc/ |
D | hisi_hikey_usb.c | 127 usb_role_switch_set_role(sw, role); in relay_set_role_switch()
|
/linux-6.1.9/drivers/usb/common/ |
D | usb-conn-gpio.c | 97 ret = usb_role_switch_set_role(info->role_sw, role); in usb_conn_detect_cable()
|
/linux-6.1.9/drivers/usb/typec/ucsi/ |
D | ucsi.c | 734 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/ |
D | cros_ec_typec.c | 247 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/ |
D | core.c | 227 usb_role_switch_set_role(tps->role_sw, role_val); in tps6598x_set_data_role()
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | renesas_usb3.c | 679 usb_role_switch_set_role(usb3->role_sw, usb3->role); in renesas_usb3_role_work()
|
/linux-6.1.9/drivers/usb/typec/tcpm/ |
D | tcpm.c | 949 ret = usb_role_switch_set_role(port->role_sw, usb_role); in tcpm_mux_set()
|