Debian Codegraph @

src/soc/amd/stoneyridge/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
7 /* Describe the Northbridge devices */
8
9 Method(_BBN, 0, NotSerialized) /* Bus number = 0 */
10 {
11 Return(0)
12 }
13
14 Method(_PRT,0, NotSerialized)
15 {
16 If(PICM)
17 {
18 Return(APR0) /* APIC mode */
19 }
20 Return (PR0) /* PIC Mode */
21 }
22
23 Device(AMRT) {
24 Name(_ADR, 0x00000000)
25 } /* end AMRT */
26
27 /* Gpp 0 */
28 Device(PBR4) {
29 Name(_ADR, 0x00020001)
30 Method(_PRT,0) {
31 If(PICM){ Return(APS4) } /* APIC mode */
32 Return (PS4) /* PIC Mode */
33 } /* end _PRT */
34 } /* end PBR4 */
35
36 /* Gpp 1 */
37 Device(PBR5) {
38 Name(_ADR, 0x00020002)
39 Method(_PRT,0) {
40 If(PICM){ Return(APS5) } /* APIC mode */
41 Return (PS5) /* PIC Mode */
42 } /* end _PRT */
43 } /* end PBR5 */
44
45 /* Gpp 2 */
46 Device(PBR6) {
47 Name(_ADR, 0x00020003)
48 Method(_PRT,0) {
49 If(PICM){ Return(APS6) } /* APIC mode */
50 Return (PS6) /* PIC Mode */
51 } /* end _PRT */
52 } /* end PBR6 */
53
54 /* Gpp 3 */
55 Device(PBR7) {
56 Name(_ADR, 0x00020004)
57 Method(_PRT,0) {
58 If(PICM){ Return(APS7) } /* APIC mode */
59 Return (PS7) /* PIC Mode */
60 } /* end _PRT */
61 } /* end PBR7 */
62
63 /* Gpp 4 */
64 Device(PBR8) {
65 Name(_ADR, 0x00020005)
66 Method(_PRT,0) {
67 If(PICM){ Return(APS8) } /* APIC mode */
68 Return (PS8) /* PIC Mode */
69 } /* end _PRT */
70 } /* end PBR8 */