Searched refs:data_role (Results 1 – 6 of 6) sorted by relevance
286 enum typec_data_role data_role; in tusb320_typec_irq_handler() local309 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()
48 enum typec_data_role data_role) in qcom_pmic_typec_pdphy_stub_set_roles() argument54 data_role, power_role); in qcom_pmic_typec_pdphy_stub_set_roles()
428 enum typec_data_role data_role) in qcom_pmic_typec_pdphy_set_roles() argument442 (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()
252 enum typec_data_role data_role; in wusb3801_hw_update() local284 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()
192 enum typec_data_role data_role, in rt1719_set_data_role() argument198 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() local263 data_role = rt1719_get_data_role(data->conn_info); in rt1719_attach()266 rt1719_set_data_role(data, data_role, true); in rt1719_attach()
241 int data_role; member494 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()