Searched refs:TYPEC_DEVICE (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/drivers/extcon/ |
| H A D | extcon-usbc-tusb320.c | 315 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler() 327 data_role = TYPEC_DEVICE; 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()
|
| H A D | extcon-rtk-type-c.c | 354 typec_set_data_role(type_c->port, TYPEC_DEVICE); in switch_type_c_dr_mode() 712 else if (role == TYPEC_DEVICE) in type_c_port_dr_set()
|
| /linux-6.15/include/linux/usb/ |
| H A D | typec.h | 50 TYPEC_DEVICE, enumerator
|
| /linux-6.15/drivers/usb/typec/ |
| H A D | wusb3801.c | 284 data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE; in wusb3801_hw_update()
|
| H A D | hd3ss3220.c | 210 typec_set_data_role(hd3ss3220->port, TYPEC_DEVICE); in hd3ss3220_set_role()
|
| H A D | rt1719.c | 188 return TYPEC_DEVICE; in rt1719_get_data_role() 292 rt1719_set_data_role(data, TYPEC_DEVICE, false); in rt1719_detach()
|
| H A D | anx7411.c | 494 ctx->typec.data_role = (ret & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_data_role_detect() 969 ret = (int_status & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_work_func()
|
| H A D | class.c | 1595 [TYPEC_DEVICE] = "device", 2620 port->data_role = TYPEC_DEVICE; in typec_register_port() 2626 port->data_role = TYPEC_DEVICE; in typec_register_port()
|
| /linux-6.15/drivers/usb/typec/ucsi/ |
| H A D | ucsi.c | 1123 typec_set_data_role(con->port, TYPEC_DEVICE); in ucsi_partner_change() 1453 role == TYPEC_DEVICE) || in ucsi_dr_swap() 1665 typec_set_data_role(con->port, TYPEC_DEVICE); in ucsi_register_port()
|
| /linux-6.15/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 643 TYPEC_DEVICE : TYPEC_HOST) 647 TYPEC_HOST : TYPEC_DEVICE) 1181 if (data == TYPEC_DEVICE) { in tcpm_set_roles() 2010 if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) && in tcpm_pd_svdm() 5460 if (port->data_role == TYPEC_DEVICE || port->negotiated_rev > PD_REV20) { in run_state_machine() 5469 if (port->data_role == TYPEC_DEVICE || port->negotiated_rev > PD_REV20) { in run_state_machine() 5486 TYPEC_DEVICE); in run_state_machine() 6499 if (port->data_role == TYPEC_DEVICE && port->negotiated_rev < PD_REV30) { in tcpm_send_discover_work() 6938 port->data_role == TYPEC_DEVICE)) in tcpm_port_type_set()
|
| H A D | fusb302.c | 879 [TYPEC_DEVICE] = "Device",
|
| /linux-6.15/Documentation/driver-api/usb/ |
| H A D | typec.rst | 73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.
|
| /linux-6.15/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 773 TYPEC_HOST : TYPEC_DEVICE); in cros_typec_set_port_params_v1()
|
| /linux-6.15/drivers/usb/typec/tipd/ |
| H A D | core.c | 404 const char *cmd = (role == TYPEC_DEVICE) ? "SWUF" : "SWDF"; in tps6598x_dr_set()
|