Lines Matching +full:fixed +full:- +full:mode
1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface
6 * Copyright (C) 2000 - 2025, Intel Corp.
21 * PARAMETERS: mode - SYS_MODE_ACPI or SYS_MODE_LEGACY
25 * DESCRIPTION: Transitions the system into the requested mode.
28 acpi_status acpi_hw_set_mode(u32 mode) in acpi_hw_set_mode() argument
35 /* If the Hardware Reduced flag is set, machine is always in acpi mode */ in acpi_hw_set_mode()
43 * system does not support mode transition. in acpi_hw_set_mode()
47 "No SMI_CMD in FADT, mode transition failed")); in acpi_hw_set_mode()
54 * As old systems may have used zero for mode transition, in acpi_hw_set_mode()
60 "No ACPI mode transition supported in this system " in acpi_hw_set_mode()
65 switch (mode) { in acpi_hw_set_mode()
68 /* BIOS should have disabled ALL fixed and GP events */ in acpi_hw_set_mode()
73 "Attempting to enable ACPI mode\n")); in acpi_hw_set_mode()
78 * BIOS should clear all fixed status bits and restore fixed event in acpi_hw_set_mode()
84 "Attempting to enable Legacy (non-ACPI) mode\n")); in acpi_hw_set_mode()
94 "Could not write ACPI mode change")); in acpi_hw_set_mode()
121 /* If the Hardware Reduced flag is set, machine is always in acpi mode */ in acpi_hw_get_mode()
129 * system does not support mode transition. in acpi_hw_get_mode()