Lines Matching refs:eim
717 int eim = 0; in intel_prepare_irq_remapping() local
750 eim = !dmar_x2apic_optout(); in intel_prepare_irq_remapping()
751 if (!eim) { in intel_prepare_irq_remapping()
758 if (eim && !ecap_eim_support(iommu->ecap)) { in intel_prepare_irq_remapping()
760 eim = 0; in intel_prepare_irq_remapping()
764 eim_mode = eim; in intel_prepare_irq_remapping()
765 if (eim) in intel_prepare_irq_remapping()
1048 static int reenable_irq_remapping(int eim) in reenable_irq_remapping() argument
1066 iommu_set_irq_remapping(iommu, eim); in reenable_irq_remapping()
1444 int eim = x2apic_enabled(); in dmar_ir_add() local
1450 if (eim && !ecap_eim_support(iommu->ecap)) { in dmar_ir_add()