1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* Enable ACPI _SWS methods */
4 #include <soc/intel/common/acpi/acpi_wake_source.asl>
6 Name (_S0, Package () // mandatory system state
11 Name (_S5, Package () // mandatory system state
13 0x07, 0x00, 0x00, 0x00
16 /* The APM port can be used for generating software SMIs */
17 OperationRegion (APMP, SystemIO, 0xb2, 2)
18 Field (APMP, ByteAcc, NoLock, Preserve)
20 APMC, 8, // APM command
24 #include <arch/x86/acpi/post.asl>
27 * The _PTS method (Prepare To Sleep) is called before the OS is
28 * entering a sleep state. The sleep state number is passed in Arg0
35 /* The _WAK method is called on system wakeup */
39 Return (Package (){ 0, 0 })