Lines Matching refs:iommu_domain
79 struct iommu_domain domain;
87 static struct sprd_iommu_domain *to_sprd_domain(struct iommu_domain *dom) in to_sprd_domain()
130 sprd_iommu_pgt_size(struct iommu_domain *domain) in sprd_iommu_pgt_size()
137 static struct iommu_domain *sprd_iommu_domain_alloc(unsigned int domain_type) in sprd_iommu_domain_alloc()
243 static void sprd_iommu_domain_free(struct iommu_domain *domain) in sprd_iommu_domain_free()
251 static int sprd_iommu_attach_device(struct iommu_domain *domain, in sprd_iommu_attach_device()
288 static int sprd_iommu_map(struct iommu_domain *domain, unsigned long iova, in sprd_iommu_map()
325 static size_t sprd_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in sprd_iommu_unmap()
348 static void sprd_iommu_sync_map(struct iommu_domain *domain, in sprd_iommu_sync_map()
363 static void sprd_iommu_sync(struct iommu_domain *domain, in sprd_iommu_sync()
369 static phys_addr_t sprd_iommu_iova_to_phys(struct iommu_domain *domain, in sprd_iommu_iova_to_phys()