Home
last modified time | relevance | path

Searched refs:TYPEC_HOST (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/include/linux/usb/
Dtypec.h43 TYPEC_HOST, enumerator
Dpd.h92 ((data) == TYPEC_HOST ? PD_HEADER_DATA_ROLE : 0) | \
/Linux-v5.4/drivers/usb/typec/ucsi/
Ducsi.c501 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()
Ducsi.h173 (_ctrl_).uor.role |= (_role_) == TYPEC_HOST ? UCSI_UOR_ROLE_DFP : \
/Linux-v5.4/drivers/usb/typec/
Dclass.c924 [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/
Dtcpm.c800 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()
Dtcpci.c240 if (data == TYPEC_HOST) in tcpci_set_roles()
Dwcove.c337 ret = wcove_typec_func(wcove, WCOVE_FUNC_ROLE, data == TYPEC_HOST ? in wcove_set_roles()
Dfusb302.c878 [TYPEC_HOST] = "Host",
894 if (data == TYPEC_HOST) in tcpm_set_roles()
/Linux-v5.4/Documentation/driver-api/usb/
Dtypec.rst73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.