1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Name (_HID, EISAID("PNP0C0F"))
9 Method (_DIS, 0, Serialized)
14 // Possible Resource Settings for this Link
15 Name (_PRS, ResourceTemplate()
17 IRQ(Level, ActiveLow, Shared)
18 { 6, 7, 10, 11, 12, 14, 15 }
21 // Current Resource Settings for this link
22 Method (_CRS, 0, Serialized)
24 Name (RTLA, ResourceTemplate()
26 IRQ(Level, ActiveLow, Shared) {}
28 CreateWordField(RTLA, 1, IRQ0)
30 // Clear the WordField
33 // Set the bit from PRTA
34 IRQ0 = 1 << (PRTA & 0x0f)
39 // Set Resource Setting for this IRQ link
40 Method (_SRS, 1, Serialized)
42 CreateWordField(Arg0, 1, IRQ0)
45 FindSetRightBit(IRQ0, Local0)
52 Method (_STA, 0, Serialized)
64 Name (_HID, EISAID("PNP0C0F"))
68 Method (_DIS, 0, Serialized)
73 // Possible Resource Settings for this Link
74 Name (_PRS, ResourceTemplate()
76 IRQ(Level, ActiveLow, Shared)
77 { 6, 7, 10, 11, 12, 14, 15 }
80 // Current Resource Settings for this link
81 Method (_CRS, 0, Serialized)
83 Name (RTLB, ResourceTemplate()
85 IRQ(Level, ActiveLow, Shared) {}
87 CreateWordField(RTLB, 1, IRQ0)
89 // Clear the WordField
92 // Set the bit from PRTB
93 IRQ0 = 1 << (PRTB & 0x0f)
98 // Set Resource Setting for this IRQ link
99 Method (_SRS, 1, Serialized)
101 CreateWordField(Arg0, 1, IRQ0)
104 FindSetRightBit(IRQ0, Local0)
111 Method (_STA, 0, Serialized)
123 Name (_HID, EISAID("PNP0C0F"))
127 Method (_DIS, 0, Serialized)
132 // Possible Resource Settings for this Link
133 Name (_PRS, ResourceTemplate()
135 IRQ(Level, ActiveLow, Shared)
136 { 6, 7, 10, 11, 12, 14, 15 }
139 // Current Resource Settings for this link
140 Method (_CRS, 0, Serialized)
142 Name (RTLC, ResourceTemplate()
144 IRQ(Level, ActiveLow, Shared) {}
146 CreateWordField(RTLC, 1, IRQ0)
148 // Clear the WordField
151 // Set the bit from PRTC
152 IRQ0 = 1 << (PRTC & 0x0f)
157 // Set Resource Setting for this IRQ link
158 Method (_SRS, 1, Serialized)
160 CreateWordField(Arg0, 1, IRQ0)
163 FindSetRightBit(IRQ0, Local0)
170 Method (_STA, 0, Serialized)
182 Name (_HID, EISAID("PNP0C0F"))
186 Method (_DIS, 0, Serialized)
191 // Possible Resource Settings for this Link
192 Name (_PRS, ResourceTemplate()
194 IRQ(Level, ActiveLow, Shared)
195 { 6, 7, 10, 11, 12, 14, 15 }
198 // Current Resource Settings for this link
199 Method (_CRS, 0, Serialized)
201 Name (RTLD, ResourceTemplate()
203 IRQ(Level, ActiveLow, Shared) {}
205 CreateWordField(RTLD, 1, IRQ0)
207 // Clear the WordField
210 // Set the bit from PRTD
211 IRQ0 = 1 << (PRTD & 0x0f)
216 // Set Resource Setting for this IRQ link
217 Method (_SRS, 1, Serialized)
219 CreateWordField(Arg0, 1, IRQ0)
222 FindSetRightBit(IRQ0, Local0)
229 Method (_STA, 0, Serialized)
241 Name (_HID, EISAID("PNP0C0F"))
245 Method (_DIS, 0, Serialized)
250 // Possible Resource Settings for this Link
251 Name (_PRS, ResourceTemplate()
253 IRQ(Level, ActiveLow, Shared)
254 { 6, 7, 10, 11, 12, 14, 15 }
257 // Current Resource Settings for this link
258 Method (_CRS, 0, Serialized)
260 Name (RTLE, ResourceTemplate()
262 IRQ(Level, ActiveLow, Shared) {}
264 CreateWordField(RTLE, 1, IRQ0)
266 // Clear the WordField
269 // Set the bit from PRTE
270 IRQ0 = 1 << (PRTE & 0x0f)
275 // Set Resource Setting for this IRQ link
276 Method (_SRS, 1, Serialized)
278 CreateWordField(Arg0, 1, IRQ0)
281 FindSetRightBit(IRQ0, Local0)
288 Method (_STA, 0, Serialized)
300 Name (_HID, EISAID("PNP0C0F"))
304 Method (_DIS, 0, Serialized)
309 // Possible Resource Settings for this Link
310 Name (_PRS, ResourceTemplate()
312 IRQ(Level, ActiveLow, Shared)
313 { 6, 7, 10, 11, 12, 14, 15 }
316 // Current Resource Settings for this link
317 Method (_CRS, 0, Serialized)
319 Name (RTLF, ResourceTemplate()
321 IRQ(Level, ActiveLow, Shared) {}
323 CreateWordField(RTLF, 1, IRQ0)
325 // Clear the WordField
328 // Set the bit from PRTF
329 IRQ0 = 1 << (PRTF & 0x0f)
334 // Set Resource Setting for this IRQ link
335 Method (_SRS, 1, Serialized)
337 CreateWordField(Arg0, 1, IRQ0)
340 FindSetRightBit(IRQ0, Local0)
347 Method (_STA, 0, Serialized)
359 Name (_HID, EISAID("PNP0C0F"))
363 Method (_DIS, 0, Serialized)
368 // Possible Resource Settings for this Link
369 Name (_PRS, ResourceTemplate()
371 IRQ(Level, ActiveLow, Shared)
372 { 6, 7, 10, 11, 12, 14, 15 }
375 // Current Resource Settings for this link
376 Method (_CRS, 0, Serialized)
378 Name (RTLG, ResourceTemplate()
380 IRQ(Level, ActiveLow, Shared) {}
382 CreateWordField(RTLG, 1, IRQ0)
384 // Clear the WordField
387 // Set the bit from PRTG
388 IRQ0 = 1 << (PRTG & 0x0f)
393 // Set Resource Setting for this IRQ link
394 Method (_SRS, 1, Serialized)
396 CreateWordField(Arg0, 1, IRQ0)
399 FindSetRightBit(IRQ0, Local0)
406 Method (_STA, 0, Serialized)
418 Name (_HID, EISAID("PNP0C0F"))
422 Method (_DIS, 0, Serialized)
427 // Possible Resource Settings for this Link
428 Name (_PRS, ResourceTemplate()
430 IRQ(Level, ActiveLow, Shared)
431 { 6, 7, 10, 11, 12, 14, 15 }
434 // Current Resource Settings for this link
435 Method (_CRS, 0, Serialized)
437 Name (RTLH, ResourceTemplate()
439 IRQ(Level, ActiveLow, Shared) {}
441 CreateWordField(RTLH, 1, IRQ0)
443 // Clear the WordField
446 // Set the bit from PRTH
447 IRQ0 = 1 << (PRTH & 0x0f)
452 // Set Resource Setting for this IRQ link
453 Method (_SRS, 1, Serialized)
455 CreateWordField(Arg0, 1, IRQ0)
458 FindSetRightBit(IRQ0, Local0)
465 Method (_STA, 0, Serialized)