Searched refs:vconn_role (Results 1 – 5 of 5) sorted by relevance
50 enum typec_role vconn_role; member
1620 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()
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()
311 enum typec_role vconn_role; member990 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()
5882 uint8_t vconn_role; /* enum pd_vconn_role */ member