Lines Matching refs:sr
188 uint32_t sr; in ucpd_get_cc() local
210 sr = LL_UCPD_ReadReg(config->ucpd_port, SR); in ucpd_get_cc()
214 vstate_cc1 = (sr & UCPD_SR_TYPEC_VSTATE_CC1_Msk) >> in ucpd_get_cc()
217 vstate_cc2 = (sr & UCPD_SR_TYPEC_VSTATE_CC2_Msk) >> in ucpd_get_cc()
1087 uint32_t sr; in ucpd_isr() local
1140 sr = LL_UCPD_ReadReg(config->ucpd_port, SR); in ucpd_isr()
1143 if (sr & (UCPD_SR_TYPECEVT1 | UCPD_SR_TYPECEVT2)) { in ucpd_isr()
1154 if (sr & tx_done_mask) { in ucpd_isr()
1156 if (sr & UCPD_SR_TXMSGSENT) { in ucpd_isr()
1158 } else if (sr & (UCPD_SR_TXMSGABT | UCPD_SR_TXUND)) { in ucpd_isr()
1160 } else if (sr & (UCPD_SR_TXMSGDISC | UCPD_SR_HRSTDISC)) { in ucpd_isr()
1162 } else if (sr & UCPD_SR_HRSTSENT) { in ucpd_isr()
1164 } else if (sr & UCPD_SR_HRSTDISC) { in ucpd_isr()
1173 if (sr & UCPD_SR_TXIS) { in ucpd_isr()
1179 if (sr & UCPD_SR_RXORDDET) { in ucpd_isr()
1188 if (sr & UCPD_SR_RXNE) { in ucpd_isr()
1193 if (sr & UCPD_SR_RXMSGEND) { in ucpd_isr()
1196 if (!(sr & UCPD_SR_RXERR)) { in ucpd_isr()
1237 if (sr & UCPD_SR_RXHRSTDET) { in ucpd_isr()
1243 LL_UCPD_WriteReg(config->ucpd_port, ICR, sr & UCPD_ICR_ALL_INT_MASK); in ucpd_isr()