Lines Matching refs:iommu_domain
26 static struct fsl_dma_domain *to_fsl_dma_domain(struct iommu_domain *dom) in to_fsl_dma_domain()
28 return container_of(dom, struct fsl_dma_domain, iommu_domain); in to_fsl_dma_domain()
171 static phys_addr_t fsl_pamu_iova_to_phys(struct iommu_domain *domain, in fsl_pamu_iova_to_phys()
185 static void fsl_pamu_domain_free(struct iommu_domain *domain) in fsl_pamu_domain_free()
194 static struct iommu_domain *fsl_pamu_domain_alloc(unsigned type) in fsl_pamu_domain_alloc()
210 dma_domain->iommu_domain. geometry.aperture_start = 0; in fsl_pamu_domain_alloc()
211 dma_domain->iommu_domain.geometry.aperture_end = (1ULL << 36) - 1; in fsl_pamu_domain_alloc()
212 dma_domain->iommu_domain.geometry.force_aperture = true; in fsl_pamu_domain_alloc()
214 return &dma_domain->iommu_domain; in fsl_pamu_domain_alloc()
232 static int fsl_pamu_attach_device(struct iommu_domain *domain, in fsl_pamu_attach_device()
285 static void fsl_pamu_detach_device(struct iommu_domain *domain, in fsl_pamu_detach_device()
317 int fsl_pamu_configure_l1_stash(struct iommu_domain *domain, u32 cpu) in fsl_pamu_configure_l1_stash()