Debian Codegraph @

src/soc/intel/broadwell/pch/acpi/adsp.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 Device (ADSP)
4 {
5 Method (_HID, 0, Serialized)
6 {
7 If (\ISWP ()) {
8 // WildcatPoint
9 Return ("INT3438")
10 }
11
12 // LynxPoint-LP
13 Return ("INT33C8")
14 }
15 Name (_UID, 1)
16 Name (_DDN, "Intel Smart Sound Technology")
17
18 Name (RBUF, ResourceTemplate ()
19 {
20 Memory32Fixed (ReadWrite, 0x00000000, 0x00100000, BAR0)
21 Memory32Fixed (ReadWrite, 0x00000000, 0x00001000, BAR1)
22 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, , , ) {3}
23 })
24
25 Method (_CRS, 0, NotSerialized)
26 {
27 // Update BAR address and length if set in NVS
28 If (\S8B0 != 0) {
29 CreateDwordField (^RBUF, ^BAR0._BAS, B8A0)
30 CreateDwordField (^RBUF, ^BAR1._BAS, B8A1)
31 B8A0 = \S8B0
32 B8A1 = \S8B1
33 }
34
35 Return (RBUF)
36 }
37
38 Method (_STA, 0, NotSerialized)
39 {
40 If (\S8EN == 0) {
41 Return (0x0)
42 } Else {
43 Return (0xF)
44 }
45 }
46
47 Device (I2S0)
48 {
49 Name (_ADR, 0)
50 }
51
52 Device (I2S1)
53 {
54 Name (_ADR, 1)
55 }
56 }