Searched refs:TYPEC_HOST (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/include/linux/usb/ |
| D | typec.h | 43 TYPEC_HOST, enumerator
|
| D | pd.h | 92 ((data) == TYPEC_HOST ? PD_HEADER_DATA_ROLE : 0) | \
|
| /Linux-v5.4/drivers/usb/typec/ucsi/ |
| D | ucsi.c | 501 typec_set_data_role(con->port, TYPEC_HOST); in ucsi_partner_change() 558 typec_set_data_role(con->port, TYPEC_HOST); in ucsi_connector_change() 733 role == TYPEC_HOST)) in ucsi_dr_swap() 873 typec_set_data_role(con->port, TYPEC_HOST); in ucsi_register_port()
|
| D | ucsi.h | 173 (_ctrl_).uor.role |= (_role_) == TYPEC_HOST ? UCSI_UOR_ROLE_DFP : \
|
| /Linux-v5.4/drivers/usb/typec/ |
| D | class.c | 924 [TYPEC_HOST] = "host", 1033 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show() 1565 port->data_role = TYPEC_HOST; in typec_register_port() 1572 port->data_role = TYPEC_HOST; in typec_register_port()
|
| /Linux-v5.4/drivers/usb/typec/tcpm/ |
| D | tcpm.c | 800 if (data == TYPEC_HOST) in tcpm_set_roles() 1978 (port->data_role == TYPEC_HOST)) { in tcpm_pd_rx_handler() 2630 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, TYPEC_HOST); in tcpm_src_attach() 2778 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, TYPEC_HOST); in tcpm_acc_attach() 2825 if (port->data_role == TYPEC_HOST && port->send_discover && in tcpm_check_send_discover() 3305 TYPEC_HOST); in run_state_machine() 3395 if (port->data_role == TYPEC_HOST) { in run_state_machine() 3401 TYPEC_HOST); in run_state_machine() 4353 port->data_role == TYPEC_HOST)) in tcpm_port_type_set()
|
| D | tcpci.c | 240 if (data == TYPEC_HOST) in tcpci_set_roles()
|
| D | wcove.c | 337 ret = wcove_typec_func(wcove, WCOVE_FUNC_ROLE, data == TYPEC_HOST ? in wcove_set_roles()
|
| D | fusb302.c | 878 [TYPEC_HOST] = "Host", 894 if (data == TYPEC_HOST) in tcpm_set_roles()
|
| /Linux-v5.4/Documentation/driver-api/usb/ |
| D | typec.rst | 73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.
|