Debian Codegraph @

src/soc/intel/baytrail/acpi/xhci.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 Device (XHCI)
4 {
5 Name (_ADR, 0x00140000)
6 Name (_PRW, Package () { 0x0d, 3 })
7 Name (_S3D, 3) /* Highest D state in S3 state */
8
9 Device (RHUB)
10 {
11 Name (_ADR, 0x00000000)
12
13 // GPLD: Generate Port Location Data (PLD)
14 Method (GPLD, 1, Serialized) {
15 Name (PCKG, Package (0x01) {
16 Buffer (0x10) {}
17 })
18
19 // REV: Revision 0x02 for ACPI 5.0
20 CreateField (DerefOf (PCKG[0]), 0, 0x07, REV)
21 REV = 0x02
22
23 // VISI: Port visibility to user per port
24 CreateField (DerefOf (PCKG[0]), 0x40, 1, VISI)
25 VISI = Arg0
26 Return (PCKG)
27 }
28
29 Device (PRT1) { Name (_ADR, 1) }
30 Device (PRT2) { Name (_ADR, 2) }
31 Device (PRT3) { Name (_ADR, 3) }
32 Device (PRT4) { Name (_ADR, 4) }
33 Device (SSP1) { Name (_ADR, 7) }
34 }
35 }