Angel Pons | c3f58f6 | 2020-04-05 15:46:41 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Duncan Laurie | 3f94a74 | 2014-01-14 14:59:28 -0800 | [diff] [blame] | 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) |
Matt DeVillier | fab0a49 | 2017-04-17 18:47:16 -0500 | [diff] [blame] | 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 (Index (PCKG, Zero)), Zero, 0x07, REV) |
| 21 | Store (0x02, REV) |
| 22 | |
| 23 | // VISI: Port visibility to user per port |
| 24 | CreateField (DerefOf (Index (PCKG, Zero)), 0x40, One, VISI) |
| 25 | Store (Arg0, VISI) |
| 26 | Return (PCKG) |
| 27 | } |
| 28 | |
Duncan Laurie | 3f94a74 | 2014-01-14 14:59:28 -0800 | [diff] [blame] | 29 | Device (PRT1) { Name (_ADR, 1) } |
| 30 | Device (PRT2) { Name (_ADR, 2) } |
| 31 | Device (PRT3) { Name (_ADR, 3) } |
| 32 | Device (PRT4) { Name (_ADR, 4) } |
Matt DeVillier | f9c46f0 | 2017-04-17 18:45:55 -0500 | [diff] [blame] | 33 | Device (SSP1) { Name (_ADR, 7) } |
Duncan Laurie | 3f94a74 | 2014-01-14 14:59:28 -0800 | [diff] [blame] | 34 | } |
| 35 | } |