2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
18 Name (_HID, EISAID("PNP0C0F"))
22 Method (_DIS, 0, Serialized)
27 // Possible Resource Settings for this Link
28 Name (_PRS, ResourceTemplate()
30 IRQ(Level, ActiveLow, Shared)
31 { 6, 7, 10, 11, 12, 14, 15 }
34 // Current Resource Settings for this link
35 Method (_CRS, 0, Serialized)
37 Name (RTLA, ResourceTemplate()
39 IRQ(Level, ActiveLow, Shared) {}
41 CreateWordField(RTLA, 1, IRQ0)
43 // Clear the WordField
46 // Set the bit from PRTA
47 ShiftLeft(1, And(PRTA, 0x0f), IRQ0)
52 // Set Resource Setting for this IRQ link
53 Method (_SRS, 1, Serialized)
55 CreateWordField(Arg0, 1, IRQ0)
58 FindSetRightBit(IRQ0, Local0)
65 Method (_STA, 0, Serialized)
77 Name (_HID, EISAID("PNP0C0F"))
81 Method (_DIS, 0, Serialized)
86 // Possible Resource Settings for this Link
87 Name (_PRS, ResourceTemplate()
89 IRQ(Level, ActiveLow, Shared)
90 { 6, 7, 10, 11, 12, 14, 15 }
93 // Current Resource Settings for this link
94 Method (_CRS, 0, Serialized)
96 Name (RTLB, ResourceTemplate()
98 IRQ(Level, ActiveLow, Shared) {}
100 CreateWordField(RTLB, 1, IRQ0)
102 // Clear the WordField
105 // Set the bit from PRTB
106 ShiftLeft(1, And(PRTB, 0x0f), IRQ0)
111 // Set Resource Setting for this IRQ link
112 Method (_SRS, 1, Serialized)
114 CreateWordField(Arg0, 1, IRQ0)
117 FindSetRightBit(IRQ0, Local0)
124 Method (_STA, 0, Serialized)
126 If(And(PRTB, 0x80)) {
136 Name (_HID, EISAID("PNP0C0F"))
140 Method (_DIS, 0, Serialized)
145 // Possible Resource Settings for this Link
146 Name (_PRS, ResourceTemplate()
148 IRQ(Level, ActiveLow, Shared)
149 { 6, 7, 10, 11, 12, 14, 15 }
152 // Current Resource Settings for this link
153 Method (_CRS, 0, Serialized)
155 Name (RTLC, ResourceTemplate()
157 IRQ(Level, ActiveLow, Shared) {}
159 CreateWordField(RTLC, 1, IRQ0)
161 // Clear the WordField
164 // Set the bit from PRTC
165 ShiftLeft(1, And(PRTC, 0x0f), IRQ0)
170 // Set Resource Setting for this IRQ link
171 Method (_SRS, 1, Serialized)
173 CreateWordField(Arg0, 1, IRQ0)
176 FindSetRightBit(IRQ0, Local0)
183 Method (_STA, 0, Serialized)
185 If(And(PRTC, 0x80)) {
195 Name (_HID, EISAID("PNP0C0F"))
199 Method (_DIS, 0, Serialized)
204 // Possible Resource Settings for this Link
205 Name (_PRS, ResourceTemplate()
207 IRQ(Level, ActiveLow, Shared)
208 { 6, 7, 10, 11, 12, 14, 15 }
211 // Current Resource Settings for this link
212 Method (_CRS, 0, Serialized)
214 Name (RTLD, ResourceTemplate()
216 IRQ(Level, ActiveLow, Shared) {}
218 CreateWordField(RTLD, 1, IRQ0)
220 // Clear the WordField
223 // Set the bit from PRTD
224 ShiftLeft(1, And(PRTD, 0x0f), IRQ0)
229 // Set Resource Setting for this IRQ link
230 Method (_SRS, 1, Serialized)
232 CreateWordField(Arg0, 1, IRQ0)
235 FindSetRightBit(IRQ0, Local0)
242 Method (_STA, 0, Serialized)
244 If(And(PRTD, 0x80)) {
254 Name (_HID, EISAID("PNP0C0F"))
258 Method (_DIS, 0, Serialized)
263 // Possible Resource Settings for this Link
264 Name (_PRS, ResourceTemplate()
266 IRQ(Level, ActiveLow, Shared)
267 { 6, 7, 10, 11, 12, 14, 15 }
270 // Current Resource Settings for this link
271 Method (_CRS, 0, Serialized)
273 Name (RTLE, ResourceTemplate()
275 IRQ(Level, ActiveLow, Shared) {}
277 CreateWordField(RTLE, 1, IRQ0)
279 // Clear the WordField
282 // Set the bit from PRTE
283 ShiftLeft(1, And(PRTE, 0x0f), IRQ0)
288 // Set Resource Setting for this IRQ link
289 Method (_SRS, 1, Serialized)
291 CreateWordField(Arg0, 1, IRQ0)
294 FindSetRightBit(IRQ0, Local0)
301 Method (_STA, 0, Serialized)
303 If(And(PRTE, 0x80)) {
313 Name (_HID, EISAID("PNP0C0F"))
317 Method (_DIS, 0, Serialized)
322 // Possible Resource Settings for this Link
323 Name (_PRS, ResourceTemplate()
325 IRQ(Level, ActiveLow, Shared)
326 { 6, 7, 10, 11, 12, 14, 15 }
329 // Current Resource Settings for this link
330 Method (_CRS, 0, Serialized)
332 Name (RTLF, ResourceTemplate()
334 IRQ(Level, ActiveLow, Shared) {}
336 CreateWordField(RTLF, 1, IRQ0)
338 // Clear the WordField
341 // Set the bit from PRTF
342 ShiftLeft(1, And(PRTF, 0x0f), IRQ0)
347 // Set Resource Setting for this IRQ link
348 Method (_SRS, 1, Serialized)
350 CreateWordField(Arg0, 1, IRQ0)
353 FindSetRightBit(IRQ0, Local0)
360 Method (_STA, 0, Serialized)
362 If(And(PRTF, 0x80)) {
372 Name (_HID, EISAID("PNP0C0F"))
376 Method (_DIS, 0, Serialized)
381 // Possible Resource Settings for this Link
382 Name (_PRS, ResourceTemplate()
384 IRQ(Level, ActiveLow, Shared)
385 { 6, 7, 10, 11, 12, 14, 15 }
388 // Current Resource Settings for this link
389 Method (_CRS, 0, Serialized)
391 Name (RTLG, ResourceTemplate()
393 IRQ(Level, ActiveLow, Shared) {}
395 CreateWordField(RTLG, 1, IRQ0)
397 // Clear the WordField
400 // Set the bit from PRTG
401 ShiftLeft(1, And(PRTG, 0x0f), IRQ0)
406 // Set Resource Setting for this IRQ link
407 Method (_SRS, 1, Serialized)
409 CreateWordField(Arg0, 1, IRQ0)
412 FindSetRightBit(IRQ0, Local0)
419 Method (_STA, 0, Serialized)
421 If(And(PRTG, 0x80)) {
431 Name (_HID, EISAID("PNP0C0F"))
435 Method (_DIS, 0, Serialized)
440 // Possible Resource Settings for this Link
441 Name (_PRS, ResourceTemplate()
443 IRQ(Level, ActiveLow, Shared)
444 { 6, 7, 10, 11, 12, 14, 15 }
447 // Current Resource Settings for this link
448 Method (_CRS, 0, Serialized)
450 Name (RTLH, ResourceTemplate()
452 IRQ(Level, ActiveLow, Shared) {}
454 CreateWordField(RTLH, 1, IRQ0)
456 // Clear the WordField
459 // Set the bit from PRTH
460 ShiftLeft(1, And(PRTH, 0x0f), IRQ0)
465 // Set Resource Setting for this IRQ link
466 Method (_SRS, 1, Serialized)
468 CreateWordField(Arg0, 1, IRQ0)
471 FindSetRightBit(IRQ0, Local0)
478 Method (_STA, 0, Serialized)
480 If(And(PRTH, 0x80)) {