Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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);
26 struct msm_mmu { struct
34 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init() argument
42 struct msm_mmu *msm_iommu_new(struct device *dev, struct iommu_domain *domain);
43 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
45 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler()
52 struct msm_mmu *msm_iommu_pagetable_create(struct msm_mmu *parent);
[all …]
Dmsm_iommu.c13 struct msm_mmu base;
21 struct msm_mmu base;
22 struct msm_mmu *parent;
27 static struct msm_iommu_pagetable *to_pagetable(struct msm_mmu *mmu) in to_pagetable()
32 static int msm_iommu_pagetable_unmap(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_unmap()
51 static int msm_iommu_pagetable_map(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_map()
82 static void msm_iommu_pagetable_destroy(struct msm_mmu *mmu) in msm_iommu_pagetable_destroy()
100 int msm_iommu_pagetable_params(struct msm_mmu *mmu, in msm_iommu_pagetable_params()
146 struct msm_mmu *msm_iommu_pagetable_create(struct msm_mmu *parent) in msm_iommu_pagetable_create()
221 static void msm_iommu_detach(struct msm_mmu *mmu) in msm_iommu_detach()
[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_destroy(struct msm_mmu *mmu) in msm_gpummu_destroy()
88 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu) in msm_gpummu_new()
109 void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base, in msm_gpummu_params()
Dmsm_drv.h38 struct msm_mmu;
262 msm_gem_address_space_create(struct msm_mmu *mmu, const char *name,
265 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu);
266 void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu);
Dmsm_gem.h25 struct msm_mmu *mmu;
Dmsm_gem_vma.c143 msm_gem_address_space_create(struct msm_mmu *mmu, const char *name, in msm_gem_address_space_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da2xx_gpu.c454 struct msm_mmu *mmu = msm_gpummu_new(&pdev->dev, gpu); in a2xx_create_address_space()
Dadreno_gpu.c193 struct msm_mmu *mmu; in adreno_iommu_create_address_space()
Da6xx_gpu.c1217 struct msm_mmu *mmu; in a6xx_create_private_address_space()
Da6xx_gmu.c1168 struct msm_mmu *mmu; in a6xx_gmu_memory_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c825 struct msm_mmu *mmu; in _dpu_kms_mmu_destroy()
842 struct msm_mmu *mmu; in _dpu_kms_mmu_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c508 struct msm_mmu *mmu = msm_iommu_new(&pdev->dev, in mdp4_kms_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c627 struct msm_mmu *mmu; in mdp5_kms_init()