Searched refs:vconn_role (Results 1 – 5 of 5) sorted by relevance
50 enum typec_role vconn_role; member
1591 port->vconn_role == TYPEC_SOURCE ? "yes" : "no"); in vconn_source_show()1817 if (port->vconn_role == role) in typec_set_vconn_role()1820 port->vconn_role = role; in typec_set_vconn_role()2190 port->vconn_role = TYPEC_SOURCE; in typec_register_port()2194 port->vconn_role = TYPEC_SINK; in typec_register_port()
242 int vconn_role; member492 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()
309 enum typec_role vconn_role; member981 port->vconn_role = enable ? TYPEC_SOURCE : TYPEC_SINK; in tcpm_set_vconn()982 typec_set_vconn_role(port->typec_port, port->vconn_role); in tcpm_set_vconn()3383 port->vconn_role == TYPEC_SOURCE ? "source" : "sink", in tcpm_pd_build_request()3495 port->vconn_role == TYPEC_SOURCE ? "source" : "sink", in tcpm_pd_build_pps_request()3596 port->vconn_role = TYPEC_SINK; in tcpm_init_vconn()4749 if (port->vconn_role == TYPEC_SOURCE) in run_state_machine()5672 if (role == port->vconn_role) { in tcpm_vconn_set()
5851 uint8_t vconn_role; /* enum pd_vconn_role */ member