Home
last modified time | relevance | path

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

/linux/include/linux/usb/
A Dtypec.h51 TYPEC_SINK, enumerator
/linux/drivers/usb/typec/ucsi/
A Dpsy.c37 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
/linux/drivers/usb/typec/tcpm/
A Dtcpm.c528 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \
553 if (port->try_role == TYPEC_SINK) in tcpm_default_state()
973 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()
1055 if (role == TYPEC_SINK) in tcpm_set_roles()
1104 if (role == TYPEC_SINK) in tcpm_forge_legacy_pdo()
1166 pdo = tcpm_forge_legacy_pdo(port, port->snk_pdo[i], TYPEC_SINK); in tcpm_pd_send_sink_caps()
3538 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()
4433 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
4618 tcpm_set_pwr_role(port, TYPEC_SINK); in run_state_machine()
5225 if (port->pwr_role == TYPEC_SINK && port->attached) in _tcpm_pd_vbus_off()
[all …]
A Dfusb302.c874 [TYPEC_SINK] = "Sink",
/linux/drivers/usb/typec/
A Dstusb160x.c324 return TYPEC_SINK; in stusb160x_get_vconn_role()
559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
A Dclass.c1180 [TYPEC_SINK] = "sink",
2014 port->pwr_role = TYPEC_SINK; in typec_register_port()
2015 port->vconn_role = TYPEC_SINK; in typec_register_port()
2021 port->pwr_role = TYPEC_SINK; in typec_register_port()
/linux/drivers/platform/chrome/
A Dcros_ec_typec.c590 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0()
612 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
614 TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v1()
/linux/drivers/usb/typec/tipd/
A Dcore.c381 const char *cmd = (role == TYPEC_SINK) ? "SWSk" : "SWSr"; in tps6598x_pr_set()

Completed in 36 milliseconds