Lines Matching defs:mask
93 u32 mask = 1 << (hip04_irq(d) % 32);
96 writel_relaxed(mask, hip04_dist_base(d) + GIC_DIST_ENABLE_CLEAR +
103 u32 mask = 1 << (hip04_irq(d) % 32);
106 writel_relaxed(mask, hip04_dist_base(d) + GIC_DIST_ENABLE_SET +
152 u32 val, mask, bit;
164 mask = 0xffff << shift;
166 val = readl_relaxed(reg) & ~mask;
175 static void hip04_ipi_send_mask(struct irq_data *d, const struct cpumask *mask)
182 /* Convert our logical CPU mask into a physical one. */
183 for_each_cpu(cpu, mask)
231 u32 mask, i;
233 for (i = mask = 0; i < 32; i += 2) {
234 mask = readl_relaxed(base + GIC_DIST_TARGET + i * 2);
235 mask |= mask >> 16;
236 if (mask)
240 if (!mask)
241 pr_crit("GIC CPU mask not found - kernel will fail to boot.\n");
243 return mask;
276 * Get what the GIC says our CPU mask is.
283 * Clear our mask from the other map entries in case they're