Searched refs:data_role (Results 1 – 11 of 11) sorted by relevance
| /drivers/extcon/ |
| A D | extcon-usbc-tusb320.c | 286 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()
|
| /drivers/usb/typec/tcpm/qcom/ |
| A D | qcom_pmic_typec_pdphy_stub.c | 49 enum typec_data_role data_role) in qcom_pmic_typec_pdphy_stub_set_roles() argument 55 data_role, power_role); in qcom_pmic_typec_pdphy_stub_set_roles()
|
| A D | qcom_pmic_typec_pdphy.c | 429 enum typec_data_role data_role) in qcom_pmic_typec_pdphy_set_roles() argument 443 (data_role == TYPEC_HOST ? MSG_CONFIG_PORT_DATA_ROLE : 0) | in qcom_pmic_typec_pdphy_set_roles() 449 data_role, power_role); in qcom_pmic_typec_pdphy_set_roles()
|
| /drivers/usb/typec/ |
| A D | wusb3801.c | 252 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()
|
| A D | rt1719.c | 192 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()
|
| A D | class.c | 85 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 838 if (to_typec_port(dev->parent)->data_role == TYPEC_HOST) { in typec_partner_set_identity() 1705 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show() 1708 return sprintf(buf, "[%s]\n", typec_data_roles[port->data_role]); in data_role_show() 1710 static DEVICE_ATTR_RW(data_role); 2105 if (port->data_role == role) in typec_set_data_role() 2108 port->data_role = role; in typec_set_data_role() 2617 port->data_role = TYPEC_HOST; in typec_register_port() 2620 port->data_role = TYPEC_DEVICE; in typec_register_port() 2624 port->data_role = TYPEC_HOST; in typec_register_port() [all …]
|
| A D | class.h | 55 enum typec_data_role data_role; member
|
| A D | stusb160x.c | 328 enum typec_data_role data_role, in stusb160x_set_data_role() argument 334 if (data_role == TYPEC_HOST) in stusb160x_set_data_role() 341 typec_set_data_role(chip->port, data_role); in stusb160x_set_data_role()
|
| A D | anx7411.c | 241 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()
|
| /drivers/usb/typec/tcpm/ |
| A D | tcpm.c | 1221 port->data_role = data; in tcpm_set_roles() 1233 port->data_role); in tcpm_set_pwr_role() 1276 port->data_role, in tcpm_pd_send_revision() 1305 port->data_role, in tcpm_pd_send_source_caps() 1311 port->data_role, in tcpm_pd_send_source_caps() 1342 port->data_role, in tcpm_pd_send_sink_caps() 1348 port->data_role, in tcpm_pd_send_sink_caps() 3820 port->data_role, in tcpm_pd_send_control() 3828 port->data_role, in tcpm_pd_send_control() 4212 port->data_role, in tcpm_pd_send_request() [all …]
|
| /drivers/usb/typec/tipd/ |
| A D | core.c | 1245 const char *data_role; in tps25750_register_port() local 1253 ret = fwnode_property_read_string(fwnode, "data-role", &data_role); in tps25750_register_port() 1259 ret = typec_find_port_data_role(data_role); in tps25750_register_port() 1261 dev_err(tps->dev, "unknown data-role: %s\n", data_role); in tps25750_register_port()
|
Completed in 42 milliseconds