Searched refs:data_role (Results 1 – 11 of 11) sorted by relevance
| /Linux-v6.6/drivers/extcon/ |
| D | extcon-usbc-tusb320.c | 285 enum typec_data_role data_role; in tusb320_typec_irq_handler() local 308 data_role = TYPEC_HOST; in tusb320_typec_irq_handler() 314 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler() 326 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler() 333 data_role = TYPEC_HOST; in tusb320_typec_irq_handler() 340 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler() 352 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler() 358 typec_set_data_role(port, data_role); in tusb320_typec_irq_handler()
|
| /Linux-v6.6/drivers/usb/typec/ |
| 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()
|
| D | rt1719.c | 198 enum typec_data_role data_role, in rt1719_set_data_role() argument 204 if (data_role == TYPEC_HOST) in rt1719_set_data_role() 211 typec_set_data_role(data->port, data_role); in rt1719_set_data_role() 262 enum typec_data_role data_role; in rt1719_attach() local 269 data_role = rt1719_get_data_role(data->conn_info); in rt1719_attach() 272 rt1719_set_data_role(data, data_role, true); in rt1719_attach()
|
| D | class.c | 83 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 1446 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show() 1449 return sprintf(buf, "[%s]\n", typec_data_roles[port->data_role]); in data_role_show() 1451 static DEVICE_ATTR_RW(data_role); 1789 if (port->data_role == role) in typec_set_data_role() 1792 port->data_role = role; in typec_set_data_role() 2234 port->data_role = TYPEC_HOST; in typec_register_port() 2237 port->data_role = TYPEC_DEVICE; in typec_register_port() 2241 port->data_role = TYPEC_HOST; in typec_register_port() 2243 port->data_role = TYPEC_DEVICE; in typec_register_port()
|
| D | class.h | 48 enum typec_data_role data_role; member
|
| 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()
|
| D | anx7411.c | 240 int data_role; member 491 ctx->typec.data_role = (ret & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_data_role_detect() 494 typec_set_data_role(ctx->typec.port, ctx->typec.data_role); in anx7411_data_role_detect() 498 if (ctx->typec.data_role == TYPEC_HOST) in anx7411_data_role_detect() 967 if (ctx->typec.data_role != ret) in anx7411_work_func()
|
| /Linux-v6.6/drivers/usb/typec/tcpm/qcom/ |
| D | qcom_pmic_typec.c | 122 enum typec_data_role data_role) in qcom_pmic_typec_set_roles() argument 127 data_role, power_role); in qcom_pmic_typec_set_roles()
|
| /Linux-v6.6/drivers/usb/typec/tcpm/ |
| D | tcpm.c | 313 enum typec_data_role data_role; member 1041 port->data_role); in tcpm_set_attached_state() 1090 port->data_role = data; in tcpm_set_roles() 1102 port->data_role); in tcpm_set_pwr_role() 1156 port->data_role, in tcpm_pd_send_source_caps() 1162 port->data_role, in tcpm_pd_send_source_caps() 1193 port->data_role, in tcpm_pd_send_sink_caps() 1199 port->data_role, in tcpm_pd_send_sink_caps() 1640 if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) && in tcpm_pd_svdm() 2051 port->data_role, in vdm_run_state_machine() [all …]
|
| /Linux-v6.6/Documentation/ABI/testing/ |
| D | sysfs-class-typec | 3 What: /sys/class/typec/<port>/data_role
|
| /Linux-v6.6/include/linux/platform_data/ |
| D | cros_ec_commands.h | 5881 uint8_t data_role; /* enum pd_data_role */ member
|