Home
last modified time | relevance | path

Searched refs:TYPEC_DEVICE (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/include/linux/usb/
Dtypec.h48 TYPEC_DEVICE, enumerator
/linux-6.1.9/drivers/usb/typec/
Dhd3ss3220.c116 typec_set_data_role(hd3ss3220->port, TYPEC_DEVICE); in hd3ss3220_set_role()
Dwusb3801.c284 data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE; in wusb3801_hw_update()
Drt1719.c194 return TYPEC_DEVICE; in rt1719_get_data_role()
298 rt1719_set_data_role(data, TYPEC_DEVICE, false); in rt1719_detach()
Dclass.c1318 [TYPEC_DEVICE] = "device",
2209 port->data_role = TYPEC_DEVICE; in typec_register_port()
2215 port->data_role = TYPEC_DEVICE; in typec_register_port()
Danx7411.c491 ctx->typec.data_role = (ret & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_data_role_detect()
966 ret = (int_status & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_work_func()
/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi.c724 typec_set_data_role(con->port, TYPEC_DEVICE); in ucsi_partner_change()
948 role == TYPEC_DEVICE) || in ucsi_dr_swap()
1151 typec_set_data_role(con->port, TYPEC_DEVICE); in ucsi_register_port()
/linux-6.1.9/drivers/extcon/
Dextcon-usbc-tusb320.c297 TYPEC_HOST : TYPEC_DEVICE); in tusb320_typec_irq_handler()
/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpm.c545 TYPEC_DEVICE : TYPEC_HOST)
549 TYPEC_HOST : TYPEC_DEVICE)
1062 if (data == TYPEC_DEVICE) { in tcpm_set_roles()
1609 if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) && in tcpm_pd_svdm()
4579 if (port->data_role == TYPEC_DEVICE || port->negotiated_rev > PD_REV20) in run_state_machine()
4586 if (port->data_role == TYPEC_DEVICE || port->negotiated_rev > PD_REV20) in run_state_machine()
4600 TYPEC_DEVICE); in run_state_machine()
5520 if (port->data_role == TYPEC_DEVICE && port->negotiated_rev < PD_REV30) { in tcpm_send_discover_work()
5963 port->data_role == TYPEC_DEVICE)) in tcpm_port_type_set()
Dfusb302.c879 [TYPEC_DEVICE] = "Device",
/linux-6.1.9/drivers/usb/typec/tipd/
Dcore.c353 const char *cmd = (role == TYPEC_DEVICE) ? "SWUF" : "SWDF"; in tps6598x_dr_set()
/linux-6.1.9/Documentation/driver-api/usb/
Dtypec.rst73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c711 TYPEC_HOST : TYPEC_DEVICE); in cros_typec_set_port_params_v1()