Lines Matching refs:g_iommus
175 static struct intel_iommu **g_iommus; variable
751 return g_iommus[iommu_id]; in domain_get_iommu()
765 if (!ecap_coherent(g_iommus[i]->ecap)) { in domain_update_iommu_coherency()
1712 g_iommus[iommu->seq_id] = NULL; in free_dmar_iommu()
3105 g_iommus = kcalloc(g_num_of_iommus, sizeof(struct intel_iommu *), in init_dmars()
3107 if (!g_iommus) { in init_dmars()
3121 g_iommus[iommu->seq_id] = iommu; in init_dmars()
3296 kfree(g_iommus); in init_dmars()
3508 struct intel_iommu *iommu = g_iommus[i]; in flush_unmaps()
4191 if (g_iommus[iommu->seq_id]) in intel_iommu_add()
4218 g_iommus[iommu->seq_id] = iommu; in intel_iommu_add()
4917 iommu = g_iommus[iommu_id]; in intel_iommu_unmap()
4919 iommu_flush_iotlb_psi(g_iommus[iommu_id], dmar_domain, in intel_iommu_unmap()