Searched refs:data_role (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/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 | 84 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 1428 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show() 1431 return sprintf(buf, "[%s]\n", typec_data_roles[port->data_role]); in data_role_show() 1433 static DEVICE_ATTR_RW(data_role); 1771 if (port->data_role == role) in typec_set_data_role() 1774 port->data_role = role; in typec_set_data_role() 2206 port->data_role = TYPEC_HOST; in typec_register_port() 2209 port->data_role = TYPEC_DEVICE; in typec_register_port() 2213 port->data_role = TYPEC_HOST; in typec_register_port() 2215 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-6.1.9/drivers/usb/typec/tcpm/ |
D | tcpm.c | 311 enum typec_data_role data_role; member 1032 port->data_role); in tcpm_set_attached_state() 1081 port->data_role = data; in tcpm_set_roles() 1093 port->data_role); in tcpm_set_pwr_role() 1147 port->data_role, in tcpm_pd_send_source_caps() 1153 port->data_role, in tcpm_pd_send_source_caps() 1184 port->data_role, in tcpm_pd_send_sink_caps() 1190 port->data_role, in tcpm_pd_send_sink_caps() 1609 if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) && in tcpm_pd_svdm() 2020 port->data_role, in vdm_run_state_machine() [all …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-typec | 3 What: /sys/class/typec/<port>/data_role
|
/linux-6.1.9/include/linux/platform_data/ |
D | cros_ec_commands.h | 5850 uint8_t data_role; /* enum pd_data_role */ member
|