Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/irqchip/
Dirq-gic.c73 union gic_base dist_base; member
143 return data->get_base(&data->dist_base); in gic_data_dist_base()
157 #define gic_data_dist_base(d) ((d)->dist_base.common_base)
503 void __iomem *dist_base = gic_data_dist_base(gic); in gic_cpu_init() local
533 gic_cpu_config(dist_base, NULL); in gic_cpu_init()
567 void __iomem *dist_base; in gic_dist_save() local
574 dist_base = gic_data_dist_base(gic); in gic_dist_save()
576 if (!dist_base) in gic_dist_save()
581 readl_relaxed(dist_base + GIC_DIST_CONFIG + i * 4); in gic_dist_save()
585 readl_relaxed(dist_base + GIC_DIST_TARGET + i * 4); in gic_dist_save()
[all …]
Dirq-hip04.c56 void __iomem *dist_base; member
77 return hip04_data->dist_base; in hip04_dist_base()
214 void __iomem *base = intc->dist_base; in hip04_get_cpumask()
235 void __iomem *base = intc->dist_base; in hip04_irq_dist_init()
254 void __iomem *dist_base = intc->dist_base; in hip04_irq_cpu_init() local
274 gic_cpu_config(dist_base, NULL); in hip04_irq_cpu_init()
299 writel_relaxed(map << 8 | irq, hip04_data.dist_base + GIC_DIST_SOFTINT); in hip04_raise_softirq()
368 hip04_data.dist_base = of_iomap(node, 0); in hip04_of_init()
369 WARN(!hip04_data.dist_base, "fail to map hip04 intc dist registers\n"); in hip04_of_init()
385 nr_irqs = readl_relaxed(hip04_data.dist_base + GIC_DIST_CTR) & 0x1f; in hip04_of_init()
Dirq-gic-v3.c52 void __iomem *dist_base; member
93 return gic_data.dist_base; in gic_dist_base()
116 gic_do_wait_for_rwp(gic_data.dist_base, GICD_CTLR_RWP); in gic_dist_wait_for_rwp()
181 base = gic_data.dist_base; in gic_peek_irq()
196 base = gic_data.dist_base; in gic_poke_irq()
319 base = gic_data.dist_base; in gic_set_type()
399 void __iomem *base = gic_data.dist_base; in gic_dist_init()
656 return !!(readl_relaxed(gic_data.dist_base + GICD_TYPER) & GICD_TYPER_LPIS) && !gicv3_nolpi; in gic_dist_supports_lpis()
825 return readl_relaxed(gic_data.dist_base + GICD_CTLR) & GICD_CTLR_DS; in gic_dist_security_disabled()
1071 static int __init gic_init_bases(void __iomem *dist_base, in gic_init_bases() argument
[all …]
/linux-4.19.296/virt/kvm/arm/vgic/
Dvgic-v2.c300 static bool vgic_v2_check_base(gpa_t dist_base, gpa_t cpu_base) in vgic_v2_check_base() argument
302 if (dist_base + KVM_VGIC_V2_DIST_SIZE < dist_base) in vgic_v2_check_base()
307 if (dist_base + KVM_VGIC_V2_DIST_SIZE <= cpu_base) in vgic_v2_check_base()
309 if (cpu_base + KVM_VGIC_V2_CPU_SIZE <= dist_base) in vgic_v2_check_base()