Searched refs:msm_mmu (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_mmu.h | 13 int (*attach)(struct msm_mmu *mmu, const char * const *names, int cnt); 14 void (*detach)(struct msm_mmu *mmu, const char * const *names, int cnt); 15 int (*map)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt, 17 int (*unmap)(struct msm_mmu *mmu, uint64_t iova, unsigned len); 18 void (*destroy)(struct msm_mmu *mmu); 21 struct msm_mmu { struct 28 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init() argument 35 struct msm_mmu *msm_iommu_new(struct device *dev, struct iommu_domain *domain); 36 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu); 38 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler() [all …]
|
D | msm_gpummu.c | 12 struct msm_mmu base; 24 static int msm_gpummu_attach(struct msm_mmu *mmu, const char * const *names, in msm_gpummu_attach() 30 static void msm_gpummu_detach(struct msm_mmu *mmu, const char * const *names, in msm_gpummu_detach() 35 static int msm_gpummu_map(struct msm_mmu *mmu, uint64_t iova, in msm_gpummu_map() 64 static int msm_gpummu_unmap(struct msm_mmu *mmu, uint64_t iova, unsigned len) in msm_gpummu_unmap() 79 static void msm_gpummu_destroy(struct msm_mmu *mmu) in msm_gpummu_destroy() 97 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu) in msm_gpummu_new() 118 void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base, in msm_gpummu_params()
|
D | msm_iommu.c | 11 struct msm_mmu base; 26 static int msm_iommu_attach(struct msm_mmu *mmu, const char * const *names, in msm_iommu_attach() 34 static void msm_iommu_detach(struct msm_mmu *mmu, const char * const *names, in msm_iommu_detach() 42 static int msm_iommu_map(struct msm_mmu *mmu, uint64_t iova, in msm_iommu_map() 54 static int msm_iommu_unmap(struct msm_mmu *mmu, uint64_t iova, unsigned len) in msm_iommu_unmap() 63 static void msm_iommu_destroy(struct msm_mmu *mmu) in msm_iommu_destroy() 78 struct msm_mmu *msm_iommu_new(struct device *dev, struct iommu_domain *domain) in msm_iommu_new()
|
D | msm_drv.h | 38 struct msm_mmu; 257 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu); 258 void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu);
|
D | msm_gem.h | 24 struct msm_mmu *mmu;
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_kms.c | 721 struct msm_mmu *mmu; in _dpu_kms_mmu_destroy()
|