Lines Matching refs:domain
192 struct iommu_domain *domain; member
203 struct iommu_domain domain; /* generic domain data structure */ member
214 struct iommu_domain *domain; member
220 return container_of(dom, struct exynos_iommu_domain, domain); in to_exynos_domain()
347 if (data->domain) in exynos_sysmmu_irq()
348 ret = report_iommu_fault(data->domain, in exynos_sysmmu_irq()
391 data->domain = NULL; in __sysmmu_disable()
446 phys_addr_t pgtable, struct iommu_domain *domain) in __sysmmu_enable() argument
454 data->domain = domain; in __sysmmu_enable()
480 struct iommu_domain *domain) in __exynos_sysmmu_enable() argument
493 ret = __sysmmu_enable(data, pgtable, domain); in __exynos_sysmmu_enable()
743 exynos_domain->domain.geometry.aperture_start = 0; in exynos_iommu_domain_alloc()
744 exynos_domain->domain.geometry.aperture_end = ~0UL; in exynos_iommu_domain_alloc()
745 exynos_domain->domain.geometry.force_aperture = true; in exynos_iommu_domain_alloc()
747 return &exynos_domain->domain; in exynos_iommu_domain_alloc()
756 static void exynos_iommu_domain_free(struct iommu_domain *domain) in exynos_iommu_domain_free() argument
758 struct exynos_iommu_domain *priv = to_exynos_domain(domain); in exynos_iommu_domain_free()
787 static int exynos_iommu_attach_device(struct iommu_domain *domain, in exynos_iommu_attach_device() argument
791 struct exynos_iommu_domain *priv = to_exynos_domain(domain); in exynos_iommu_attach_device()
798 ret = __exynos_sysmmu_enable(dev, pagetable, domain); in exynos_iommu_attach_device()
801 owner->domain = domain; in exynos_iommu_attach_device()
818 static void exynos_iommu_detach_device(struct iommu_domain *domain, in exynos_iommu_detach_device() argument
822 struct exynos_iommu_domain *priv = to_exynos_domain(domain); in exynos_iommu_detach_device()
832 owner->domain = NULL; in exynos_iommu_detach_device()
995 static int exynos_iommu_map(struct iommu_domain *domain, unsigned long l_iova, in exynos_iommu_map() argument
998 struct exynos_iommu_domain *priv = to_exynos_domain(domain); in exynos_iommu_map()
1049 static size_t exynos_iommu_unmap(struct iommu_domain *domain, in exynos_iommu_unmap() argument
1052 struct exynos_iommu_domain *priv = to_exynos_domain(domain); in exynos_iommu_unmap()
1126 static phys_addr_t exynos_iommu_iova_to_phys(struct iommu_domain *domain, in exynos_iommu_iova_to_phys() argument
1129 struct exynos_iommu_domain *priv = to_exynos_domain(domain); in exynos_iommu_iova_to_phys()