Lines Matching refs:domain
23 struct iommu_domain *domain; member
37 return iommu_attach_device(iommu->domain, mmu->dev); in msm_iommu_attach()
43 iommu_detach_device(iommu->domain, mmu->dev); in msm_iommu_detach()
50 struct iommu_domain *domain = iommu->domain; in msm_iommu_map() local
56 if (!domain || !sgt) in msm_iommu_map()
65 ret = iommu_map(domain, da, pa, bytes, prot); in msm_iommu_map()
79 iommu_unmap(domain, da, bytes); in msm_iommu_map()
89 struct iommu_domain *domain = iommu->domain; in msm_iommu_unmap() local
98 unmapped = iommu_unmap(domain, da, bytes); in msm_iommu_unmap()
115 iommu_domain_free(iommu->domain); in msm_iommu_destroy()
127 struct msm_mmu *msm_iommu_new(struct device *dev, struct iommu_domain *domain) in msm_iommu_new() argument
135 iommu->domain = domain; in msm_iommu_new()
137 iommu_set_fault_handler(domain, msm_fault_handler, dev); in msm_iommu_new()