Lines Matching refs:mp_irqs

170 struct mpc_intsrc mp_irqs[MAX_IRQ_SOURCES];  variable
214 if (!memcmp(&mp_irqs[i], m, sizeof(*m))) in mp_save_irq()
218 memcpy(&mp_irqs[mp_irq_entries], m, sizeof(*m)); in mp_save_irq()
677 if (mp_irqs[i].irqtype == type && in find_irq_entry()
678 (mp_irqs[i].dstapic == mpc_ioapic_id(ioapic_idx) || in find_irq_entry()
679 mp_irqs[i].dstapic == MP_APIC_ALL) && in find_irq_entry()
680 mp_irqs[i].dstirq == pin) in find_irq_entry()
694 int lbus = mp_irqs[i].srcbus; in find_isa_irq_pin()
697 (mp_irqs[i].irqtype == type) && in find_isa_irq_pin()
698 (mp_irqs[i].srcbusirq == irq)) in find_isa_irq_pin()
700 return mp_irqs[i].dstirq; in find_isa_irq_pin()
710 int lbus = mp_irqs[i].srcbus; in find_isa_irq_apic()
713 (mp_irqs[i].irqtype == type) && in find_isa_irq_apic()
714 (mp_irqs[i].srcbusirq == irq)) in find_isa_irq_apic()
722 if (mpc_ioapic_id(ioapic_idx) == mp_irqs[i].dstapic) in find_isa_irq_apic()
731 int bus = mp_irqs[idx].srcbus; in irq_active_low()
736 switch (mp_irqs[idx].irqflag & MP_IRQPOL_MASK) { in irq_active_low()
782 return EISA_ELCR(mp_irqs[idx].srcbusirq); in eisa_irq_is_level()
796 int bus = mp_irqs[idx].srcbus; in irq_is_level()
802 switch (mp_irqs[idx].irqflag & MP_IRQTRIG_MASK) { in irq_is_level()
1025 if (idx >= 0 && test_bit(mp_irqs[idx].srcbus, mp_bus_not_pci)) { in mp_map_pin_to_irq()
1026 irq = mp_irqs[idx].srcbusirq; in mp_map_pin_to_irq()
1073 if (mp_irqs[idx].dstirq != pin) in pin_2_irq()
1151 int lbus = mp_irqs[i].srcbus; in IO_APIC_get_PCI_irq_vector()
1154 if (bus != lbus || mp_irqs[i].irqtype != mp_INT || in IO_APIC_get_PCI_irq_vector()
1155 slot != ((mp_irqs[i].srcbusirq >> 2) & 0x1f)) in IO_APIC_get_PCI_irq_vector()
1159 if (mpc_ioapic_id(ioapic_idx) == mp_irqs[i].dstapic || in IO_APIC_get_PCI_irq_vector()
1160 mp_irqs[i].dstapic == MP_APIC_ALL) { in IO_APIC_get_PCI_irq_vector()
1168 irq = pin_2_irq(i, ioapic_idx, mp_irqs[i].dstirq, 0); in IO_APIC_get_PCI_irq_vector()
1172 if (pin == (mp_irqs[i].srcbusirq & 3)) { in IO_APIC_get_PCI_irq_vector()
1191 return pin_2_irq(best_idx, best_ioapic, mp_irqs[best_idx].dstirq, in IO_APIC_get_PCI_irq_vector()
1516 if (mp_irqs[i].dstapic == old_id) in setup_ioapic_ids_from_mpc_nocheck()
1517 mp_irqs[i].dstapic in setup_ioapic_ids_from_mpc_nocheck()