Lines Matching refs:eim
710 int eim = 0; in intel_prepare_irq_remapping() local
740 eim = !dmar_x2apic_optout(); in intel_prepare_irq_remapping()
741 if (!eim) { in intel_prepare_irq_remapping()
748 if (eim && !ecap_eim_support(iommu->ecap)) { in intel_prepare_irq_remapping()
750 eim = 0; in intel_prepare_irq_remapping()
754 eim_mode = eim; in intel_prepare_irq_remapping()
755 if (eim) in intel_prepare_irq_remapping()
1038 static int reenable_irq_remapping(int eim) in reenable_irq_remapping() argument
1056 iommu_set_irq_remapping(iommu, eim); in reenable_irq_remapping()
1456 int eim = x2apic_enabled(); in dmar_ir_add() local
1458 if (eim && !ecap_eim_support(iommu->ecap)) { in dmar_ir_add()