Debian Codegraph @

src/northbridge/amd/pi/00730F01/acpi/northbridge.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 /* Note: Only need HID on Primary Bus */
4 External (TOM1)
5 External (TOM2)
6 Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */
7 Name(_CID, EISAID("PNP0A03")) /* PCI Root Bridge */
8
9 /* Describe the Northbridge devices */
10
11 Method(_BBN, 0, NotSerialized) /* Bus number = 0 */
12 {
13 Return(0)
14 }
15
16 Method(_STA, 0, NotSerialized)
17 {
18 Return(0x0f) /* Status is visible */
19 }
20
21 Method(_PRT,0, NotSerialized)
22 {
23 If(PICM)
24 {
25 Return(APR0) /* APIC mode */
26 }
27 Return (PR0) /* PIC Mode */
28 }
29
30 Device(AMRT) {
31 Name(_ADR, 0x00000000)
32 } /* end AMRT */
33
34 /* Gpp 0 */
35 Device(PBR4) {
36 Name(_ADR, 0x00020001)
37 Name(_PRW, Package() {0x18, 4})
38 Method(_PRT,0) {
39 If(PICM) { Return(APS4) } /* APIC mode */
40 Return (PS4) /* PIC Mode */
41 } /* end _PRT */
42 } /* end PBR4 */
43
44 /* Gpp 1 */
45 Device(PBR5) {
46 Name(_ADR, 0x00020002)
47 Name(_PRW, Package() {0x18, 4})
48 Method(_PRT,0) {
49 If(PICM) { Return(APS5) } /* APIC mode */
50 Return (PS5) /* PIC Mode */
51 } /* end _PRT */
52 } /* end PBR5 */
53
54 /* Gpp 2 */
55 Device(PBR6) {
56 Name(_ADR, 0x00020003)
57 Name(_PRW, Package() {0x18, 4})
58 Method(_PRT,0) {
59 If(PICM) { Return(APS6) } /* APIC mode */
60 Return (PS6) /* PIC Mode */
61 } /* end _PRT */
62 } /* end PBR6 */
63
64 /* Gpp 3 */
65 Device(PBR7) {
66 Name(_ADR, 0x00020004)
67 Name(_PRW, Package() {0x18, 4})
68 Method(_PRT,0) {
69 If(PICM) { Return(APS7) } /* APIC mode */
70 Return (PS7) /* PIC Mode */
71 } /* end _PRT */
72 } /* end PBR7 */
73
74 /* Gpp 4 */
75 Device(PBR8) {
76 Name(_ADR, 0x00020005)
77 Name(_PRW, Package() {0x18, 4})
78 Method(_PRT,0) {
79 If(PICM) { Return(APS8) } /* APIC mode */
80 Return (PS8) /* PIC Mode */
81 } /* end _PRT */
82 } /* end PBR8 */
83
84 Device(K10M) {
85 Name (_ADR, 0x00180003)
86 #include <soc/amd/common/acpi/thermal_zone.asl>
87 }