Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/
H A Dmsm_mmu.h13 struct msm_mmu;
17 void (*detach)(struct msm_mmu *mmu);
18 void (*prealloc_count)(struct msm_mmu *mmu, struct msm_mmu_prealloc *p,
20 int (*prealloc_allocate)(struct msm_mmu *mmu, struct msm_mmu_prealloc *p);
21 void (*prealloc_cleanup)(struct msm_mmu *mmu, struct msm_mmu_prealloc *p);
22 int (*map)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt,
24 int (*unmap)(struct msm_mmu *mmu, uint64_t iova, size_t len);
25 void (*destroy)(struct msm_mmu *mmu);
26 void (*set_stall)(struct msm_mmu *mmu, bool enable);
53 struct msm_mmu { struct
[all …]
H A Dmsm_iommu.c15 struct msm_mmu base;
28 struct msm_mmu base;
29 struct msm_mmu *parent;
40 static struct msm_iommu_pagetable *to_pagetable(struct msm_mmu *mmu) in to_pagetable()
101 static int msm_iommu_pagetable_unmap(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_unmap()
134 static int msm_iommu_pagetable_map_prr(struct msm_mmu *mmu, u64 iova, size_t len, int prot) in msm_iommu_pagetable_map_prr()
164 static int msm_iommu_pagetable_map(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_map()
221 static void msm_iommu_pagetable_destroy(struct msm_mmu *mmu) in msm_iommu_pagetable_destroy()
248 int msm_iommu_pagetable_params(struct msm_mmu *mmu, in msm_iommu_pagetable_params()
267 struct iommu_domain_geometry *msm_iommu_get_geometry(struct msm_mmu *mmu) in msm_iommu_get_geometry()
[all …]
H A Dmsm_drv.h45 struct msm_mmu;
229 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu);
230 void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu);
H A Dmsm_kms.c183 struct msm_mmu *mmu; in msm_kms_init_vm()
/linux/drivers/gpu/drm/msm/adreno/
H A Da2xx_gpummu.c15 struct msm_mmu base;
27 static void a2xx_gpummu_detach(struct msm_mmu *mmu) in a2xx_gpummu_detach()
31 static int a2xx_gpummu_map(struct msm_mmu *mmu, uint64_t iova, in a2xx_gpummu_map()
62 static int a2xx_gpummu_unmap(struct msm_mmu *mmu, uint64_t iova, size_t len) in a2xx_gpummu_unmap()
77 static void a2xx_gpummu_destroy(struct msm_mmu *mmu) in a2xx_gpummu_destroy()
94 struct msm_mmu *a2xx_gpummu_new(struct device *dev, struct msm_gpu *gpu) in a2xx_gpummu_new()
115 void a2xx_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base, in a2xx_gpummu_params()
H A Da2xx_gpu.h24 struct msm_mmu *a2xx_gpummu_new(struct device *dev, struct msm_gpu *gpu);
25 void a2xx_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base,
H A Da2xx_gpu.c475 struct msm_mmu *mmu = a2xx_gpummu_new(&pdev->dev, gpu); in a2xx_create_vm()
/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_kms.c131 struct msm_mmu *mmu = to_msm_vm(kms->vm)->mmu; in mdp4_destroy()