Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/dma-buf/
Ddma-buf.c47 struct dma_buf *dmabuf; in dmabuffs_dname() local
63 struct dma_buf *dmabuf; in dma_buf_release() local
92 struct dma_buf *dmabuf; in dma_buf_file_release() local
133 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local
154 struct dma_buf *dmabuf; in dma_buf_llseek() local
206 struct dma_buf *dmabuf = container_of(dcb->poll, struct dma_buf, poll); in dma_buf_poll_cb() local
239 struct dma_buf *dmabuf; in dma_buf_poll() local
320 static long dma_buf_set_name(struct dma_buf *dmabuf, const char __user *buf) in dma_buf_set_name()
336 static long dma_buf_export_sync_file(struct dma_buf *dmabuf, in dma_buf_export_sync_file()
392 static long dma_buf_import_sync_file(struct dma_buf *dmabuf, in dma_buf_import_sync_file()
[all …]
Ddma-buf-sysfs-stats.c66 struct dma_buf *dmabuf; in dma_buf_stats_attribute_show() local
82 static ssize_t exporter_name_show(struct dma_buf *dmabuf, in exporter_name_show()
89 static ssize_t size_show(struct dma_buf *dmabuf, in size_show()
121 void dma_buf_stats_teardown(struct dma_buf *dmabuf) in dma_buf_stats_teardown()
171 int dma_buf_stats_setup(struct dma_buf *dmabuf, struct file *file) in dma_buf_stats_setup()
Ddma-buf-sysfs-stats.h28 static inline int dma_buf_stats_setup(struct dma_buf *dmabuf, struct file *file) in dma_buf_stats_setup()
33 static inline void dma_buf_stats_teardown(struct dma_buf *dmabuf) {} in dma_buf_stats_teardown()
Ddma-heap.c56 struct dma_buf *dmabuf; in dma_heap_buffer_alloc() local
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_dmabuf.c17 struct dma_buf *dmabuf; in igt_dmabuf_export() local
40 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local
94 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver_lmem() local
149 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver() local
268 struct dma_buf *dmabuf; in igt_dmabuf_import() local
352 struct dma_buf *dmabuf; in igt_dmabuf_import_ownership() local
403 struct dma_buf *dmabuf; in igt_dmabuf_export_vmap() local
Dmock_dmabuf.c102 struct dma_buf *dmabuf; in mock_dmabuf() local
/linux-6.1.9/drivers/dma-buf/heaps/
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()
121 static int cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access()
142 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access()
181 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap()
205 static int cma_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vmap()
232 static void cma_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vunmap()
245 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release()
288 struct dma_buf *dmabuf; in cma_heap_allocate() local
Dsystem_heap.c83 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach()
114 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach()
154 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access()
175 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access()
196 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap()
244 static int system_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vmap()
272 static void system_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vunmap()
285 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release()
344 struct dma_buf *dmabuf; in system_heap_allocate() local
/linux-6.1.9/samples/vfio-mdev/
Dmbochs.c818 struct mbochs_dmabuf *dmabuf = vma->vm_private_data; in mbochs_dmabuf_vm_fault() local
834 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_mmap_dmabuf() local
847 static void mbochs_print_dmabuf(struct mbochs_dmabuf *dmabuf, in mbochs_print_dmabuf()
866 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local
895 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local
907 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local
934 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local
978 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local
992 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local
1003 static int mbochs_dmabuf_export(struct mbochs_dmabuf *dmabuf) in mbochs_dmabuf_export()
[all …]
/linux-6.1.9/drivers/hid/
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
420 unsigned char *dmabuf = kzalloc(ELAN_LED_REPORT_SIZE, GFP_KERNEL); in elan_mute_led_set_brigtness() local
/linux-6.1.9/include/linux/
Ddma-buf.h455 struct dma_buf *dmabuf; member
518 struct dma_buf *dmabuf; member
572 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
585 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic()
/linux-6.1.9/drivers/infiniband/core/
Dumem_dmabuf.c117 struct dma_buf *dmabuf; in ib_umem_dmabuf_get() local
223 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_release() local
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_bsg.c893 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local
1133 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort()
2593 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local
2719 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local
2750 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2776 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local
3552 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local
3811 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
4000 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4166 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
[all …]
Dlpfc_sli.c2371 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all() local
4497 struct hbq_dmabuf *dmabuf; in lpfc_sli_handle_slow_ring_event_s4() local
5897 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_read_rev() local
6887 struct lpfc_dmabuf *dmabuf, *next; in lpfc_sli4_ras_dma_free() local
6930 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_dma_alloc() local
7042 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_fwlog_init() local
15757 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_free() local
15801 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_alloc() local
16037 struct lpfc_dmabuf *dmabuf; in lpfc_eq_create() local
16179 struct lpfc_dmabuf *dmabuf; in lpfc_cq_create() local
[all …]
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Ddmabuf-cache.c34 struct dma_buf *dmabuf = entry->a->dmabuf; in tegra_vde_release_entry() local
64 struct dma_buf *dmabuf, in tegra_vde_dmabuf_cache_map()
/linux-6.1.9/drivers/gpu/drm/savage/
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
/linux-6.1.9/drivers/comedi/drivers/
Dadl_pci9118.c227 struct pci9118_dmabuf dmabuf[2]; member
246 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[buf]; in pci9118_amcc_setup_dma() local
393 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; in pci9118_ai_mode4_switch() local
640 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[devpriv->dma_actbuf]; in pci9118_ai_get_dma() local
1053 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[0]; in pci9118_ai_cmd() local
1462 struct pci9118_dmabuf *dmabuf; in pci9118_alloc_dma() local
1489 struct pci9118_dmabuf *dmabuf; in pci9118_free_dma() local
Daddi_apci_3120.c150 struct apci3120_dmabuf dmabuf[2]; member
172 struct apci3120_dmabuf *dmabuf) in apci3120_init_dma()
430 struct apci3120_dmabuf *dmabuf; in apci3120_interrupt_dma() local
909 struct apci3120_dmabuf *dmabuf; in apci3120_dma_alloc() local
937 struct apci3120_dmabuf *dmabuf; in apci3120_dma_free() local
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Ddmabuf.rst4 .. _dmabuf: target
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c166 static int i915_gem_dmabuf_attach(struct dma_buf *dmabuf, in i915_gem_dmabuf_attach()
195 static void i915_gem_dmabuf_detach(struct dma_buf *dmabuf, in i915_gem_dmabuf_detach()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c53 static int amdgpu_dma_buf_attach(struct dma_buf *dmabuf, in amdgpu_dma_buf_attach()
83 static void amdgpu_dma_buf_detach(struct dma_buf *dmabuf, in amdgpu_dma_buf_detach()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_prime.c386 struct dma_buf *dmabuf; in export_and_register_object() local
436 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_fd() local
/linux-6.1.9/sound/ppc/
Dbeep.c213 void *dmabuf; in snd_pmac_attach_beep() local
/linux-6.1.9/drivers/misc/
Dfastrpc.c180 struct dma_buf *dmabuf; member
630 static void fastrpc_release(struct dma_buf *dmabuf) in fastrpc_release()
637 static int fastrpc_dma_buf_attach(struct dma_buf *dmabuf, in fastrpc_dma_buf_attach()
667 static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf, in fastrpc_dma_buf_detatch()
680 static int fastrpc_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in fastrpc_vmap()
689 static int fastrpc_mmap(struct dma_buf *dmabuf, in fastrpc_mmap()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Ddmabuf.c502 struct dma_buf *dmabuf; in intel_vgpu_get_dmabuf() local

12