blob: c63f3f9169c5b1cf9b8e03d2fd2fbfac00c6c7d9 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Chris Morgan5e5e7892020-02-07 09:40:42 -06002
Angel Pons66e21d22020-10-25 23:39:10 +01003Field (\_SB.PCI0.MCHC.MCHP, DWordAcc, NoLock, Preserve)
4{
5 Offset (0x54),
6 , 1,
7 P2EN, 1,
8 P1EN, 1,
9 P0EN, 1,
10}
11
Chris Morgan5e5e7892020-02-07 09:40:42 -060012Device (PEGP)
13{
14 Name (_ADR, 0x00010000)
15
16 Method (_STA)
17 {
Angel Pons66e21d22020-10-25 23:39:10 +010018 Return (P0EN * 0xf)
Chris Morgan5e5e7892020-02-07 09:40:42 -060019 }
20
21 Device (DEV0)
22 {
23 Name(_ADR, 0x00000000)
24 }
25}
26
27Device (PEG1)
28{
29 Name (_ADR, 0x00010001)
30
31 Method (_STA)
32 {
Angel Pons66e21d22020-10-25 23:39:10 +010033 Return (P1EN * 0xf)
Chris Morgan5e5e7892020-02-07 09:40:42 -060034 }
35
36 Device (DEV0)
37 {
38 Name(_ADR, 0x00000000)
39 }
40}
41
42Device (PEG2)
43{
44 Name (_ADR, 0x00010002)
45
46 Method (_STA)
47 {
Angel Pons66e21d22020-10-25 23:39:10 +010048 Return (P2EN * 0xf)
Chris Morgan5e5e7892020-02-07 09:40:42 -060049 }
50
51 Device (DEV0)
52 {
53 Name(_ADR, 0x00000000)
54 }
55}