Searched refs:vstate_cc1 (Results 1 – 1 of 1) sorted by relevance
185 int vstate_cc1; in ucpd_get_cc() local214 vstate_cc1 = (sr & UCPD_SR_TYPEC_VSTATE_CC1_Msk) >> in ucpd_get_cc()222 if (vstate_cc1 != STM32_UCPD_SR_VSTATE_RA) { in ucpd_get_cc()223 vstate_cc1 += 4; in ucpd_get_cc()229 if (vstate_cc1 != STM32_UCPD_SR_VSTATE_OPEN) { in ucpd_get_cc()230 vstate_cc1 = (vstate_cc1 + 1) % 3; in ucpd_get_cc()242 *cc1 = vstate_cc1; in ucpd_get_cc()