Debian Codegraph @

src/northbridge/intel/sandybridge/acpi/peg.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 Device (PEGP)
4 {
5 Name (_ADR, 0x00010000)
6
7 Method (_STA)
8 {
9 Return (((\_SB.PCI0.MCHC.DVEN >> 3) & 1) * 0xf)
10 }
11
12 Device (DEV0)
13 {
14 Name(_ADR, 0x00000000)
15 }
16
17 Method (_PRT)
18 {
19 Return (\_SB.PCI0.IRQM (1))
20 }
21 }
22
23 Device (PEG1)
24 {
25 Name (_ADR, 0x00010001)
26
27 Method (_STA)
28 {
29 Return (((\_SB.PCI0.MCHC.DVEN >> 2) & 1) * 0xf)
30 }
31
32 Device (DEV0)
33 {
34 Name(_ADR, 0x00000000)
35 }
36
37 Method (_PRT)
38 {
39 Return (\_SB.PCI0.IRQM (2))
40 }
41 }
42
43 Device (PEG2)
44 {
45 Name (_ADR, 0x00010002)
46
47 Method (_STA)
48 {
49 Return (((\_SB.PCI0.MCHC.DVEN >> 1) & 1) * 0xf)
50 }
51
52 Device (DEV0)
53 {
54 Name(_ADR, 0x00000000)
55 }
56
57 Method (_PRT)
58 {
59 Return (\_SB.PCI0.IRQM (3))
60 }
61 }
62
63 Device (PEG6)
64 {
65 Name (_ADR, 0x00060000)
66
67 Method (_STA)
68 {
69 Return (((\_SB.PCI0.MCHC.DVEN >> 13) & 1) * 0xf)
70 }
71
72 Device (DEV0)
73 {
74 Name(_ADR, 0x00000000)
75 }
76
77 Method (_PRT)
78 {
79 Return (\_SB.PCI0.IRQM (4))
80 }
81 }