Lines Matching full: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);
35 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init() argument
38 mmu->dev = dev; in msm_mmu_init()
39 mmu->funcs = funcs; in msm_mmu_init()
40 mmu->type = type; in msm_mmu_init()
47 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler() argument
50 mmu->arg = arg; in msm_mmu_set_fault_handler()
51 mmu->handler = handler; in msm_mmu_set_fault_handler()
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);