Home
last modified time | relevance | path

Searched defs:alloc (Results 1 – 25 of 88) sorted by relevance

1234

/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_ump.c22 mali_mem_allocation *alloc; in mali_mem_ump_map() local
98 static void mali_mem_ump_unmap(mali_mem_allocation *alloc) in mali_mem_ump_unmap()
110 int mali_mem_bind_ump_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend, u32 secure_id… in mali_mem_bind_ump_buf()
143 mali_mem_allocation *alloc; in mali_mem_unbind_ump_buf() local
Dmali_memory_external.c20 mali_mem_allocation *alloc; in mali_mem_unbind_ext_buf() local
35 _mali_osk_errcode_t mali_mem_bind_ext_buf(mali_mem_allocation *alloc, in mali_mem_bind_ext_buf()
Dmali_memory_util.c133 u32 mali_allocation_unref(struct mali_mem_allocation **alloc) in mali_allocation_unref()
144 void mali_allocation_ref(struct mali_mem_allocation *alloc) in mali_allocation_ref()
Dmali_memory_dma_buf.c37 mali_mem_allocation *alloc; in mali_dma_buf_map() local
123 static void mali_dma_buf_unmap(mali_mem_allocation *alloc, struct mali_dma_buf_attachment *mem) in mali_dma_buf_unmap()
274 _mali_osk_errcode_t mali_mem_bind_dma_buf(mali_mem_allocation *alloc, in mali_mem_bind_dma_buf()
Dmali_memory.c44 mali_mem_allocation *alloc = (mali_mem_allocation *)vma->vm_private_data; in mali_mem_vma_open() local
54 mali_mem_allocation *alloc = (mali_mem_allocation *)vma->vm_private_data; in mali_mem_vma_close() local
63 mali_mem_allocation *alloc = (mali_mem_allocation *)vma->vm_private_data; in mali_mem_vma_fault() local
Dmali_memory_secure.c93 void mali_mem_secure_mali_unmap(mali_mem_allocation *alloc) in mali_mem_secure_mali_unmap()
149 mali_mem_allocation *alloc = mem_bkend->mali_allocation; in mali_mem_secure_release() local
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_ump.c23 mali_mem_allocation *alloc; in mali_mem_ump_map() local
99 static void mali_mem_ump_unmap(mali_mem_allocation *alloc) in mali_mem_ump_unmap()
110 int mali_mem_bind_ump_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend, u32 secure_id,… in mali_mem_bind_ump_buf()
145 mali_mem_allocation *alloc; in mali_mem_unbind_ump_buf() local
Dmali_memory_external.c21 mali_mem_allocation *alloc; in mali_mem_unbind_ext_buf() local
35 mali_osk_errcode_t mali_mem_bind_ext_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend,… in mali_mem_bind_ext_buf()
Dmali_memory_util.c133 u32 mali_allocation_unref(struct mali_mem_allocation **alloc) in mali_allocation_unref()
144 void mali_allocation_ref(struct mali_mem_allocation *alloc) in mali_allocation_ref()
Dmali_memory_dma_buf.c38 mali_mem_allocation *alloc; in mali_dma_buf_map() local
125 static void mali_dma_buf_unmap(mali_mem_allocation *alloc, struct mali_dma_buf_attachment *mem) in mali_dma_buf_unmap()
276 mali_osk_errcode_t mali_mem_bind_dma_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend,… in mali_mem_bind_dma_buf()
Dmali_memory.c42 mali_mem_allocation *alloc = (mali_mem_allocation *)vma->vm_private_data; in mali_mem_vma_open() local
52 mali_mem_allocation *alloc = (mali_mem_allocation *)vma->vm_private_data; in mali_mem_vma_close() local
61 mali_mem_allocation *alloc = (mali_mem_allocation *)vma->vm_private_data; in mali_mem_vma_fault() local
Dmali_memory_secure.c97 void mali_mem_secure_mali_unmap(mali_mem_allocation *alloc) in mali_mem_secure_mali_unmap()
151 mali_mem_allocation *alloc = mem_bkend->mali_allocation; in mali_mem_secure_release() local
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_mem.h67 struct kbase_mem_phy_alloc *alloc; member
87 struct kbase_mem_phy_alloc *alloc; /* NULL for special, non-NULL for native */ member
175 static inline void kbase_mem_phy_alloc_gpu_mapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_mapped()
184 static inline void kbase_mem_phy_alloc_gpu_unmapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_unmapped()
202 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_get(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_get()
208 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_put(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_put()
351 struct kbase_mem_phy_alloc *alloc; in kbase_alloc_create() local
Dmali_kbase_mem.c878 struct kbase_mem_phy_alloc *alloc; in kbase_gpu_mmap() local
1371 int kbase_alloc_phy_pages_helper(struct kbase_mem_phy_alloc *alloc, size_t nr_pages_requested) in kbase_alloc_phy_pages_helper()
1408 int kbase_free_phy_pages_helper(struct kbase_mem_phy_alloc *alloc, size_t nr_pages_to_free) in kbase_free_phy_pages_helper()
1450 struct kbase_mem_phy_alloc *alloc; in kbase_mem_kref_free() local
2107 struct kbase_mem_phy_alloc *alloc; in kbase_jd_user_buf_map() local
2194 static void kbase_jd_user_buf_unmap(struct kbase_context *kctx, struct kbase_mem_phy_alloc *alloc, … in kbase_jd_user_buf_unmap()
2231 struct kbase_mem_phy_alloc *alloc; in kbase_jd_umm_map() local
2301 static void kbase_jd_umm_unmap(struct kbase_context *kctx, struct kbase_mem_phy_alloc *alloc) in kbase_jd_umm_unmap()
2410 struct kbase_mem_phy_alloc *alloc) in kbase_unmap_external_resource()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_mem.h69 struct kbase_mem_phy_alloc *alloc; member
89 struct kbase_mem_phy_alloc *alloc; /* NULL for special, non-NULL for native */ member
177 static inline void kbase_mem_phy_alloc_gpu_mapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_mapped()
185 static inline void kbase_mem_phy_alloc_gpu_unmapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_unmapped()
202 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_get(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_get()
208 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_put(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_put()
349 struct kbase_mem_phy_alloc *alloc; in kbase_alloc_create() local
Dmali_kbase_mem.c906 struct kbase_mem_phy_alloc *alloc; in kbase_gpu_mmap() local
1411 struct kbase_mem_phy_alloc *alloc, in kbase_alloc_phy_pages_helper()
1452 struct kbase_mem_phy_alloc *alloc, in kbase_free_phy_pages_helper()
1502 struct kbase_mem_phy_alloc *alloc; in kbase_mem_kref_free() local
2145 struct kbase_mem_phy_alloc *alloc; in kbase_jd_user_buf_map() local
2251 struct kbase_mem_phy_alloc *alloc, bool writeable) in kbase_jd_user_buf_unmap()
2290 struct kbase_mem_phy_alloc *alloc; in kbase_jd_umm_map() local
2370 struct kbase_mem_phy_alloc *alloc) in kbase_jd_umm_unmap()
2481 struct kbase_va_region *reg, struct kbase_mem_phy_alloc *alloc) in kbase_unmap_external_resource()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_mem.h68 struct kbase_mem_phy_alloc *alloc; member
87 struct kbase_mem_phy_alloc *alloc; /* NULL for special, non-NULL for native */ member
207 static inline void kbase_mem_phy_alloc_gpu_mapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_mapped()
215 static inline void kbase_mem_phy_alloc_gpu_unmapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_unmapped()
233 kbase_mem_phy_alloc_kernel_mapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_kernel_mapped()
245 kbase_mem_phy_alloc_kernel_unmapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_kernel_unmapped()
269 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_get(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_get()
275 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_put(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_put()
641 struct kbase_mem_phy_alloc *alloc; in kbase_alloc_create() local
Dmali_kbase_trace_gpu_mem.c163 struct kbase_mem_phy_alloc *alloc) in kbase_remove_dma_buf_usage()
193 struct kbase_mem_phy_alloc *alloc) in kbase_add_dma_buf_usage()
Dmali_kbase_mem_linux.c217 struct kbase_mem_phy_alloc *alloc) in kbase_phy_alloc_mapping_term()
678 struct kbase_mem_phy_alloc *alloc; in kbase_mem_evictable_reclaim_scan_objects() local
756 void kbase_mem_evictable_mark_reclaim(struct kbase_mem_phy_alloc *alloc) in kbase_mem_evictable_mark_reclaim()
779 void kbase_mem_evictable_unmark_reclaim(struct kbase_mem_phy_alloc *alloc) in kbase_mem_evictable_unmark_reclaim()
1131 struct kbase_mem_phy_alloc *alloc) in kbase_mem_umm_unmap_attachment()
1167 struct kbase_mem_phy_alloc *alloc = reg->gpu_alloc; in kbase_mem_umm_map_attachment() local
1225 struct kbase_mem_phy_alloc *alloc; in kbase_mem_umm_map() local
1302 struct kbase_va_region *reg, struct kbase_mem_phy_alloc *alloc) in kbase_mem_umm_unmap()
1826 struct kbase_mem_phy_alloc *alloc; local
Dmali_kbase_mem.c1512 struct kbase_mem_phy_alloc *alloc; in kbase_gpu_mmap() local
1636 struct kbase_mem_phy_alloc *alloc = reg->gpu_alloc; in kbase_gpu_munmap() local
2202 int kbase_alloc_phy_pages_helper(struct kbase_mem_phy_alloc *alloc, in kbase_alloc_phy_pages_helper()
2395 struct kbase_mem_phy_alloc *alloc, struct kbase_mem_pool *pool, in kbase_alloc_phy_pages_helper_locked()
2621 struct kbase_mem_phy_alloc *alloc, in kbase_free_phy_pages_helper()
2742 void kbase_free_phy_pages_helper_locked(struct kbase_mem_phy_alloc *alloc, in kbase_free_phy_pages_helper_locked()
2851 struct kbase_mem_phy_alloc *alloc; in kbase_mem_kref_free() local
4540 static void kbase_jd_user_buf_unpin_pages(struct kbase_mem_phy_alloc *alloc) in kbase_jd_user_buf_unpin_pages()
4557 struct kbase_mem_phy_alloc *alloc = reg->gpu_alloc; in kbase_jd_user_buf_pin_pages() local
4632 struct kbase_mem_phy_alloc *alloc; in kbase_jd_user_buf_map() local
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_trace_gpu_mem.c160 void kbase_remove_dma_buf_usage(struct kbase_context *kctx, struct kbase_mem_phy_alloc *alloc) in kbase_remove_dma_buf_usage()
190 void kbase_add_dma_buf_usage(struct kbase_context *kctx, struct kbase_mem_phy_alloc *alloc) in kbase_add_dma_buf_usage()
Dmali_kbase_mem_linux.c229 struct kbase_mem_phy_alloc *alloc) in kbase_phy_alloc_mapping_term()
687 struct kbase_mem_phy_alloc *alloc; in kbase_mem_evictable_reclaim_count_objects() local
723 struct kbase_mem_phy_alloc *alloc; in kbase_mem_evictable_reclaim_scan_objects() local
816 void kbase_mem_evictable_mark_reclaim(struct kbase_mem_phy_alloc *alloc) in kbase_mem_evictable_mark_reclaim()
835 kbase_mem_evictable_unmark_reclaim(struct kbase_mem_phy_alloc *alloc) in kbase_mem_evictable_unmark_reclaim()
1182 struct kbase_mem_phy_alloc *alloc) in kbase_mem_umm_unmap_attachment()
1218 struct kbase_mem_phy_alloc *alloc = reg->gpu_alloc; in kbase_mem_umm_map_attachment() local
1277 struct kbase_mem_phy_alloc *alloc; in kbase_mem_umm_map() local
1350 struct kbase_mem_phy_alloc *alloc) in kbase_mem_umm_unmap()
1883 struct kbase_mem_phy_alloc *alloc; local
Dmali_kbase_mem.h67 struct kbase_mem_phy_alloc *alloc; member
85 struct kbase_mem_phy_alloc *alloc; /* NULL for special, non-NULL for native */ member
198 static inline void kbase_mem_phy_alloc_gpu_mapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_mapped()
207 static inline void kbase_mem_phy_alloc_gpu_unmapped(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_gpu_unmapped()
237 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_get(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_get()
243 static inline struct kbase_mem_phy_alloc *kbase_mem_phy_alloc_put(struct kbase_mem_phy_alloc *alloc) in kbase_mem_phy_alloc_put()
561 struct kbase_mem_phy_alloc *alloc; in kbase_alloc_create() local
Dmali_kbase_mem.c1235 struct kbase_mem_phy_alloc *alloc; in kbase_gpu_mmap() local
1882 int kbase_alloc_phy_pages_helper(struct kbase_mem_phy_alloc *alloc, size_t nr_pages_requested) in kbase_alloc_phy_pages_helper()
2052 struct tagged_addr *kbase_alloc_phy_pages_helper_locked(struct kbase_mem_phy_alloc *alloc, struct k… in kbase_alloc_phy_pages_helper_locked()
2252 int kbase_free_phy_pages_helper(struct kbase_mem_phy_alloc *alloc, size_t nr_pages_to_free) in kbase_free_phy_pages_helper()
2352 void kbase_free_phy_pages_helper_locked(struct kbase_mem_phy_alloc *alloc, struct kbase_mem_pool *p… in kbase_free_phy_pages_helper_locked()
2444 struct kbase_mem_phy_alloc *alloc; in kbase_mem_kref_free() local
4070 static void kbase_jd_user_buf_unpin_pages(struct kbase_mem_phy_alloc *alloc) in kbase_jd_user_buf_unpin_pages()
4087 struct kbase_mem_phy_alloc *alloc = reg->gpu_alloc; in kbase_jd_user_buf_pin_pages() local
4149 struct kbase_mem_phy_alloc *alloc; in kbase_jd_user_buf_map() local
4220 static void kbase_jd_user_buf_unmap(struct kbase_context *kctx, struct kbase_mem_phy_alloc *alloc, … in kbase_jd_user_buf_unmap()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/media/include/
Dmlist.h26 alloc_fn alloc; member

1234