Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/usb/
Dtypec.h47 TYPEC_SINK, enumerator
/Linux-v4.19/drivers/usb/typec/
Dclass.c912 [TYPEC_SINK] = "sink",
1561 port->pwr_role = TYPEC_SINK; in typec_register_port()
1562 port->vconn_role = TYPEC_SINK; in typec_register_port()
1568 port->pwr_role = TYPEC_SINK; in typec_register_port()
Dtcpm.c364 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \
374 if (port->try_role == TYPEC_SINK) in tcpm_default_state()
378 else if (port->tcpc->config->default_role == TYPEC_SINK) in tcpm_default_state()
691 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()
1566 if (port->pwr_role != TYPEC_SINK) in tcpm_pd_data_request()
2574 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()
2732 ret = tcpm_set_roles(port, true, TYPEC_SINK, TYPEC_DEVICE); in tcpm_snk_attach()
3273 tcpm_set_roles(port, false, TYPEC_SINK, TYPEC_DEVICE); in run_state_machine()
3396 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine()
3837 if (port->pwr_role == TYPEC_SINK && in _tcpm_pd_vbus_off()
[all …]
Dtps6598x.c315 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()
Dtypec_wcove.c600 .default_role = TYPEC_SINK,
/Linux-v4.19/drivers/usb/typec/fusb302/
Dfusb302.c951 [TYPEC_SINK] = "Sink",
1191 .default_role = TYPEC_SINK,