2 * This file is part of the coreboot project.
4 * Copyright (C) 2010 Advanced Micro Devices, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 /* simple name description */
18 DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001
30 /* USB Port 0 overcurrent uses Gpm 0 */
31 If(LLessEqual(UOM0,9)) {
35 if(LEqual(GPB0,PLC0)) {
37 Store(PLC0, \_SB.PT0D)
43 /* USB Port 1 overcurrent uses Gpm 1 */
44 If (LLessEqual(UOM1,9)) {
48 if (LEqual(GPB1,PLC1)) {
50 Store(PLC1, \_SB.PT1D)
56 /* USB Port 2 overcurrent uses Gpm 2 */
57 If (LLessEqual(UOM2,9)) {
61 if (LEqual(GPB2,PLC2)) {
63 Store(PLC2, \_SB.PT2D)
69 /* USB Port 3 overcurrent uses Gpm 3 */
70 If (LLessEqual(UOM3,9)) {
74 if (LEqual(GPB3,PLC3)) {
76 Store(PLC3, \_SB.PT3D)
82 /* USB Port 4 overcurrent uses Gpm 4 */
83 If (LLessEqual(UOM4,9)) {
87 if (LEqual(GPB4,PLC4)) {
89 Store(PLC4, \_SB.PT4D)
95 /* USB Port 5 overcurrent uses Gpm 5 */
96 If (LLessEqual(UOM5,9)) {
100 if (LEqual(GPB5,PLC5)) {
102 Store(PLC5, \_SB.PT5D)
108 /* USB Port 6 overcurrent uses Gpm 6 */
109 If (LLessEqual(UOM6,9)) {
111 /* Method (_L1C) { */
114 if (LEqual(GPB6,PLC6)) {
116 Store(PLC6, \_SB.PT6D)
122 /* USB Port 7 overcurrent uses Gpm 7 */
123 If (LLessEqual(UOM7,9)) {
125 /* Method (_L1D) { */
128 if (LEqual(GPB7,PLC7)) {
130 Store(PLC7, \_SB.PT7D)
136 /* USB Port 8 overcurrent uses Gpm 8 */
137 If (LLessEqual(UOM8,9)) {
140 if (LEqual(G8IS,PLC8)) {
142 Store(PLC8, \_SB.PT8D)
148 /* USB Port 9 overcurrent uses Gpm 9 */
149 If (LLessEqual(UOM9,9)) {
152 if (LEqual(G9IS,0)) {