Lines Matching refs:base
17 * associated CPU. The base address of the CPU interface is usually
176 void __init gic_dist_init(unsigned int gic_nr, void __iomem *base,
188 gic_data[gic_nr].dist_base = base;
191 writel(0, base + GIC_DIST_CTRL);
196 max_irq = readl(base + GIC_DIST_CTR) & 0x1f;
211 writel(0, base + GIC_DIST_CONFIG + i * 4 / 16);
217 writel(cpumask, base + GIC_DIST_TARGET + i * 4 / 4);
223 writel(0xa0a0a0a0, base + GIC_DIST_PRI + i * 4 / 4);
229 writel(0xffffffff, base + GIC_DIST_ENABLE_CLEAR + i * 4 / 32);
241 writel(1, base + GIC_DIST_CTRL);
244 void __cpuinit gic_cpu_init(unsigned int gic_nr, void __iomem *base)
249 gic_data[gic_nr].cpu_base = base;
251 writel(0xf0, base + GIC_CPU_PRIMASK);
252 writel(1, base + GIC_CPU_CTRL);