Lines Matching refs:acpi_data

1357 } acpi_data __initdata;
1364 acpi_data.redist_regs[count].phys_base = phys_base; in gic_acpi_register_redist()
1365 acpi_data.redist_regs[count].redist_base = redist_base; in gic_acpi_register_redist()
1366 acpi_data.redist_regs[count].single_redist = acpi_data.single_redist; in gic_acpi_register_redist()
1394 u32 reg = readl_relaxed(acpi_data.dist_base + GICD_PIDR2) & GIC_PIDR2_ARCH_MASK; in gic_acpi_parse_madt_gicc()
1415 if (acpi_data.single_redist) { in gic_acpi_collect_gicr_base()
1449 acpi_data.enabled_rdists++; in gic_acpi_match_gicc()
1475 acpi_data.single_redist = false; in gic_acpi_count_gicr_regions()
1482 acpi_data.single_redist = true; in gic_acpi_count_gicr_regions()
1483 count = acpi_data.enabled_rdists; in gic_acpi_count_gicr_regions()
1504 acpi_data.nr_redist_regions = count; in acpi_validate_gic_table()
1526 acpi_data.maint_irq = gicc->vgic_interrupt; in gic_acpi_parse_virt_madt_gicc()
1527 acpi_data.maint_irq_mode = maint_irq_mode; in gic_acpi_parse_virt_madt_gicc()
1528 acpi_data.vcpu_base = gicc->gicv_base_address; in gic_acpi_parse_virt_madt_gicc()
1536 if ((acpi_data.maint_irq != gicc->vgic_interrupt) || in gic_acpi_parse_virt_madt_gicc()
1537 (acpi_data.maint_irq_mode != maint_irq_mode) || in gic_acpi_parse_virt_madt_gicc()
1538 (acpi_data.vcpu_base != gicc->gicv_base_address)) in gic_acpi_parse_virt_madt_gicc()
1569 irq = acpi_register_gsi(NULL, acpi_data.maint_irq, in gic_acpi_setup_kvm_info()
1570 acpi_data.maint_irq_mode, in gic_acpi_setup_kvm_info()
1577 if (acpi_data.vcpu_base) { in gic_acpi_setup_kvm_info()
1581 vcpu->start = acpi_data.vcpu_base; in gic_acpi_setup_kvm_info()
1599 acpi_data.dist_base = ioremap(dist->base_address, in gic_acpi_init()
1601 if (!acpi_data.dist_base) { in gic_acpi_init()
1606 err = gic_validate_dist_version(acpi_data.dist_base); in gic_acpi_init()
1609 acpi_data.dist_base); in gic_acpi_init()
1613 size = sizeof(*acpi_data.redist_regs) * acpi_data.nr_redist_regions; in gic_acpi_init()
1614 acpi_data.redist_regs = kzalloc(size, GFP_KERNEL); in gic_acpi_init()
1615 if (!acpi_data.redist_regs) { in gic_acpi_init()
1624 domain_handle = irq_domain_alloc_fwnode(acpi_data.dist_base); in gic_acpi_init()
1630 err = gic_init_bases(acpi_data.dist_base, acpi_data.redist_regs, in gic_acpi_init()
1631 acpi_data.nr_redist_regions, 0, domain_handle); in gic_acpi_init()
1645 for (i = 0; i < acpi_data.nr_redist_regions; i++) in gic_acpi_init()
1646 if (acpi_data.redist_regs[i].redist_base) in gic_acpi_init()
1647 iounmap(acpi_data.redist_regs[i].redist_base); in gic_acpi_init()
1648 kfree(acpi_data.redist_regs); in gic_acpi_init()
1650 iounmap(acpi_data.dist_base); in gic_acpi_init()