Searched refs:vstate_cc2 (Results 1 – 1 of 1) sorted by relevance
186 int vstate_cc2; in ucpd_get_cc() local217 vstate_cc2 = (sr & UCPD_SR_TYPEC_VSTATE_CC2_Msk) >> in ucpd_get_cc()225 if (vstate_cc2 != STM32_UCPD_SR_VSTATE_RA) { in ucpd_get_cc()226 vstate_cc2 += 4; in ucpd_get_cc()232 if (vstate_cc2 != STM32_UCPD_SR_VSTATE_OPEN) { in ucpd_get_cc()233 vstate_cc2 = (vstate_cc2 + 1) % 3; in ucpd_get_cc()249 *cc2 = vstate_cc2; in ucpd_get_cc()