Lines Matching refs:dist_base

49 	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
1835 gic_data.dist_base = dist_base; in gic_init_bases()
1843 typer = readl_relaxed(gic_data.dist_base + GICD_TYPER); in gic_init_bases()
1846 gic_enable_quirks(readl_relaxed(gic_data.dist_base + GICD_IIDR), in gic_init_bases()
1857 gic_data.rdists.gicd_typer2 = readl_relaxed(gic_data.dist_base + GICD_TYPER2); in gic_init_bases()
1911 static int __init gic_validate_dist_version(void __iomem *dist_base) in gic_validate_dist_version() argument
1913 u32 reg = readl_relaxed(dist_base + GICD_PIDR2) & GIC_PIDR2_ARCH_MASK; in gic_validate_dist_version()
2071 void __iomem *dist_base; in gic_of_init() local
2078 dist_base = gic_of_iomap(node, 0, "GICD", &res); in gic_of_init()
2079 if (IS_ERR(dist_base)) { in gic_of_init()
2081 return PTR_ERR(dist_base); in gic_of_init()
2084 err = gic_validate_dist_version(dist_base); in gic_of_init()
2115 err = gic_init_bases(dist_base, rdist_regs, nr_redist_regions, in gic_of_init()
2132 iounmap(dist_base); in gic_of_init()
2141 void __iomem *dist_base; member
2187 u32 reg = readl_relaxed(acpi_data.dist_base + GICD_PIDR2) & GIC_PIDR2_ARCH_MASK; in gic_acpi_parse_madt_gicc()
2400 acpi_data.dist_base = ioremap(dist->base_address, in gic_acpi_init()
2402 if (!acpi_data.dist_base) { in gic_acpi_init()
2408 err = gic_validate_dist_version(acpi_data.dist_base); in gic_acpi_init()
2411 acpi_data.dist_base); in gic_acpi_init()
2432 err = gic_init_bases(acpi_data.dist_base, acpi_data.redist_regs, in gic_acpi_init()
2452 iounmap(acpi_data.dist_base); in gic_acpi_init()