Lines Matching refs:domain
45 struct iommu_domain domain; member
53 return container_of(dom, struct shmobile_iommu_domain, domain); in to_sh_domain()
112 return &sh_domain->domain; in shmobile_iommu_domain_alloc()
115 static void shmobile_iommu_domain_free(struct iommu_domain *domain) in shmobile_iommu_domain_free() argument
117 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_domain_free()
128 static int shmobile_iommu_attach_device(struct iommu_domain *domain, in shmobile_iommu_attach_device() argument
132 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_attach_device()
157 static void shmobile_iommu_detach_device(struct iommu_domain *domain, in shmobile_iommu_detach_device() argument
161 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_detach_device()
220 static int shmobile_iommu_map(struct iommu_domain *domain, unsigned long iova, in shmobile_iommu_map() argument
224 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_map()
264 static size_t shmobile_iommu_unmap(struct iommu_domain *domain, in shmobile_iommu_unmap() argument
268 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_unmap()
305 static phys_addr_t shmobile_iommu_iova_to_phys(struct iommu_domain *domain, in shmobile_iommu_iova_to_phys() argument
308 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_iova_to_phys()