Searched refs:TYPEC_DEVICE (Results 1 – 13 of 13) sorted by relevance
48 TYPEC_DEVICE, enumerator
116 typec_set_data_role(hd3ss3220->port, TYPEC_DEVICE); in hd3ss3220_set_role()
284 data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE; in wusb3801_hw_update()
194 return TYPEC_DEVICE; in rt1719_get_data_role()298 rt1719_set_data_role(data, TYPEC_DEVICE, false); in rt1719_detach()
1318 [TYPEC_DEVICE] = "device",2209 port->data_role = TYPEC_DEVICE; in typec_register_port()2215 port->data_role = TYPEC_DEVICE; in typec_register_port()
491 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()
724 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()
297 TYPEC_HOST : TYPEC_DEVICE); in tusb320_typec_irq_handler()
545 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()
879 [TYPEC_DEVICE] = "Device",
353 const char *cmd = (role == TYPEC_DEVICE) ? "SWUF" : "SWDF"; in tps6598x_dr_set()
73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.
711 TYPEC_HOST : TYPEC_DEVICE); in cros_typec_set_port_params_v1()