Home
last modified time | relevance | path

Searched refs:data_role (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c286 enum typec_data_role data_role; in tusb320_typec_irq_handler() local
309 data_role = TYPEC_HOST; in tusb320_typec_irq_handler()
315 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
327 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
334 data_role = TYPEC_HOST; in tusb320_typec_irq_handler()
341 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
353 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
359 typec_set_data_role(port, data_role); in tusb320_typec_irq_handler()
/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy_stub.c48 enum typec_data_role data_role) in qcom_pmic_typec_pdphy_stub_set_roles() argument
54 data_role, power_role); in qcom_pmic_typec_pdphy_stub_set_roles()
H A Dqcom_pmic_typec_pdphy.c428 enum typec_data_role data_role) in qcom_pmic_typec_pdphy_set_roles() argument
442 (data_role == TYPEC_HOST ? MSG_CONFIG_PORT_DATA_ROLE : 0) | in qcom_pmic_typec_pdphy_set_roles()
448 data_role, power_role); in qcom_pmic_typec_pdphy_set_roles()
/linux/drivers/usb/typec/
H A Dwusb3801.c252 enum typec_data_role data_role; in wusb3801_hw_update() local
284 data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE; in wusb3801_hw_update()
285 typec_set_data_role(port, data_role); in wusb3801_hw_update()
H A Drt1719.c192 enum typec_data_role data_role, in rt1719_set_data_role() argument
198 if (data_role == TYPEC_HOST) in rt1719_set_data_role()
205 typec_set_data_role(data->port, data_role); in rt1719_set_data_role()
256 enum typec_data_role data_role; in rt1719_attach() local
263 data_role = rt1719_get_data_role(data->conn_info); in rt1719_attach()
266 rt1719_set_data_role(data, data_role, true); in rt1719_attach()
H A Danx7411.c241 int data_role; member
494 ctx->typec.data_role = (ret & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_data_role_detect()
497 typec_set_data_role(ctx->typec.port, ctx->typec.data_role); in anx7411_data_role_detect()
501 if (ctx->typec.data_role == TYPEC_HOST) in anx7411_data_role_detect()
970 if (ctx->typec.data_role != ret) in anx7411_work_func()