Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_mmu.h24 int (*attach)(struct msm_mmu *mmu, const char **names, int cnt);
25 void (*detach)(struct msm_mmu *mmu, const char **names, int cnt);
26 int (*map)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt,
28 int (*unmap)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt,
30 void (*destroy)(struct msm_mmu *mmu);
33 struct msm_mmu { struct
38 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init() argument
45 struct msm_mmu *msm_iommu_new(struct device *dev, struct iommu_domain *domain);
46 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
Dmsm_iommu.c22 struct msm_mmu base;
34 static int msm_iommu_attach(struct msm_mmu *mmu, const char **names, int cnt) in msm_iommu_attach()
40 static void msm_iommu_detach(struct msm_mmu *mmu, const char **names, int cnt) in msm_iommu_detach()
46 static int msm_iommu_map(struct msm_mmu *mmu, uint32_t iova, in msm_iommu_map()
85 static int msm_iommu_unmap(struct msm_mmu *mmu, uint32_t iova, in msm_iommu_unmap()
112 static void msm_iommu_destroy(struct msm_mmu *mmu) in msm_iommu_destroy()
127 struct msm_mmu *msm_iommu_new(struct device *dev, struct iommu_domain *domain) in msm_iommu_new()
Dmsm_drv.h53 struct msm_mmu;
128 struct msm_mmu *mmus[NUM_DOMAINS];
184 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu);
Dmsm_gpu.h98 struct msm_mmu *mmu;
Dmsm_gem.c297 struct msm_mmu *mmu = priv->mmus[id]; in msm_gem_get_iova_locked()
525 struct msm_mmu *mmu = priv->mmus[id]; in msm_gem_free_object()
Dmsm_drv.c36 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu) in msm_register_mmu()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.h40 struct msm_mmu *mmu;
Dmdp5_kms.c133 struct msm_mmu *mmu = mdp5_kms->mmu; in mdp5_destroy()
477 struct msm_mmu *mmu; in mdp5_kms_init()
/linux-4.4.14/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c336 struct msm_mmu *mmu; in adreno_gpu_init()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c411 struct msm_mmu *mmu; in mdp4_kms_init()