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);
34 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init() argument
37 mmu->dev = dev; in msm_mmu_init()
38 mmu->funcs = funcs; in msm_mmu_init()
39 mmu->type = type; in msm_mmu_init()
45 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler() argument
48 mmu->arg = arg; in msm_mmu_set_fault_handler()
49 mmu->handler = handler; in msm_mmu_set_fault_handler()
54 void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base,
58 int msm_iommu_pagetable_params(struct msm_mmu *mmu, phys_addr_t *ttbr,