• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3Scope(\_GPE) {	/* Start Scope GPE */
4
5	/*  General event 3  */
6	Method(_L03) {
7		/* DBGO("\\_GPE\\_L00\n") */
8	}
9
10	/*  Legacy PM event  */
11	Method(_L08) {
12		/* DBGO("\\_GPE\\_L08\n") */
13	}
14
15	/*  Temp warning (TWarn) event  */
16	Method(_L09) {
17		/* DBGO("\\_GPE\\_L09\n") */
18		/* Notify (\_TZ.TZ00, 0x80) */
19	}
20
21	/*  USB controller PME#  */
22	Method(_L0B) {
23		/* DBGO("\\_GPE\\_L0B\n") */
24		Notify(\_SB.PCI0.UOH1, 0x02) /* NOTIFY_DEVICE_WAKE */
25		Notify(\_SB.PCI0.UOH2, 0x02) /* NOTIFY_DEVICE_WAKE */
26		Notify(\_SB.PCI0.UOH3, 0x02) /* NOTIFY_DEVICE_WAKE */
27		Notify(\_SB.PCI0.UOH4, 0x02) /* NOTIFY_DEVICE_WAKE */
28		Notify(\_SB.PCI0.UOH5, 0x02) /* NOTIFY_DEVICE_WAKE */
29		Notify(\_SB.PCI0.UOH6, 0x02) /* NOTIFY_DEVICE_WAKE */
30		Notify(\_SB.PCI0.XHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
31	}
32
33	/*  ExtEvent0 SCI event  */
34	Method(_L10) {
35		/* DBGO("\\_GPE\\_L10\n") */
36	}
37
38	/*  ExtEvent1 SCI event  */
39	Method(_L11) {
40		/* DBGO("\\_GPE\\_L11\n") */
41	}
42
43	/*  GPIO0 or GEvent8 event  */
44	Method(_L18) {
45		/* DBGO("\\_GPE\\_L18\n") */
46		Notify(\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */
47		Notify(\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */
48		Notify(\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */
49		Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */
50	}
51}	/* End Scope GPE */
52