Searched refs:data_role (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/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 | 82 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 1295 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show() 1298 return sprintf(buf, "[%s]\n", typec_data_roles[port->data_role]); in data_role_show() 1300 static DEVICE_ATTR_RW(data_role); 1636 if (port->data_role == role) in typec_set_data_role() 1639 port->data_role = role; in typec_set_data_role() 2071 port->data_role = TYPEC_HOST; in typec_register_port() 2074 port->data_role = TYPEC_DEVICE; in typec_register_port() 2078 port->data_role = TYPEC_HOST; in typec_register_port() 2080 port->data_role = TYPEC_DEVICE; in typec_register_port()
|
D | class.h | 44 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()
|
/linux-5.19.10/drivers/usb/typec/tcpm/ |
D | tcpm.c | 311 enum typec_data_role data_role; member 1024 port->data_role); in tcpm_set_attached_state() 1073 port->data_role = data; in tcpm_set_roles() 1085 port->data_role); in tcpm_set_pwr_role() 1139 port->data_role, in tcpm_pd_send_source_caps() 1145 port->data_role, in tcpm_pd_send_source_caps() 1176 port->data_role, in tcpm_pd_send_sink_caps() 1182 port->data_role, in tcpm_pd_send_sink_caps() 1601 if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) && in tcpm_pd_svdm() 2012 port->data_role, in vdm_run_state_machine() [all …]
|
/linux-5.19.10/Documentation/ABI/testing/ |
D | sysfs-class-typec | 3 What: /sys/class/typec/<port>/data_role
|
/linux-5.19.10/include/linux/platform_data/ |
D | cros_ec_commands.h | 5830 uint8_t data_role; /* enum pd_data_role */ member
|