Home
last modified time | relevance | path

Searched refs:TYPEC_SINK (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/include/linux/usb/
Dtypec.h47 TYPEC_SINK, enumerator
/Linux-v5.4/drivers/usb/typec/
Dclass.c918 [TYPEC_SINK] = "sink",
1552 port->pwr_role = TYPEC_SINK; in typec_register_port()
1553 port->vconn_role = TYPEC_SINK; in typec_register_port()
1559 port->pwr_role = TYPEC_SINK; in typec_register_port()
Dtps6598x.c345 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
/Linux-v5.4/drivers/usb/typec/tcpm/
Dtcpm.c369 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \
379 if (port->try_role == TYPEC_SINK) in tcpm_default_state()
384 port->tcpc->config->default_role == TYPEC_SINK) in tcpm_default_state()
702 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()
1587 if (port->pwr_role != TYPEC_SINK) in tcpm_pd_data_request()
2594 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()
2752 ret = tcpm_set_roles(port, true, TYPEC_SINK, TYPEC_DEVICE); in tcpm_snk_attach()
3319 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
3449 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine()
3890 if (port->pwr_role == TYPEC_SINK && in _tcpm_pd_vbus_off()
[all …]
Dfusb302.c872 [TYPEC_SINK] = "Sink",