Lines Matching refs:mp_irqs
137 struct mpc_intsrc mp_irqs[MAX_IRQ_SOURCES]; variable
187 if (!memcmp(&mp_irqs[i], m, sizeof(*m))) in mp_save_irq()
191 memcpy(&mp_irqs[mp_irq_entries], m, sizeof(*m)); in mp_save_irq()
826 if (mp_irqs[i].irqtype == type && in find_irq_entry()
827 (mp_irqs[i].dstapic == mpc_ioapic_id(ioapic_idx) || in find_irq_entry()
828 mp_irqs[i].dstapic == MP_APIC_ALL) && in find_irq_entry()
829 mp_irqs[i].dstirq == pin) in find_irq_entry()
843 int lbus = mp_irqs[i].srcbus; in find_isa_irq_pin()
846 (mp_irqs[i].irqtype == type) && in find_isa_irq_pin()
847 (mp_irqs[i].srcbusirq == irq)) in find_isa_irq_pin()
849 return mp_irqs[i].dstirq; in find_isa_irq_pin()
859 int lbus = mp_irqs[i].srcbus; in find_isa_irq_apic()
862 (mp_irqs[i].irqtype == type) && in find_isa_irq_apic()
863 (mp_irqs[i].srcbusirq == irq)) in find_isa_irq_apic()
871 if (mpc_ioapic_id(ioapic_idx) == mp_irqs[i].dstapic) in find_isa_irq_apic()
906 #define default_EISA_trigger(idx) (EISA_ELCR(mp_irqs[idx].srcbusirq))
923 int bus = mp_irqs[idx].srcbus; in irq_polarity()
929 switch (mp_irqs[idx].irqflag & 3) in irq_polarity()
965 int bus = mp_irqs[idx].srcbus; in irq_trigger()
971 switch ((mp_irqs[idx].irqflag>>2) & 3) in irq_trigger()
1038 int bus = mp_irqs[idx].srcbus; in pin_2_irq()
1044 if (mp_irqs[idx].dstirq != pin) in pin_2_irq()
1048 irq = mp_irqs[idx].srcbusirq; in pin_2_irq()
1098 int lbus = mp_irqs[i].srcbus; in IO_APIC_get_PCI_irq_vector()
1101 if (mpc_ioapic_id(ioapic_idx) == mp_irqs[i].dstapic || in IO_APIC_get_PCI_irq_vector()
1102 mp_irqs[i].dstapic == MP_APIC_ALL) in IO_APIC_get_PCI_irq_vector()
1106 !mp_irqs[i].irqtype && in IO_APIC_get_PCI_irq_vector()
1108 (slot == ((mp_irqs[i].srcbusirq >> 2) & 0x1f))) { in IO_APIC_get_PCI_irq_vector()
1109 int irq = pin_2_irq(i, ioapic_idx, mp_irqs[i].dstirq); in IO_APIC_get_PCI_irq_vector()
1114 if (pin == (mp_irqs[i].srcbusirq & 3)) { in IO_APIC_get_PCI_irq_vector()
1116 mp_irqs[i].dstirq, in IO_APIC_get_PCI_irq_vector()
1127 mp_irqs[i].dstirq, in IO_APIC_get_PCI_irq_vector()
2156 if (mp_irqs[i].dstapic == old_id) in setup_ioapic_ids_from_mpc_nocheck()
2157 mp_irqs[i].dstapic in setup_ioapic_ids_from_mpc_nocheck()