Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/extcon/
Dextcon-usbc-tusb320.c314 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
326 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
340 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
352 data_role = TYPEC_DEVICE; in tusb320_typec_irq_handler()
/Linux-v6.6/include/linux/usb/
Dtypec.h49 TYPEC_DEVICE, enumerator
/Linux-v6.6/drivers/usb/typec/
Dhd3ss3220.c120 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.c1336 [TYPEC_DEVICE] = "device",
2237 port->data_role = TYPEC_DEVICE; in typec_register_port()
2243 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-v6.6/drivers/usb/typec/ucsi/
Ducsi.c812 typec_set_data_role(con->port, TYPEC_DEVICE); in ucsi_partner_change()
1056 role == TYPEC_DEVICE) || in ucsi_dr_swap()
1295 typec_set_data_role(con->port, TYPEC_DEVICE); in ucsi_register_port()
/Linux-v6.6/drivers/usb/typec/tcpm/
Dtcpm.c554 TYPEC_DEVICE : TYPEC_HOST)
558 TYPEC_HOST : TYPEC_DEVICE)
1071 if (data == TYPEC_DEVICE) { in tcpm_set_roles()
1640 if ((port->data_role == TYPEC_DEVICE || svdm_version >= SVDM_VER_2_0) && in tcpm_pd_svdm()
4604 if (port->data_role == TYPEC_DEVICE || port->negotiated_rev > PD_REV20) in run_state_machine()
4611 if (port->data_role == TYPEC_DEVICE || port->negotiated_rev > PD_REV20) in run_state_machine()
4625 TYPEC_DEVICE); in run_state_machine()
5583 if (port->data_role == TYPEC_DEVICE && port->negotiated_rev < PD_REV30) { in tcpm_send_discover_work()
6020 port->data_role == TYPEC_DEVICE)) in tcpm_port_type_set()
Dfusb302.c879 [TYPEC_DEVICE] = "Device",
/Linux-v6.6/drivers/usb/typec/tipd/
Dcore.c350 const char *cmd = (role == TYPEC_DEVICE) ? "SWUF" : "SWDF"; in tps6598x_dr_set()
/Linux-v6.6/Documentation/driver-api/usb/
Dtypec.rst73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.
/Linux-v6.6/drivers/platform/chrome/
Dcros_ec_typec.c681 TYPEC_HOST : TYPEC_DEVICE); in cros_typec_set_port_params_v1()