Lines Matching refs:mask
112 uint32_t mask = BIT(irq % 32U); in wkpu_nxp_s32_enable_interrupt() local
121 reg_val |= mask; in wkpu_nxp_s32_enable_interrupt()
123 reg_val &= ~mask; in wkpu_nxp_s32_enable_interrupt()
129 reg_val |= mask; in wkpu_nxp_s32_enable_interrupt()
131 reg_val &= ~mask; in wkpu_nxp_s32_enable_interrupt()
136 REG_WRITE(WKPU_WISR(reg_idx), REG_READ(WKPU_WISR(reg_idx)) | mask); in wkpu_nxp_s32_enable_interrupt()
137 REG_WRITE(WKPU_IRER(reg_idx), REG_READ(WKPU_IRER(reg_idx)) | mask); in wkpu_nxp_s32_enable_interrupt()
143 uint32_t mask = BIT(irq % 32U); in wkpu_nxp_s32_disable_interrupt() local
149 REG_WRITE(WKPU_WIREER(reg_idx), REG_READ(WKPU_WIREER(reg_idx)) & ~mask); in wkpu_nxp_s32_disable_interrupt()
150 REG_WRITE(WKPU_WIFEER(reg_idx), REG_READ(WKPU_WIFEER(reg_idx)) & ~mask); in wkpu_nxp_s32_disable_interrupt()
153 REG_WRITE(WKPU_WISR(reg_idx), REG_READ(WKPU_WISR(reg_idx)) | mask); in wkpu_nxp_s32_disable_interrupt()
154 REG_WRITE(WKPU_IRER(reg_idx), REG_READ(WKPU_IRER(reg_idx)) & ~mask); in wkpu_nxp_s32_disable_interrupt()