Lines Matching full:acpi
3 * RISC-V Specific Low-Level ACPI Boot Support
16 #include <linux/acpi.h>
22 int acpi_noirq = 1; /* skip ACPI IRQ initialization */
26 int acpi_pci_disabled = 1; /* skip ACPI PCI scan and IRQ initialization */
40 /* "acpi=off" disables both ACPI table parsing and interpreter */ in parse_acpi()
43 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */ in parse_acpi()
45 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi()
52 early_param("acpi", parse_acpi);
69 * and carry out revision and ACPI HW reduced compliancy tests in acpi_fadt_sanity_check()
87 * the ACPI spec, we need to update this check for exact minor revision in acpi_fadt_sanity_check()
94 pr_err("FADT not ACPI hardware reduced compliant\n"); in acpi_fadt_sanity_check()
110 * 3. check ACPI FADT HW reduced flag
112 * We can parse ACPI boot-time tables such as MADT after
115 * On return ACPI is enabled if either:
117 * - ACPI tables are initialized and sanity checks passed
118 * - acpi=force was passed in the command line and ACPI was not disabled
119 * explicitly through acpi=off command line parameter
121 * ACPI is disabled on function return otherwise
126 * Enable ACPI instead of device tree unless in acpi_boot_table_init()
127 * - ACPI has been disabled explicitly (acpi=off), or in acpi_boot_table_init()
128 * - firmware has not populated ACPI ptr in EFI system table in acpi_boot_table_init()
129 * and ACPI has not been [force] enabled (acpi=on|force) in acpi_boot_table_init()
137 * ACPI is disabled at this point. Enable it in order to parse in acpi_boot_table_init()
138 * the ACPI tables and carry out sanity checks in acpi_boot_table_init()
143 * If ACPI tables are initialized and FADT sanity checks passed, in acpi_boot_table_init()
144 * leave ACPI enabled and carry on booting; otherwise disable ACPI in acpi_boot_table_init()
146 * If acpi=force was passed on the command line it forces ACPI in acpi_boot_table_init()
150 pr_err("Failed to init ACPI tables\n"); in acpi_boot_table_init()
177 * Instead of parsing (and freeing) the ACPI table, cache
201 * or early_memremap() should be called here to for ACPI table mapping.
265 * NOMAP attribute set: this enables the use of ACPI in acpi_os_ioremap()
282 * ACPI reclaim memory is used to pass firmware tables in acpi_os_ioremap()
309 * These interfaces are defined just to enable building ACPI core.
311 * controller support is added in RISC-V ACPI.