1/* SPDX-License-Identifier: GPL-2.0-only */ 2 3/* The SoC-specific code needs to provide the PM1I and GPEI fields */ 4 5Scope (\_SB) 6{ 7 Method (_SWS) 8 { 9 /* Index into PM1 for device that caused wake */ 10 Return (\PM1I) 11 } 12} 13 14Scope (\_GPE) 15{ 16 Method (_SWS) 17 { 18 /* Index into GPE for device that caused wake */ 19 Return (\GPEI) 20 } 21} 22