Home
last modified time | relevance | path

Searched refs:msm_mmu (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_mmu.h13 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, struct iommu_domain *domain);
44 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
46 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler()
[all …]
Dmsm_iommu.c13 struct msm_mmu base;
21 struct msm_mmu base;
22 struct msm_mmu *parent;
28 static struct msm_iommu_pagetable *to_pagetable(struct msm_mmu *mmu) in to_pagetable()
89 static int msm_iommu_pagetable_unmap(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_unmap()
113 static int msm_iommu_pagetable_map(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_map()
152 static void msm_iommu_pagetable_destroy(struct msm_mmu *mmu) in msm_iommu_pagetable_destroy()
170 int msm_iommu_pagetable_params(struct msm_mmu *mmu, in msm_iommu_pagetable_params()
218 struct msm_mmu *msm_iommu_pagetable_create(struct msm_mmu *parent) in msm_iommu_pagetable_create()
313 static void msm_iommu_resume_translation(struct msm_mmu *mmu) in msm_iommu_resume_translation()
[all …]
Dmsm_gpummu.c12 struct msm_mmu base;
24 static void msm_gpummu_detach(struct msm_mmu *mmu) in msm_gpummu_detach()
28 static int msm_gpummu_map(struct msm_mmu *mmu, uint64_t iova, in msm_gpummu_map()
56 static int msm_gpummu_unmap(struct msm_mmu *mmu, uint64_t iova, size_t len) in msm_gpummu_unmap()
71 static void msm_gpummu_resume_translation(struct msm_mmu *mmu) in msm_gpummu_resume_translation()
75 static void msm_gpummu_destroy(struct msm_mmu *mmu) in msm_gpummu_destroy()
93 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu) in msm_gpummu_new()
114 void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base, in msm_gpummu_params()
Dmsm_drv.h45 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);
Dmsm_gem.h31 struct msm_mmu *mmu;
55 msm_gem_address_space_create(struct msm_mmu *mmu, const char *name,
Dmsm_gem_vma.c170 msm_gem_address_space_create(struct msm_mmu *mmu, const char *name, in msm_gem_address_space_create()
Dmsm_drv.c282 struct msm_mmu *mmu; in msm_kms_init_aspace()
/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Da2xx_gpu.c453 struct msm_mmu *mmu = msm_gpummu_new(&pdev->dev, gpu); in a2xx_create_address_space()
Da6xx_gpu.c1797 struct msm_mmu *mmu; in a6xx_create_address_space()
1838 struct msm_mmu *mmu; in a6xx_create_private_address_space()
Dadreno_gpu.c204 struct msm_mmu *mmu; in adreno_iommu_create_address_space()
Da6xx_gmu.c1220 struct msm_mmu *mmu; in a6xx_gmu_memory_probe()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c504 struct msm_mmu *mmu = msm_iommu_new(&pdev->dev, iommu); in mdp4_kms_init()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c974 struct msm_mmu *mmu; in _dpu_kms_mmu_destroy()