Home
last modified time | relevance | path

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

/linux-6.15/drivers/extcon/
H A Dextcon-usbc-tusb320.c309 data_role = TYPEC_HOST; in tusb320_typec_irq_handler()
334 data_role = TYPEC_HOST; in tusb320_typec_irq_handler()
H A Dextcon-rtk-type-c.c350 typec_set_data_role(type_c->port, TYPEC_HOST); in switch_type_c_dr_mode()
710 if (role == TYPEC_HOST) in type_c_port_dr_set()
/linux-6.15/include/linux/usb/
H A Dtypec.h51 TYPEC_HOST, enumerator
H A Dpd.h97 ((data) == TYPEC_HOST ? PD_HEADER_DATA_ROLE : 0) | \
/linux-6.15/drivers/usb/typec/
H A Dclass.c85 if (port->data_role == TYPEC_HOST) in get_pd_product_type()
838 if (to_typec_port(dev->parent)->data_role == TYPEC_HOST) { in typec_partner_set_identity()
1596 [TYPEC_HOST] = "host",
1705 return sprintf(buf, "%s\n", port->data_role == TYPEC_HOST ? in data_role_show()
2617 port->data_role = TYPEC_HOST; in typec_register_port()
2624 port->data_role = TYPEC_HOST; in typec_register_port()
H A Dwusb3801.c284 data_role = pwr_role == TYPEC_SOURCE ? TYPEC_HOST : TYPEC_DEVICE; in wusb3801_hw_update()
H A Dhd3ss3220.c207 typec_set_data_role(hd3ss3220->port, TYPEC_HOST); in hd3ss3220_set_role()
H A Drt1719.c187 return TYPEC_HOST; in rt1719_get_data_role()
198 if (data_role == TYPEC_HOST) in rt1719_set_data_role()
H A Danx7411.c494 ctx->typec.data_role = (ret & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_data_role_detect()
501 if (ctx->typec.data_role == TYPEC_HOST) in anx7411_data_role_detect()
969 ret = (int_status & DATA_ROLE) ? TYPEC_HOST : TYPEC_DEVICE; in anx7411_work_func()
H A Dstusb160x.c334 if (data_role == TYPEC_HOST) in stusb160x_set_data_role()
/linux-6.15/drivers/usb/typec/ucsi/
H A Ducsi.h168 #define UCSI_SET_UOR_ROLE(_r_) (((_r_) == TYPEC_HOST ? 1 : 2) << 23)
H A Ducsi.c1119 typec_set_data_role(con->port, TYPEC_HOST); in ucsi_partner_change()
1455 role == TYPEC_HOST)) in ucsi_dr_swap()
1661 typec_set_data_role(con->port, TYPEC_HOST); in ucsi_register_port()
/linux-6.15/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy.c443 (data_role == TYPEC_HOST ? MSG_CONFIG_PORT_DATA_ROLE : 0) | in qcom_pmic_typec_pdphy_set_roles()
/linux-6.15/drivers/usb/typec/tcpm/
H A Dtcpm.c643 TYPEC_DEVICE : TYPEC_HOST)
647 TYPEC_HOST : TYPEC_DEVICE)
1167 if (data == TYPEC_HOST) in tcpm_set_roles()
1172 if (data == TYPEC_HOST) { in tcpm_set_roles()
1883 return port->data_role == TYPEC_HOST; in tcpm_can_communicate_sop_prime()
1904 if ((port->negotiated_rev == PD_REV20 && port->data_role == TYPEC_HOST) || in tcpm_attempt_vconn_swap_discovery()
3708 (port->data_role == TYPEC_HOST) && rx_sop_type == TCPC_TX_SOP) { in tcpm_pd_rx_handler()
5484 if (port->data_role == TYPEC_HOST) in run_state_machine()
5489 TYPEC_HOST); in run_state_machine()
6942 port->data_role == TYPEC_HOST)) in tcpm_port_type_set()
H A Dwcove.c337 ret = wcove_typec_func(wcove, WCOVE_FUNC_ROLE, data == TYPEC_HOST ? in wcove_set_roles()
H A Dfusb302.c880 [TYPEC_HOST] = "Host",
896 if (data == TYPEC_HOST) in tcpm_set_roles()
H A Dtcpci.c467 if (data == TYPEC_HOST) in tcpci_set_roles()
/linux-6.15/Documentation/driver-api/usb/
H A Dtypec.rst73 TYPEC_DEVICE, and with Try.SRC the value must be TYPEC_HOST.
/linux-6.15/drivers/platform/chrome/
H A Dcros_ec_typec.c773 TYPEC_HOST : TYPEC_DEVICE); in cros_typec_set_port_params_v1()
/linux-6.15/drivers/usb/typec/tipd/
H A Dcore.c257 if (role == TYPEC_HOST) in tps6598x_set_data_role()