Home
last modified time | relevance | path

Searched refs:dist_base (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/irqchip/
Dirq-gic.c70 union gic_base dist_base; member
144 #define gic_data_dist_base(d) __get_base(&(d)->dist_base)
147 #define gic_data_dist_base(d) ((d)->dist_base.common_base)
491 void __iomem *dist_base = gic_data_dist_base(gic); in gic_cpu_init() local
521 gic_cpu_config(dist_base, 32, NULL); in gic_cpu_init()
555 void __iomem *dist_base; in gic_dist_save() local
562 dist_base = gic_data_dist_base(gic); in gic_dist_save()
564 if (!dist_base) in gic_dist_save()
569 readl_relaxed(dist_base + GIC_DIST_CONFIG + i * 4); in gic_dist_save()
573 readl_relaxed(dist_base + GIC_DIST_TARGET + i * 4); in gic_dist_save()
[all …]
Dirq-hip04.c53 void __iomem *dist_base; member
74 return hip04_data->dist_base; in hip04_dist_base()
193 writel_relaxed(map << 8 | d->hwirq, hip04_data.dist_base + GIC_DIST_SOFTINT); in hip04_ipi_send_mask()
230 void __iomem *base = intc->dist_base; in hip04_get_cpumask()
251 void __iomem *base = intc->dist_base; in hip04_irq_dist_init()
270 void __iomem *dist_base = intc->dist_base; in hip04_irq_cpu_init() local
290 gic_cpu_config(dist_base, 32, NULL); in hip04_irq_cpu_init()
360 hip04_data.dist_base = of_iomap(node, 0); in hip04_of_init()
361 WARN(!hip04_data.dist_base, "fail to map hip04 intc dist registers\n"); in hip04_of_init()
377 nr_irqs = readl_relaxed(hip04_data.dist_base + GIC_DIST_CTR) & 0x1f; in hip04_of_init()
Dirq-gic-v3.c49 void __iomem *dist_base; member
202 return gic_data.dist_base; in gic_dist_base()
227 gic_do_wait_for_rwp(gic_data.dist_base, GICD_CTLR_RWP); in gic_dist_wait_for_rwp()
348 base = gic_data.dist_base; in gic_peek_irq()
364 base = gic_data.dist_base; in gic_poke_irq()
599 base = gic_data.dist_base; in gic_set_type()
835 void __iomem *base = gic_data.dist_base; in gic_dist_init()
1047 return readl_relaxed(gic_data.dist_base + GICD_CTLR) & GICD_CTLR_DS; in gic_dist_security_disabled()
1181 !!(readl_relaxed(gic_data.dist_base + GICD_TYPER) & GICD_TYPER_LPIS) && in gic_dist_supports_lpis()
1819 static int __init gic_init_bases(void __iomem *dist_base, in gic_init_bases() argument
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/lib/aarch64/
Dgic_v3.c16 void *dist_base; member
38 while (readl(gicv3_data.dist_base + GICD_CTLR) & GICD_CTLR_RWP) { in gicv3_gicd_wait_for_rwp()
119 void *base = cpu_or_dist & DIST_BIT ? gicv3_data.dist_base in gicv3_reg_readl()
126 void *base = cpu_or_dist & DIST_BIT ? gicv3_data.dist_base in gicv3_reg_writel()
330 void *dist_base = gicv3_data.dist_base; in gicv3_dist_init() local
334 writel(0, dist_base + GICD_CTLR); in gicv3_dist_init()
342 writel(~0, dist_base + GICD_IGROUPR + i / 8); in gicv3_dist_init()
343 writel(~0, dist_base + GICD_ICACTIVER + i / 8); in gicv3_dist_init()
344 writel(~0, dist_base + GICD_ICENABLER + i / 8); in gicv3_dist_init()
350 dist_base + GICD_IPRIORITYR + i); in gicv3_dist_init()
[all …]
Dgic.c26 gic_dist_init(enum gic_type type, unsigned int nr_cpus, void *dist_base) in gic_dist_init() argument
43 gic_ops->gic_init(nr_cpus, dist_base); in gic_dist_init()
53 void *dist_base, void *redist_base) in gic_init() argument
58 GUEST_ASSERT(dist_base); in gic_init()
62 gic_dist_init(type, nr_cpus, dist_base); in gic_init()
Dgic_private.h11 void (*gic_init)(unsigned int nr_cpus, void *dist_base);
/linux-6.1.9/arch/arm/mach-ux500/
Dpm.c44 static void __iomem *dist_base; variable
96 pr = readl_relaxed(dist_base + GIC_DIST_PENDING_SET + i * 4); in prcmu_gic_pending_irq()
97 er = readl_relaxed(dist_base + GIC_DIST_ENABLE_SET + i * 4); in prcmu_gic_pending_irq()
149 er = readl_relaxed(dist_base + in prcmu_copy_gic_settings()
188 dist_base = of_iomap(np, 0); in ux500_pm_init()
190 if (!dist_base) { in ux500_pm_init()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-v2.c274 static bool vgic_v2_check_base(gpa_t dist_base, gpa_t cpu_base) in vgic_v2_check_base() argument
276 if (dist_base + KVM_VGIC_V2_DIST_SIZE < dist_base) in vgic_v2_check_base()
281 if (dist_base + KVM_VGIC_V2_DIST_SIZE <= cpu_base) in vgic_v2_check_base()
283 if (cpu_base + KVM_VGIC_V2_CPU_SIZE <= dist_base) in vgic_v2_check_base()
/linux-6.1.9/tools/testing/selftests/kvm/include/aarch64/
Dgic.h25 void *dist_base, void *redist_base);