Searched refs:etnaviv_iommu_context (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.h | 20 struct etnaviv_iommu_context; 23 struct etnaviv_iommu_context *(*init)(struct etnaviv_iommu_global *); 24 void (*free)(struct etnaviv_iommu_context *); 25 int (*map)(struct etnaviv_iommu_context *context, unsigned long iova, 27 size_t (*unmap)(struct etnaviv_iommu_context *context, unsigned long iova, 29 size_t (*dump_size)(struct etnaviv_iommu_context *); 30 void (*dump)(struct etnaviv_iommu_context *, void *); 31 void (*restore)(struct etnaviv_gpu *, struct etnaviv_iommu_context *); 58 struct etnaviv_iommu_context *shared_context; 70 struct etnaviv_iommu_context { struct [all …]
|
D | etnaviv_iommu.c | 22 struct etnaviv_iommu_context base; 28 to_v1_context(struct etnaviv_iommu_context *context) in to_v1_context() 33 static void etnaviv_iommuv1_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv1_free() 47 static int etnaviv_iommuv1_map(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_map() 62 static size_t etnaviv_iommuv1_unmap(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_unmap() 76 static size_t etnaviv_iommuv1_dump_size(struct etnaviv_iommu_context *context) in etnaviv_iommuv1_dump_size() 81 static void etnaviv_iommuv1_dump(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_dump() 90 struct etnaviv_iommu_context *context) in etnaviv_iommuv1_restore() 126 struct etnaviv_iommu_context * 130 struct etnaviv_iommu_context *context; in etnaviv_iommuv1_context_alloc()
|
D | etnaviv_iommu_v2.c | 31 struct etnaviv_iommu_context base; 42 to_v2_context(struct etnaviv_iommu_context *context) in to_v2_context() 47 static void etnaviv_iommuv2_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_free() 92 static int etnaviv_iommuv2_map(struct etnaviv_iommu_context *context, in etnaviv_iommuv2_map() 121 static size_t etnaviv_iommuv2_unmap(struct etnaviv_iommu_context *context, in etnaviv_iommuv2_unmap() 138 static size_t etnaviv_iommuv2_dump_size(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_dump_size() 151 static void etnaviv_iommuv2_dump(struct etnaviv_iommu_context *context, void *buf) in etnaviv_iommuv2_dump() 166 struct etnaviv_iommu_context *context) in etnaviv_iommuv2_restore_nonsec() 190 struct etnaviv_iommu_context *context) in etnaviv_iommuv2_restore_sec() 231 u32 etnaviv_iommuv2_get_mtlb_addr(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_get_mtlb_addr() [all …]
|
D | etnaviv_mmu.c | 16 static void etnaviv_context_unmap(struct etnaviv_iommu_context *context, in etnaviv_context_unmap() 39 static int etnaviv_context_map(struct etnaviv_iommu_context *context, in etnaviv_context_map() 72 static int etnaviv_iommu_map(struct etnaviv_iommu_context *context, u32 iova, in etnaviv_iommu_map() 104 static void etnaviv_iommu_unmap(struct etnaviv_iommu_context *context, u32 iova, in etnaviv_iommu_unmap() 126 static void etnaviv_iommu_remove_mapping(struct etnaviv_iommu_context *context, in etnaviv_iommu_remove_mapping() 138 static int etnaviv_iommu_find_iova(struct etnaviv_iommu_context *context, in etnaviv_iommu_find_iova() 223 static int etnaviv_iommu_insert_exact(struct etnaviv_iommu_context *context, in etnaviv_iommu_insert_exact() 271 int etnaviv_iommu_map_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_map_gem() 326 void etnaviv_iommu_unmap_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_unmap_gem() 350 struct etnaviv_iommu_context *context = in etnaviv_iommu_context_free() [all …]
|
D | etnaviv_cmdbuf.h | 12 struct etnaviv_iommu_context; 31 struct etnaviv_iommu_context *context, 34 void etnaviv_cmdbuf_suballoc_unmap(struct etnaviv_iommu_context *context,
|
D | etnaviv_gem.h | 28 struct etnaviv_iommu_context *context; 94 struct etnaviv_iommu_context *mmu_context, *prev_mmu_context; 120 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context,
|
D | etnaviv_drv.h | 30 struct etnaviv_iommu_context *mmu; 72 struct etnaviv_iommu_context *mmu,
|
D | etnaviv_cmdbuf.c | 64 struct etnaviv_iommu_context *context, in etnaviv_cmdbuf_suballoc_map() 72 void etnaviv_cmdbuf_suballoc_unmap(struct etnaviv_iommu_context *context, in etnaviv_cmdbuf_suballoc_unmap()
|
D | etnaviv_gem.c | 216 struct etnaviv_iommu_context *context) in etnaviv_gem_get_vram_mapping() 241 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context, in etnaviv_gem_mapping_get() 496 struct etnaviv_iommu_context *context = mapping->context; in etnaviv_gem_free_object()
|
D | etnaviv_gpu.h | 138 struct etnaviv_iommu_context *mmu_context;
|
D | etnaviv_buffer.c | 340 struct etnaviv_iommu_context *mmu_context, unsigned int event, in etnaviv_buffer_queue() 398 struct etnaviv_iommu_context *old_context = gpu->mmu_context; in etnaviv_buffer_queue()
|
D | etnaviv_dump.c | 96 struct etnaviv_iommu_context *mmu, size_t mmu_size) in etnaviv_core_dump_mmu()
|
D | etnaviv_drv.c | 133 struct etnaviv_iommu_context *mmu_context; in etnaviv_mmu_show()
|
D | etnaviv_gpu.c | 651 struct etnaviv_iommu_context *context) in etnaviv_gpu_start_fe_idleloop()
|