Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Dclass.h50 enum typec_role vconn_role; member
H A Dclass.c1620 port->vconn_role == TYPEC_SOURCE ? "yes" : "no"); in vconn_source_show()
1846 if (port->vconn_role == role) in typec_set_vconn_role()
1849 port->vconn_role = role; in typec_set_vconn_role()
2230 port->vconn_role = TYPEC_SOURCE; in typec_register_port()
2234 port->vconn_role = TYPEC_SINK; in typec_register_port()
H A Danx7411.c242 int vconn_role; member
492 ctx->typec.vconn_role = (ret & VCONN_STATUS) ? TYPEC_SOURCE : TYPEC_SINK; in anx7411_data_role_detect()
496 typec_set_vconn_role(ctx->typec.port, ctx->typec.vconn_role); in anx7411_data_role_detect()
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c311 enum typec_role vconn_role; member
990 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()
991 typec_set_vconn_role(port->typec_port, port->vconn_role); in tcpm_set_vconn()
3380 port->vconn_role == TYPEC_SOURCE ? "source" : "sink", in tcpm_pd_build_request()
3476 port->vconn_role == TYPEC_SOURCE ? "source" : "sink", in tcpm_pd_build_pps_request()
3577 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()
4800 if (port->vconn_role == TYPEC_SOURCE) in run_state_machine()
5771 if (role == port->vconn_role) { in tcpm_vconn_set()
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h5882 uint8_t vconn_role; /* enum pd_vconn_role */ member