Lines Matching defs:apic
18 #include <asm/apic.h>
218 static struct intel_iommu *map_ioapic_to_iommu(int apic)
223 if (ir_ioapic[i].id == apic && ir_ioapic[i].iommu)
229 static struct irq_domain *map_ioapic_to_ir(int apic)
231 struct intel_iommu *iommu = map_ioapic_to_iommu(apic);
315 static int set_ioapic_sid(struct irte *irte, int apic)
325 if (ir_ioapic[i].iommu && ir_ioapic[i].id == apic) {
333 pr_warn("Failed to set source-id of IOAPIC (%d)\n", apic);
1123 irte->dst_mode = apic->irq_dest_mode;
1132 irte->dlvry_mode = apic->irq_delivery_mode;
1187 * For level triggered, we eliminate the io-apic RTE modification (with the
1188 * updated vector information), by using a virtual vector (io-apic pin number).
1300 * irq handler will do the explicit EOI to the io-apic.