Home
last modified time | relevance | path

Searched defs:dmabuf (Results 1 – 25 of 77) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-buf.c47 int get_each_dmabuf(int (*callback)(const struct dma_buf *dmabuf, in get_each_dmabuf()
105 struct dma_buf *dmabuf; in dmabuffs_dname() local
121 struct dma_buf *dmabuf; in dma_buf_release() local
162 struct dma_buf *dmabuf; in dma_buf_file_release() local
205 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local
226 struct dma_buf *dmabuf; in dma_buf_llseek() local
285 struct dma_buf *dmabuf; in dma_buf_poll() local
402 static long _dma_buf_set_name(struct dma_buf *dmabuf, const char *name) in _dma_buf_set_name()
425 long dma_buf_set_name(struct dma_buf *dmabuf, const char *name) in dma_buf_set_name()
441 static long dma_buf_set_name_user(struct dma_buf *dmabuf, const char __user *buf) in dma_buf_set_name_user()
[all …]
H A Ddma-buf-sysfs-stats.c35 struct dma_buf *dmabuf; in dma_buf_stats_attribute_show() local
51 static ssize_t exporter_name_show(struct dma_buf *dmabuf, in exporter_name_show()
58 static ssize_t size_show(struct dma_buf *dmabuf, in size_show()
90 void dma_buf_stats_teardown(struct dma_buf *dmabuf) in dma_buf_stats_teardown()
146 struct dma_buf *dmabuf; member
159 struct dma_buf *dmabuf = create_entry->dmabuf; in sysfs_add_workfn() local
193 int dma_buf_stats_setup(struct dma_buf *dmabuf) in dma_buf_stats_setup()
H A Ddma-buf-cache.c24 static int dma_buf_cache_destructor(struct dma_buf *dmabuf, void *dtor_data) in dma_buf_cache_destructor()
55 struct dma_buf *dmabuf = attach->dmabuf; in dma_buf_cache_get_cache() local
70 void dma_buf_cache_detach(struct dma_buf *dmabuf, in dma_buf_cache_detach()
85 struct dma_buf_attachment *dma_buf_cache_attach(struct dma_buf *dmabuf, in dma_buf_cache_attach()
151 struct dma_buf *dmabuf = attach->dmabuf; in dma_buf_cache_unmap_attachment() local
167 struct dma_buf *dmabuf = attach->dmabuf; in dma_buf_cache_map_attachment() local
H A Ddma-buf-sysfs-stats.h28 static inline int dma_buf_stats_setup(struct dma_buf *dmabuf) in dma_buf_stats_setup()
33 static inline void dma_buf_stats_teardown(struct dma_buf *dmabuf) {} in dma_buf_stats_teardown()
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion_dma_buf.c48 static int ion_dma_buf_attach(struct dma_buf *dmabuf, in ion_dma_buf_attach()
83 static void ion_dma_buf_detatch(struct dma_buf *dmabuf, in ion_dma_buf_detatch()
150 static void ion_dma_buf_release(struct dma_buf *dmabuf) in ion_dma_buf_release()
161 static int ion_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in ion_dma_buf_begin_cpu_access()
188 ion_dma_buf_begin_cpu_access_partial(struct dma_buf *dmabuf, in ion_dma_buf_begin_cpu_access_partial()
206 static int ion_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in ion_dma_buf_end_cpu_access()
232 static int ion_dma_buf_end_cpu_access_partial(struct dma_buf *dmabuf, in ion_dma_buf_end_cpu_access_partial()
251 static int ion_dma_buf_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in ion_dma_buf_mmap()
276 static void *ion_dma_buf_vmap(struct dma_buf *dmabuf) in ion_dma_buf_vmap()
292 static void ion_dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr) in ion_dma_buf_vunmap()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Dsram_heap.c55 static int dma_heap_attach(struct dma_buf *dmabuf, in dma_heap_attach()
103 static void dma_heap_detatch(struct dma_buf *dmabuf, in dma_heap_detatch()
139 static void dma_heap_dma_buf_release(struct dma_buf *dmabuf) in dma_heap_dma_buf_release()
147 static int dma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in dma_heap_mmap()
162 static void *dma_heap_vmap(struct dma_buf *dmabuf) in dma_heap_vmap()
188 struct dma_buf *dmabuf; in sram_dma_heap_allocate() local
274 struct dma_buf *dmabuf; in sram_heap_alloc_dma_buf() local
381 void sram_heap_free_dma_buf(struct dma_buf *dmabuf) in sram_heap_free_dma_buf()
390 void *sram_heap_get_vaddr(struct dma_buf *dmabuf) in sram_heap_get_vaddr()
398 phys_addr_t sram_heap_get_paddr(struct dma_buf *dmabuf) in sram_heap_get_paddr()
H A Drk_cma_heap.c57 static int cma_heap_attach(struct dma_buf *dmabuf, in cma_heap_attach()
91 static void cma_heap_detach(struct dma_buf *dmabuf, in cma_heap_detach()
139 cma_heap_dma_buf_begin_cpu_access_partial(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access_partial()
164 cma_heap_dma_buf_end_cpu_access_partial(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access_partial()
188 static int cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access()
208 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access()
246 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap()
277 static void *cma_heap_vmap(struct dma_buf *dmabuf) in cma_heap_vmap()
301 static void cma_heap_vunmap(struct dma_buf *dmabuf, void *vaddr) in cma_heap_vunmap()
313 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release()
[all …]
H A Dcma_heap.c50 static int cma_heap_attach(struct dma_buf *dmabuf, in cma_heap_attach()
83 static void cma_heap_detach(struct dma_buf *dmabuf, in cma_heap_detach()
123 static int cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access()
144 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access()
183 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap()
207 static void *cma_heap_vmap(struct dma_buf *dmabuf) in cma_heap_vmap()
231 static void cma_heap_vunmap(struct dma_buf *dmabuf, void *vaddr) in cma_heap_vunmap()
243 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release()
285 struct dma_buf *dmabuf; in cma_heap_allocate() local
H A Dsystem_heap.c92 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach()
123 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach()
170 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access()
193 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access()
216 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap()
271 static void *system_heap_vmap(struct dma_buf *dmabuf) in system_heap_vmap()
295 static void system_heap_vunmap(struct dma_buf *dmabuf, void *vaddr) in system_heap_vunmap()
357 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release()
407 struct dma_buf *dmabuf; in system_heap_do_allocate() local
H A Drk_system_heap.c102 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach()
133 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach()
180 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access()
203 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access()
269 system_heap_dma_buf_begin_cpu_access_partial(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access_partial()
299 system_heap_dma_buf_end_cpu_access_partial(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access_partial()
325 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap()
380 static void *system_heap_vmap(struct dma_buf *dmabuf) in system_heap_vmap()
404 static void system_heap_vunmap(struct dma_buf *dmabuf, void *vaddr) in system_heap_vunmap()
466 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma-buf/rk_heaps/
H A Drk-cma-heap.c58 static int rk_cma_heap_attach(struct dma_buf *dmabuf, in rk_cma_heap_attach()
95 static void rk_cma_heap_detach(struct dma_buf *dmabuf, in rk_cma_heap_detach()
138 rk_cma_heap_dma_buf_begin_cpu_access_partial(struct dma_buf *dmabuf, in rk_cma_heap_dma_buf_begin_cpu_access_partial()
168 rk_cma_heap_dma_buf_end_cpu_access_partial(struct dma_buf *dmabuf, in rk_cma_heap_dma_buf_end_cpu_access_partial()
197 static int rk_cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in rk_cma_heap_dma_buf_begin_cpu_access()
206 static int rk_cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in rk_cma_heap_dma_buf_end_cpu_access()
215 static int rk_cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in rk_cma_heap_mmap()
241 static void *rk_cma_heap_vmap(struct dma_buf *dmabuf) in rk_cma_heap_vmap()
265 static void rk_cma_heap_vunmap(struct dma_buf *dmabuf, void *vaddr) in rk_cma_heap_vunmap()
277 static void rk_cma_heap_remove_dmabuf_list(struct dma_buf *dmabuf) in rk_cma_heap_remove_dmabuf_list()
[all …]
H A Drk-dma-heap.c112 void rk_dma_heap_buffer_free(struct dma_buf *dmabuf) in rk_dma_heap_buffer_free()
123 struct dma_buf *dmabuf; in rk_dma_heap_buffer_alloc() local
152 struct dma_buf *dmabuf; in rk_dma_heap_bufferfd_alloc() local
485 static int rk_dma_heap_dump_dmabuf(const struct dma_buf *dmabuf, void *data) in rk_dma_heap_dump_dmabuf()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c17 struct dma_buf *dmabuf; in igt_dmabuf_export() local
40 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local
83 struct dma_buf *dmabuf; in igt_dmabuf_import() local
165 struct dma_buf *dmabuf; in igt_dmabuf_import_ownership() local
214 struct dma_buf *dmabuf; in igt_dmabuf_export_vmap() local
/OK3568_Linux_fs/kernel/include/linux/
H A Dsram_heap.h36 static inline void sram_heap_free_dma_buf(struct dma_buf *dmabuf) {} in sram_heap_free_dma_buf()
38 static inline void *sram_heap_get_vaddr(struct dma_buf *dmabuf) in sram_heap_get_vaddr()
43 static inline phys_addr_t sram_heap_get_paddr(struct dma_buf *dmabuf) in sram_heap_get_paddr()
H A Ddma-buf.h439 struct dma_buf *dmabuf; member
512 struct dma_buf *dmabuf; member
573 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
586 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic()
656 static inline void dma_buf_set_destructor(struct dma_buf *dmabuf, in dma_buf_set_destructor()
/OK3568_Linux_fs/kernel/drivers/base/arm/dma_buf_test_exporter/
H A Ddma-buf-test-exporter.c231 static int dma_buf_te_sync(struct dma_buf *dmabuf, in dma_buf_te_sync()
263 static int dma_buf_te_begin_cpu_access(struct dma_buf *dmabuf, in dma_buf_te_begin_cpu_access()
269 static int dma_buf_te_end_cpu_access(struct dma_buf *dmabuf, in dma_buf_te_end_cpu_access()
311 struct dma_buf *dmabuf; in dma_buf_te_mmap_fault() local
340 static int dma_buf_te_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in dma_buf_te_mmap()
586 struct dma_buf *dmabuf; in do_dma_buf_te_ioctl_status() local
624 struct dma_buf *dmabuf; in do_dma_buf_te_ioctl_set_failing() local
713 struct dma_buf *dmabuf; in do_dma_buf_te_ioctl_fill() local
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drk_dmabuf_procfs.c17 static void rk_dmabuf_dump_empty_sgt(struct dma_buf *dmabuf, void *private) in rk_dmabuf_dump_empty_sgt()
54 static void rk_dmabuf_dump_sgt(const struct dma_buf *dmabuf, void *private) in rk_dmabuf_dump_sgt()
91 static int rk_dmabuf_cb(const struct dma_buf *dmabuf, void *private) in rk_dmabuf_cb()
100 static int rk_dmabuf_cb3(const struct dma_buf *dmabuf, void *private) in rk_dmabuf_cb3()
/OK3568_Linux_fs/kernel/samples/vfio-mdev/
H A Dmbochs.c789 struct mbochs_dmabuf *dmabuf = vma->vm_private_data; in mbochs_dmabuf_vm_fault() local
805 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_mmap_dmabuf() local
818 static void mbochs_print_dmabuf(struct mbochs_dmabuf *dmabuf, in mbochs_print_dmabuf()
837 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local
866 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local
878 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local
905 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local
949 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local
963 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local
974 static int mbochs_dmabuf_export(struct mbochs_dmabuf *dmabuf) in mbochs_dmabuf_export()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Drkisp_tb_helper.c103 static int shm_begin_cpu_access(struct dma_buf *dmabuf, enum dma_data_direction dir) in shm_begin_cpu_access()
115 static int shm_end_cpu_access(struct dma_buf *dmabuf, enum dma_data_direction dir) in shm_end_cpu_access()
141 struct dma_buf *dmabuf; in shm_alloc() local
263 struct dma_buf *dmabuf; in rkisp_tb_shm_ioctl() local
/OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/
H A Dmpp_iommu.c34 struct dma_buf *dmabuf; in mpp_dma_find_buffer_fd() local
184 struct dma_buf *dmabuf; in mpp_dma_import_fd() local
277 struct dma_buf *dmabuf = buffer->dmabuf; in mpp_dma_unmap_kernel() local
296 struct dma_buf *dmabuf = buffer->dmabuf; in mpp_dma_map_kernel() local
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-elan.c80 unsigned char *dmabuf, unsigned char param) in elan_get_device_param()
121 unsigned char *dmabuf; in elan_get_device_params() local
393 unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); in elan_start_multitouch() local
429 unsigned char *dmabuf = kzalloc(ELAN_LED_REPORT_SIZE, GFP_KERNEL); in elan_mute_led_set_brigtness() local
/OK3568_Linux_fs/external/mpp/mpp/legacy/
H A Dvpu_mem_legacy.c61 VPUMemLinear_t *dmabuf = mpp_calloc(VPUMemLinear_t, 1); in get_free_memory_vpumem() local
84 VPUMemLinear_t *dmabuf = (VPUMemLinear_t *)hdl; in inc_used_memory_handle_ref() local
97 VPUMemLinear_t *dmabuf = (VPUMemLinear_t *)hdl; in put_used_memory_handle() local
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dcommon.c256 static int rkcif_shm_begin_cpu_access(struct dma_buf *dmabuf, enum dma_data_direction dir) in rkcif_shm_begin_cpu_access()
268 static int rkcif_shm_end_cpu_access(struct dma_buf *dmabuf, enum dma_data_direction dir) in rkcif_shm_end_cpu_access()
305 struct dma_buf *dmabuf; in rkcif_shm_alloc() local
/OK3568_Linux_fs/kernel/drivers/staging/media/tegra-vde/
H A Ddmabuf-cache.c31 struct dma_buf *dmabuf = entry->a->dmabuf; in tegra_vde_release_entry() local
61 struct dma_buf *dmabuf, in tegra_vde_dmabuf_cache_map()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/savage/
H A Dsavage_state.c287 const struct drm_buf * dmabuf) in savage_dispatch_dma_prim()
548 const struct drm_buf * dmabuf) in savage_dispatch_dma_idx()
906 const struct drm_buf * dmabuf, in savage_dispatch_draw()
971 struct drm_buf *dmabuf; in savage_bci_cmdbuf() local

1234