Home
last modified time | relevance | path

Searched refs:io_domain (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/iommu/
Dipmmu-vmsa.c73 struct iommu_domain io_domain; member
84 return container_of(dom, struct ipmmu_vmsa_domain, io_domain); in to_vmsa_domain()
486 domain->io_domain.geometry.aperture_end = DMA_BIT_MASK(32); in ipmmu_domain_init_context()
487 domain->io_domain.geometry.force_aperture = true; in ipmmu_domain_init_context()
576 if (!report_iommu_fault(&domain->io_domain, mmu->dev, iova, 0)) in ipmmu_domain_irq()
624 return &domain->io_domain; in __ipmmu_domain_alloc()
629 struct iommu_domain *io_domain = NULL; in ipmmu_domain_alloc() local
633 io_domain = __ipmmu_domain_alloc(type); in ipmmu_domain_alloc()
637 io_domain = __ipmmu_domain_alloc(type); in ipmmu_domain_alloc()
638 if (io_domain && iommu_get_dma_cookie(io_domain)) { in ipmmu_domain_alloc()
[all …]
Damd_iommu.c2359 struct iommu_domain *io_domain; in get_domain() local
2367 io_domain = iommu_get_domain_for_dev(dev); in get_domain()
2368 domain = to_pdomain(io_domain); in get_domain()