Lines Matching refs:cpu_base
72 union gic_base cpu_base;
146 #define gic_data_cpu_base(d) __get_base(&(d)->cpu_base)
149 #define gic_data_cpu_base(d) ((d)->cpu_base.common_base)
341 void __iomem *cpu_base = gic_data_cpu_base(gic);
344 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK);
351 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI);
445 void __iomem *cpu_base = gic_data_cpu_base(gic);
453 if (gic_check_gicv2(cpu_base))
455 writel_relaxed(0, cpu_base + GIC_CPU_ACTIVEPRIO + i * 4);
460 bypass = readl(cpu_base + GIC_CPU_CTRL);
463 writel_relaxed(bypass | mode | GICC_ENABLE, cpu_base + GIC_CPU_CTRL);
532 void __iomem *cpu_base;
538 cpu_base = gic_data_cpu_base(&gic_data[gic_nr]);
539 val = readl(cpu_base + GIC_CPU_CTRL);
541 writel_relaxed(val, cpu_base + GIC_CPU_CTRL);
643 void __iomem *cpu_base;
649 cpu_base = gic_data_cpu_base(gic);
651 if (!dist_base || !cpu_base)
673 void __iomem *cpu_base;
679 cpu_base = gic_data_cpu_base(gic);
681 if (!dist_base || !cpu_base)
706 writel_relaxed(GICC_INT_PRI_THRESHOLD, cpu_base + GIC_CPU_PRIMASK);
1176 gic->cpu_base.percpu_base = alloc_percpu(void __iomem *);
1178 !gic->cpu_base.percpu_base)) {
1189 *per_cpu_ptr(gic->cpu_base.percpu_base, cpu) =
1200 gic->cpu_base.common_base = gic->raw_cpu_base;
1235 free_percpu(gic->cpu_base.percpu_base);