Searched refs:data_role (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/extcon/ |
| H 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()
|
| /linux/drivers/usb/typec/ |
| H 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()
|
| H 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()
|
| H A D | class.c | 85 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 932 if (to_typec_port(dev->parent)->data_role == TYPEC_HOST) { in typec_partner_set_identity() 1799 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show() 1802 return sprintf(buf, "[%s]\n", typec_data_roles[port->data_role]); in data_role_show() 1804 static DEVICE_ATTR_RW(data_role); 2199 if (port->data_role == role) in typec_set_data_role() 2202 port->data_role = role; in typec_set_data_role() 2226 return port->data_role; in typec_get_data_role() 2731 port->data_role = TYPEC_HOST; in typec_register_port() 2734 port->data_role = TYPEC_DEVICE; in typec_register_port() [all …]
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 444 enum typec_data_role data_role; member 1282 port->data_role); in tcpm_set_attached_state() 1337 port->data_role = data; in tcpm_set_roles() 1349 port->data_role); in tcpm_set_pwr_role() 1392 port->data_role, in tcpm_pd_send_revision() 1421 port->data_role, in tcpm_pd_send_source_caps() 1427 port->data_role, in tcpm_pd_send_source_caps() 1458 port->data_role, in tcpm_pd_send_sink_caps() 1464 port->data_role, in tcpm_pd_send_sink_caps() 1523 port->data_role, in tcpm_pd_send_sink_cap_ext() [all …]
|