Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/etnaviv/
H A 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 …]
H A 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()
126 struct etnaviv_iommu_context *
130 struct etnaviv_iommu_context *context; in etnaviv_iommuv1_context_alloc()
H A 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()
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 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()
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 Detnaviv_cmdbuf.h12 struct etnaviv_iommu_context;
31 struct etnaviv_iommu_context *context,
34 void etnaviv_cmdbuf_suballoc_unmap(struct etnaviv_iommu_context *context,
H A Detnaviv_gem.h28 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 Detnaviv_drv.h33 struct etnaviv_iommu_context *mmu;
78 struct etnaviv_iommu_context *mmu,
H A 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()
H A Detnaviv_gem.c216 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 Detnaviv_buffer.c341 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 Detnaviv_gpu.h152 struct etnaviv_iommu_context *mmu_context;
H A Detnaviv_dump.c101 struct etnaviv_iommu_context *mmu, size_t mmu_size) in etnaviv_core_dump_mmu()
H A Detnaviv_drv.c153 struct etnaviv_iommu_context *mmu_context; in etnaviv_mmu_show()
H A Detnaviv_gpu.c684 struct etnaviv_iommu_context *context) in etnaviv_gpu_start_fe_idleloop()