• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3External (\_SB.PCI0.AZHD, DeviceObj)
4
5Scope(\_GPE) {	/* Start Scope GPE */
6
7	/*  General event 3  */
8	Method(_L03) {
9		/*  DBGO("\\_GPE\\_L03\n") */
10		Notify(\_SB.PWRB, 0x02) /* SIO psin -> NOTIFY_DEVICE_WAKE */
11	}
12
13	/*  Power Button - PCIe Wake */
14	Method(_L08) {
15		/*  DBGO("\\_GPE\\_L08\n") */
16		\_SB.SIO0.CPSI() /*  clear psin state in sio */
17		Notify(\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */
18		Notify(\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */
19		Notify(\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */
20		Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */
21		Notify(\_SB.PCI0.PBR8, 0x02) /* NOTIFY_DEVICE_WAKE */
22		Notify(\_SB.PCI0.AZHD, 0x02) /* NOTIFY_DEVICE_WAKE */
23		Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
24	}
25}	/* End Scope GPE */
26