1 /* SPDX-License-Identifier: GPL-2.0-only */
2 Name(IRQB, ResourceTemplate(){
3 IRQ(Level,ActiveLow,Shared){}
6 Name(IRQP, ResourceTemplate(){
7 IRQ(Level,ActiveLow,Shared){3, 4, 5, 6, 7, 10, 11, 12, 14, 15}
10 /* adapted from ma78gm/dsdt.asl */
11 #define PCI_INTX_DEV(intx, pinx, uid) \
13 Name(_HID, EISAID("PNP0C0F")) \
32 CreateWordField(IRQB, 1, IRQN) \
33 IRQN = 1 << (pinx & 0x0f) \
38 CreateWordField(ARG0, 1, IRQM) \
40 /* Use lowest available IRQ */ \
41 FindSetRightBit(IRQM, Local0) \