Searched refs:try_role (Results 1 – 4 of 4) sorted by relevance
144 int (*try_role)(struct tcpc_dev *dev, int role); member
202 int (*try_role)(const struct typec_capability *, member
232 int try_role; member369 ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \373 ((port)->try_src_count == 0 && (port)->try_role == TYPEC_SOURCE && \379 if (port->try_role == TYPEC_SINK) in tcpm_default_state()381 else if (port->try_role == TYPEC_SOURCE) in tcpm_default_state()4009 if (port->try_role == TYPEC_NO_PREFERRED_ROLE || in tcpm_dr_set()4010 port->try_role == port->pwr_role) { in tcpm_dr_set()4132 if (tcpc->try_role) in tcpm_try_role()4133 ret = tcpc->try_role(tcpc, role); in tcpm_try_role()4135 port->try_role = role; in tcpm_try_role()[all …]
958 if (!port->cap->try_role) { in preferred_role_store()971 ret = port->cap->try_role(port->cap, role); in preferred_role_store()