Lines Matching refs:mmu
24 int (*attach)(struct msm_mmu *mmu, const char * const *names, int cnt);
25 void (*detach)(struct msm_mmu *mmu, const char * const *names, int cnt);
26 int (*map)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt,
28 int (*unmap)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt,
30 void (*destroy)(struct msm_mmu *mmu);
40 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init() argument
43 mmu->dev = dev; in msm_mmu_init()
44 mmu->funcs = funcs; in msm_mmu_init()
50 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler() argument
53 mmu->arg = arg; in msm_mmu_set_fault_handler()
54 mmu->handler = handler; in msm_mmu_set_fault_handler()