Searched refs:TYPEC_HOST (Results 1 – 18 of 18) sorted by relevance
/Linux-v6.6/drivers/usb/typec/ |
D | hd3ss3220.c | 85 if (role == TYPEC_HOST) { in hd3ss3220_dr_set() 117 typec_set_data_role(hd3ss3220->port, TYPEC_HOST); in hd3ss3220_set_role()
|
D | class.c | 83 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 1337 [TYPEC_HOST] = "host", 1446 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show() 2234 port->data_role = TYPEC_HOST; in typec_register_port() 2241 port->data_role = TYPEC_HOST; in typec_register_port()
|
D | wusb3801.c | 284 data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE; in wusb3801_hw_update()
|
D | rt1719.c | 193 return TYPEC_HOST; in rt1719_get_data_role() 204 if (data_role == TYPEC_HOST) in rt1719_set_data_role()
|
D | anx7411.c | 491 ctx->typec.data_role = (ret & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_data_role_detect() 498 if (ctx->typec.data_role == TYPEC_HOST) in anx7411_data_role_detect() 966 ret = (int_status & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_work_func()
|
D | stusb160x.c | 334 if (data_role == TYPEC_HOST) in stusb160x_set_data_role()
|
/Linux-v6.6/drivers/extcon/ |
D | extcon-usbc-tusb320.c | 308 data_role = TYPEC_HOST; in tusb320_typec_irq_handler() 333 data_role = TYPEC_HOST; in tusb320_typec_irq_handler()
|
/Linux-v6.6/include/linux/usb/ |
D | typec.h | 50 TYPEC_HOST, enumerator
|
D | pd.h | 93 ((data) == TYPEC_HOST ? PD_HEADER_DATA_ROLE : 0) | \
|
/Linux-v6.6/drivers/usb/typec/ucsi/ |
D | ucsi.h | 118 #define UCSI_SET_UOR_ROLE(_r_) (((_r_) == TYPEC_HOST ? 1 : 2) << 23)
|
D | ucsi.c | 808 typec_set_data_role(con->port, TYPEC_HOST); in ucsi_partner_change() 1058 role == TYPEC_HOST)) in ucsi_dr_swap() 1291 typec_set_data_role(con->port, TYPEC_HOST); in ucsi_register_port()
|
/Linux-v6.6/drivers/usb/typec/tcpm/ |
D | tcpm.c | 554 TYPEC_DEVICE : TYPEC_HOST) 558 TYPEC_HOST : TYPEC_DEVICE) 1057 if (data == TYPEC_HOST) in tcpm_set_roles() 1062 if (data == TYPEC_HOST) { in tcpm_set_roles() 2996 (port->data_role == TYPEC_HOST)) { in tcpm_pd_rx_handler() 4623 if (port->data_role == TYPEC_HOST) in run_state_machine() 4628 TYPEC_HOST); in run_state_machine() 6024 port->data_role == TYPEC_HOST)) in tcpm_port_type_set()
|
D | wcove.c | 337 ret = wcove_typec_func(wcove, WCOVE_FUNC_ROLE, data == TYPEC_HOST ? in wcove_set_roles()
|
D | fusb302.c | 880 [TYPEC_HOST] = "Host", 896 if (data == TYPEC_HOST) in tcpm_set_roles()
|
D | tcpci.c | 433 if (data == TYPEC_HOST) in tcpci_set_roles()
|
/Linux-v6.6/drivers/usb/typec/tipd/ |
D | core.c | 214 if (role == TYPEC_HOST) in tps6598x_set_data_role()
|
/Linux-v6.6/Documentation/driver-api/usb/ |
D | typec.rst | 73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.
|
/Linux-v6.6/drivers/platform/chrome/ |
D | cros_ec_typec.c | 681 TYPEC_HOST : TYPEC_DEVICE); in cros_typec_set_port_params_v1()
|