aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/acpi/acpi_wake_source.asl
blob: de9cb257966c54e19ab06c6bcd8741d495d6b2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */

/* The SoC-specific code needs to provide the PM1I and GPEI fields */

Scope (\_SB)
{
	Method (_SWS)
	{
		/* Index into PM1 for device that caused wake */
		Return (\PM1I)
	}
}

Scope (\_GPE)
{
	Method (_SWS)
	{
		/* Index into GPE for device that caused wake */
		Return (\GPEI)
	}
}