Home
last modified time | relevance | path

Searched refs:dmar_domain (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iommu/intel/
H A Dnested.c25 struct dmar_domain *dmar_domain = to_dmar_domain(domain); in intel_nested_attach_dev() local
37 ret = paging_domain_compatible(&dmar_domain->s2_domain->domain, dev); in intel_nested_attach_dev()
43 ret = domain_attach_iommu(dmar_domain, iommu); in intel_nested_attach_dev()
49 ret = cache_tag_assign_domain(dmar_domain, dev, IOMMU_NO_PASID); in intel_nested_attach_dev()
58 IOMMU_NO_PASID, dmar_domain); in intel_nested_attach_dev()
62 info->domain = dmar_domain; in intel_nested_attach_dev()
64 spin_lock_irqsave(&dmar_domain->lock, flags); in intel_nested_attach_dev()
65 list_add(&info->link, &dmar_domain->devices); in intel_nested_attach_dev()
66 spin_unlock_irqrestore(&dmar_domain->lock, flags); in intel_nested_attach_dev()
72 cache_tag_unassign_domain(dmar_domain, dev, IOMMU_NO_PASID); in intel_nested_attach_dev()
[all …]
H A Dcache.c43 int cache_tag_assign(struct dmar_domain *domain, u16 did, struct device *dev, in cache_tag_assign()
93 static void cache_tag_unassign(struct dmar_domain *domain, u16 did, in cache_tag_unassign()
117 static int domain_qi_batch_alloc(struct dmar_domain *domain) in domain_qi_batch_alloc()
135 static int __cache_tag_assign_domain(struct dmar_domain *domain, u16 did, in __cache_tag_assign_domain()
156 static void __cache_tag_unassign_domain(struct dmar_domain *domain, u16 did, in __cache_tag_unassign_domain()
167 static int __cache_tag_assign_parent_domain(struct dmar_domain *domain, u16 did, in __cache_tag_assign_parent_domain()
188 static void __cache_tag_unassign_parent_domain(struct dmar_domain *domain, u16 did, in __cache_tag_unassign_parent_domain()
199 static u16 domain_get_id_for_dev(struct dmar_domain *domain, struct device *dev) in domain_get_id_for_dev()
222 int cache_tag_assign_domain(struct dmar_domain *domain, in cache_tag_assign_domain()
246 void cache_tag_unassign_domain(struct dmar_domain *domain, in cache_tag_unassign_domain()
[all …]
H A Dpasid.h310 struct dmar_domain *domain,
318 u32 pasid, struct dmar_domain *domain);
/linux/arch/x86/kernel/apic/
H A Dmsi.c345 static struct irq_domain *dmar_domain; in dmar_get_irq_domain() local
350 if (dmar_domain) in dmar_get_irq_domain()
355 dmar_domain = msi_create_irq_domain(fn, &dmar_msi_domain_info, in dmar_get_irq_domain()
357 if (!dmar_domain) in dmar_get_irq_domain()
362 return dmar_domain; in dmar_get_irq_domain()