Lines Matching refs:mask
103 uint32_t mask; in sam0_eic_acquire() local
115 mask = BIT(line_index); in sam0_eic_acquire()
176 EIC->INTFLAG.reg = mask; in sam0_eic_acquire()
210 uint32_t mask; in sam0_eic_release() local
221 mask = BIT(line_index); in sam0_eic_release()
245 EIC->INTENCLR.reg = mask; in sam0_eic_release()
246 EIC->INTFLAG.reg = mask; in sam0_eic_release()
257 uint32_t mask; in sam0_eic_enable_interrupt() local
269 mask = BIT(line_index); in sam0_eic_enable_interrupt()
270 EIC->INTFLAG.reg = mask; in sam0_eic_enable_interrupt()
271 EIC->INTENSET.reg = mask; in sam0_eic_enable_interrupt()
278 uint32_t mask; in sam0_eic_disable_interrupt() local
290 mask = BIT(line_index); in sam0_eic_disable_interrupt()
291 EIC->INTENCLR.reg = mask; in sam0_eic_disable_interrupt()
292 EIC->INTFLAG.reg = mask; in sam0_eic_disable_interrupt()
303 uint32_t mask = 0; in sam0_eic_interrupt_pending() local
320 mask |= BIT(line_assignment->pin); in sam0_eic_interrupt_pending()
323 return mask; in sam0_eic_interrupt_pending()