Searched refs:etnaviv_iommu_context (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/gpu/drm/etnaviv/ |
H A 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 …]
|
H A 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()
|
H A 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() 140 struct etnaviv_iommu_context *context = mapping->context; in etnaviv_iommu_reap_mapping() 151 static int etnaviv_iommu_find_iova(struct etnaviv_iommu_context *context, in etnaviv_iommu_find_iova() 233 static int etnaviv_iommu_insert_exact(struct etnaviv_iommu_context *context, in etnaviv_iommu_insert_exact() 278 int etnaviv_iommu_map_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_map_gem() 333 void etnaviv_iommu_unmap_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_unmap_gem() [all …]
|
H A 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 …]
|
H A 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,
|
H A 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,
|
H A D | etnaviv_drv.h | 33 struct etnaviv_iommu_context *mmu; 78 struct etnaviv_iommu_context *mmu,
|
H A 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()
|
H A 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() 503 struct etnaviv_iommu_context *context = mapping->context; in etnaviv_gem_free_object()
|
H A D | etnaviv_buffer.c | 341 struct etnaviv_iommu_context *mmu_context, unsigned int event, in etnaviv_buffer_queue() 399 struct etnaviv_iommu_context *old_context = gpu->mmu_context; in etnaviv_buffer_queue()
|
H A D | etnaviv_gpu.h | 152 struct etnaviv_iommu_context *mmu_context;
|
H A D | etnaviv_dump.c | 101 struct etnaviv_iommu_context *mmu, size_t mmu_size) in etnaviv_core_dump_mmu()
|
H A D | etnaviv_drv.c | 153 struct etnaviv_iommu_context *mmu_context; in etnaviv_mmu_show()
|
H A D | etnaviv_gpu.c | 684 struct etnaviv_iommu_context *context) in etnaviv_gpu_start_fe_idleloop()
|