Lines Matching refs:acpi

25 } acpi = {  variable
33 if (acpi.status == AE_NOT_CONFIGURED) { in check_init_status()
34 acpi.status = acpi_init(); in check_init_status()
37 if (ACPI_FAILURE(acpi.status)) { in check_init_status()
78 if (!acpi.early_init) { in initialize_acpica()
215 if (acpi.num_dev >= CONFIG_ACPI_DEV_MAX) { in dev_resource_enum_callback()
223 child_dev = (struct acpi_dev *)&acpi.child_dev[acpi.num_dev++]; in dev_resource_enum_callback()
267 if (acpi.early_init) { in acpi_early_init()
278 acpi.early_init = true; in acpi_early_init()
367 if (((acpi.pci_prt_table[i].Address >> 16) & 0xffff) == slot && in acpi_legacy_irq_get()
368 acpi.pci_prt_table[i].Pin + 1 == pin) { in acpi_legacy_irq_get()
370 acpi.pci_prt_table[i].SourceIndex); in acpi_legacy_irq_get()
371 return acpi.pci_prt_table[i].SourceIndex; in acpi_legacy_irq_get()
381 ACPI_PCI_ROUTING_TABLE *rt_table = acpi.pci_prt_table; in acpi_legacy_irq_init()
398 rt_buffer.Length = ARRAY_SIZE(acpi.pci_prt_table) * sizeof(ACPI_PCI_ROUTING_TABLE); in acpi_legacy_irq_init()
417 for (size_t i = 0; i < ARRAY_SIZE(acpi.pci_prt_table); i++) { in acpi_legacy_irq_init()
418 if (!acpi.pci_prt_table[i].SourceIndex) { in acpi_legacy_irq_init()
423 arch_irq_set_used(acpi.pci_prt_table[i].SourceIndex); in acpi_legacy_irq_init()
618 child_dev = &acpi.child_dev[i]; in acpi_device_get()
638 } while (i++ < acpi.num_dev); in acpi_device_get()
645 return index < acpi.num_dev ? &acpi.child_dev[index] : NULL; in acpi_device_by_index_get()
653 if (!acpi.early_init) { in acpi_table_get()