Home
last modified time | relevance | path

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

/linux-6.6.21/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, unsigned long quirks);
44 struct msm_mmu *msm_iommu_gpu_new(struct device *dev, struct msm_gpu *gpu, unsigned long quirks);
45 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
[all …]
Dmsm_iommu.c13 struct msm_mmu base;
21 struct msm_mmu base;
22 struct msm_mmu *parent;
30 static struct msm_iommu_pagetable *to_pagetable(struct msm_mmu *mmu) in to_pagetable()
91 static int msm_iommu_pagetable_unmap(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_unmap()
115 static int msm_iommu_pagetable_map(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_map()
154 static void msm_iommu_pagetable_destroy(struct msm_mmu *mmu) in msm_iommu_pagetable_destroy()
172 int msm_iommu_pagetable_params(struct msm_mmu *mmu, in msm_iommu_pagetable_params()
191 struct iommu_domain_geometry *msm_iommu_get_geometry(struct msm_mmu *mmu) in msm_iommu_get_geometry()
249 struct msm_mmu *msm_iommu_pagetable_create(struct msm_mmu *parent) in msm_iommu_pagetable_create()
[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;
273 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu);
274 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.c154 msm_gem_address_space_create(struct msm_mmu *mmu, const char *name, in msm_gem_address_space_create()
Dmsm_drv.c271 struct msm_mmu *mmu; in msm_kms_init_aspace()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/
Da2xx_gpu.c472 struct msm_mmu *mmu = msm_gpummu_new(&pdev->dev, gpu); in a2xx_create_address_space()
Dadreno_gpu.c207 struct msm_mmu *mmu; in adreno_iommu_create_address_space()
Da6xx_gmu.c1191 struct msm_mmu *mmu; in a6xx_gmu_memory_probe()
Da6xx_gpu.c2147 struct msm_mmu *mmu; in a6xx_create_private_address_space()
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c385 struct msm_mmu *mmu; in mdp4_kms_init()
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c1018 struct msm_mmu *mmu; in _dpu_kms_mmu_destroy()