Lines Matching refs:cpu_base
71 union gic_base cpu_base;
145 #define gic_data_cpu_base(d) __get_base(&(d)->cpu_base)
148 #define gic_data_cpu_base(d) ((d)->cpu_base.common_base)
340 void __iomem *cpu_base = gic_data_cpu_base(gic);
343 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK);
350 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI);
450 void __iomem *cpu_base = gic_data_cpu_base(gic);
458 if (gic_check_gicv2(cpu_base))
460 writel_relaxed(0, cpu_base + GIC_CPU_ACTIVEPRIO + i * 4);
465 bypass = readl(cpu_base + GIC_CPU_CTRL);
468 writel_relaxed(bypass | mode | GICC_ENABLE, cpu_base + GIC_CPU_CTRL);
537 void __iomem *cpu_base;
543 cpu_base = gic_data_cpu_base(&gic_data[gic_nr]);
544 val = readl(cpu_base + GIC_CPU_CTRL);
546 writel_relaxed(val, cpu_base + GIC_CPU_CTRL);
648 void __iomem *cpu_base;
654 cpu_base = gic_data_cpu_base(gic);
656 if (!dist_base || !cpu_base)
678 void __iomem *cpu_base;
684 cpu_base = gic_data_cpu_base(gic);
686 if (!dist_base || !cpu_base)
711 writel_relaxed(GICC_INT_PRI_THRESHOLD, cpu_base + GIC_CPU_PRIMASK);
1175 gic->cpu_base.percpu_base = alloc_percpu(void __iomem *);
1177 !gic->cpu_base.percpu_base)) {
1188 *per_cpu_ptr(gic->cpu_base.percpu_base, cpu) =
1199 gic->cpu_base.common_base = gic->raw_cpu_base;
1255 free_percpu(gic->cpu_base.percpu_base);
1301 void __init gic_init(void __iomem *dist_base, void __iomem *cpu_base)
1313 gic->raw_cpu_base = cpu_base;