Lines Matching refs:msm_mmu
13 void (*detach)(struct msm_mmu *mmu);
14 int (*map)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt,
16 int (*unmap)(struct msm_mmu *mmu, uint64_t iova, size_t len);
17 void (*destroy)(struct msm_mmu *mmu);
18 void (*resume_translation)(struct msm_mmu *mmu);
27 struct msm_mmu { struct
35 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init() argument
43 struct msm_mmu *msm_iommu_new(struct device *dev, unsigned long quirks);
44 struct msm_mmu *msm_iommu_gpu_new(struct device *dev, struct msm_gpu *gpu, unsigned long quirks);
45 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
47 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler()
54 struct msm_mmu *msm_iommu_pagetable_create(struct msm_mmu *parent);
56 void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base,
60 int msm_iommu_pagetable_params(struct msm_mmu *mmu, phys_addr_t *ttbr,
62 struct iommu_domain_geometry *msm_iommu_get_geometry(struct msm_mmu *mmu);