Lines Matching refs:mask
136 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_set_priority() local
143 sys_write32(mask, ICENABLER(base, idx)); in arm_gic_irq_set_priority()
171 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_enable() local
185 sys_write32(mask, ISENABLER(GET_DIST_BASE(intid), idx)); in arm_gic_irq_enable()
196 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_disable() local
199 sys_write32(mask, ICENABLER(GET_DIST_BASE(intid), idx)); in arm_gic_irq_disable()
211 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_is_enabled() local
217 return (val & mask) != 0; in arm_gic_irq_is_enabled()
222 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_is_pending() local
228 return (val & mask) != 0; in arm_gic_irq_is_pending()
233 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_set_pending() local
236 sys_write32(mask, ISPENDR(GET_DIST_BASE(intid), idx)); in arm_gic_irq_set_pending()
241 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_clear_pending() local
244 sys_write32(mask, ICPENDR(GET_DIST_BASE(intid), idx)); in arm_gic_irq_clear_pending()
556 uint64_t mask = BIT64_MASK(8); in arm_gic_aff_matching() local
558 return (gicr_aff & mask) == (aff & mask); in arm_gic_aff_matching()