Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.h20 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 …]
Detnaviv_iommu.c22 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()
122 struct etnaviv_iommu_context *
126 struct etnaviv_iommu_context *context; in etnaviv_iommuv1_context_alloc()
Detnaviv_iommu_v2.c31 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()
186 struct etnaviv_iommu_context *context) in etnaviv_iommuv2_restore_sec()
223 u32 etnaviv_iommuv2_get_mtlb_addr(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_get_mtlb_addr()
[all …]
Detnaviv_mmu.c16 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()
102 static void etnaviv_iommu_unmap(struct etnaviv_iommu_context *context, u32 iova, in etnaviv_iommu_unmap()
122 static void etnaviv_iommu_remove_mapping(struct etnaviv_iommu_context *context, in etnaviv_iommu_remove_mapping()
132 static int etnaviv_iommu_find_iova(struct etnaviv_iommu_context *context, in etnaviv_iommu_find_iova()
216 static int etnaviv_iommu_insert_exact(struct etnaviv_iommu_context *context, in etnaviv_iommu_insert_exact()
223 int etnaviv_iommu_map_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_map_gem()
277 void etnaviv_iommu_unmap_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_unmap_gem()
295 struct etnaviv_iommu_context *context = in etnaviv_iommu_context_free()
[all …]
Detnaviv_cmdbuf.h12 struct etnaviv_iommu_context;
31 struct etnaviv_iommu_context *context,
34 void etnaviv_cmdbuf_suballoc_unmap(struct etnaviv_iommu_context *context,
Detnaviv_gem.h28 struct etnaviv_iommu_context *context;
97 struct etnaviv_iommu_context *mmu_context, *prev_mmu_context;
123 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context,
Detnaviv_cmdbuf.c64 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()
Detnaviv_drv.h30 struct etnaviv_iommu_context *mmu;
78 struct etnaviv_iommu_context *mmu,
Detnaviv_gpu.h136 struct etnaviv_iommu_context *mmu_context;
Detnaviv_gem.c227 struct etnaviv_iommu_context *context) in etnaviv_gem_get_vram_mapping()
252 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context, in etnaviv_gem_mapping_get()
532 struct etnaviv_iommu_context *context = mapping->context; in etnaviv_gem_free_object()
Detnaviv_buffer.c340 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()
Detnaviv_dump.c96 struct etnaviv_iommu_context *mmu, size_t mmu_size) in etnaviv_core_dump_mmu()
Detnaviv_drv.c133 struct etnaviv_iommu_context *mmu_context; in etnaviv_mmu_show()