Lines Matching refs:shmobile_iommu_domain
35 struct shmobile_iommu_domain *attached;
40 struct shmobile_iommu_domain { struct
51 static struct shmobile_iommu_domain *to_sh_domain(struct iommu_domain *dom) in to_sh_domain() argument
53 return container_of(dom, struct shmobile_iommu_domain, domain); in to_sh_domain()
93 struct shmobile_iommu_domain *sh_domain; in shmobile_iommu_domain_alloc()
117 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_domain_free()
132 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_attach_device()
161 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_detach_device()
178 static void domain_tlb_flush(struct shmobile_iommu_domain *sh_domain) in domain_tlb_flush()
188 static int l2alloc(struct shmobile_iommu_domain *sh_domain, in l2alloc()
209 static void l2free(struct shmobile_iommu_domain *sh_domain, in l2free()
224 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_map()
268 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_unmap()
308 struct shmobile_iommu_domain *sh_domain = to_sh_domain(domain); in shmobile_iommu_iova_to_phys()