Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/dma-buf/
Ddma-buf.c45 struct dma_buf *dmabuf; in dmabuffs_dname() local
61 struct dma_buf *dmabuf; in dma_buf_release() local
92 struct dma_buf *dmabuf; in dma_buf_file_release() local
132 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local
153 struct dma_buf *dmabuf; in dma_buf_llseek() local
212 struct dma_buf *dmabuf; in dma_buf_poll() local
344 static long dma_buf_set_name(struct dma_buf *dmabuf, const char __user *buf) in dma_buf_set_name()
371 struct dma_buf *dmabuf; in dma_buf_ioctl() local
418 struct dma_buf *dmabuf = file->private_data; in dma_buf_show_fdinfo() local
448 static struct file *dma_buf_getfile(struct dma_buf *dmabuf, int flags) in dma_buf_getfile()
[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) in dma_buf_stats_setup()
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()
Ddma-heap.c55 struct dma_buf *dmabuf; in dma_heap_buffer_alloc() local
/Linux-v5.15/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
267 struct dma_buf *dmabuf; in igt_dmabuf_import() local
351 struct dma_buf *dmabuf; in igt_dmabuf_import_ownership() local
402 struct dma_buf *dmabuf; in igt_dmabuf_export_vmap() local
Dmock_dmabuf.c102 struct dma_buf *dmabuf; in mock_dmabuf() local
/Linux-v5.15/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()
141 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access()
179 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap()
203 static int cma_heap_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in cma_heap_vmap()
230 static void cma_heap_vunmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in cma_heap_vunmap()
243 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release()
286 struct dma_buf *dmabuf; in cma_heap_allocate() local
Dsystem_heap.c82 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach()
113 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach()
153 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access()
174 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access()
195 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap()
243 static int system_heap_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in system_heap_vmap()
271 static void system_heap_vunmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in system_heap_vunmap()
284 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release()
343 struct dma_buf *dmabuf; in system_heap_allocate() local
/Linux-v5.15/samples/vfio-mdev/
Dmbochs.c793 struct mbochs_dmabuf *dmabuf = vma->vm_private_data; in mbochs_dmabuf_vm_fault() local
809 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_mmap_dmabuf() local
822 static void mbochs_print_dmabuf(struct mbochs_dmabuf *dmabuf, in mbochs_print_dmabuf()
841 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local
870 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local
882 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local
909 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local
953 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local
967 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local
978 static int mbochs_dmabuf_export(struct mbochs_dmabuf *dmabuf) in mbochs_dmabuf_export()
[all …]
/Linux-v5.15/drivers/infiniband/core/
Dumem_dmabuf.c111 struct dma_buf *dmabuf; in ib_umem_dmabuf_get() local
168 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_release() local
/Linux-v5.15/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
395 unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); in elan_start_multitouch() local
422 unsigned char *dmabuf = kzalloc(ELAN_LED_REPORT_SIZE, GFP_KERNEL); in elan_mute_led_set_brigtness() local
/Linux-v5.15/include/linux/
Ddma-buf.h446 struct dma_buf *dmabuf; member
509 struct dma_buf *dmabuf; member
563 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
576 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic()
/Linux-v5.15/drivers/staging/media/tegra-vde/
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()
/Linux-v5.15/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-v5.15/drivers/scsi/lpfc/
Dlpfc_bsg.c915 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local
1149 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort()
2637 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local
2777 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local
2808 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2834 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local
3627 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local
3886 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
4075 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4241 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
[all …]
Dlpfc_sli.c2367 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all() local
4411 struct hbq_dmabuf *dmabuf; in lpfc_sli_handle_slow_ring_event_s4() local
5806 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_read_rev() local
6784 struct lpfc_dmabuf *dmabuf, *next; in lpfc_sli4_ras_dma_free() local
6827 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_dma_alloc() local
6939 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_fwlog_init() local
10236 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_bpl2sgl() local
14068 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_iocb_param_transfer() local
15778 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_free() local
15822 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_alloc() local
[all …]
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Ddmabuf.rst4 .. _dmabuf: target
/Linux-v5.15/drivers/comedi/drivers/
Dadl_pci9118.c228 struct pci9118_dmabuf dmabuf[2]; member
247 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[buf]; in pci9118_amcc_setup_dma() local
394 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; in pci9118_ai_mode4_switch() local
641 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[devpriv->dma_actbuf]; in pci9118_ai_get_dma() local
1054 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[0]; in pci9118_ai_cmd() local
1463 struct pci9118_dmabuf *dmabuf; in pci9118_alloc_dma() local
1490 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-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c163 static int i915_gem_dmabuf_attach(struct dma_buf *dmabuf, in i915_gem_dmabuf_attach()
192 static void i915_gem_dmabuf_detach(struct dma_buf *dmabuf, in i915_gem_dmabuf_detach()
/Linux-v5.15/drivers/tee/
Dtee_shm.c79 static void tee_shm_op_release(struct dma_buf *dmabuf) in tee_shm_op_release()
86 static int tee_shm_op_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in tee_shm_op_mmap()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c53 static int amdgpu_dma_buf_attach(struct dma_buf *dmabuf, in amdgpu_dma_buf_attach()
86 static void amdgpu_dma_buf_detach(struct dma_buf *dmabuf, in amdgpu_dma_buf_detach()
/Linux-v5.15/drivers/misc/
Dfastrpc.c143 struct dma_buf *dmabuf; member
540 static void fastrpc_release(struct dma_buf *dmabuf) in fastrpc_release()
547 static int fastrpc_dma_buf_attach(struct dma_buf *dmabuf, in fastrpc_dma_buf_attach()
577 static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf, in fastrpc_dma_buf_detatch()
590 static int fastrpc_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in fastrpc_vmap()
599 static int fastrpc_mmap(struct dma_buf *dmabuf, in fastrpc_mmap()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_prime.c379 struct dma_buf *dmabuf; in export_and_register_object() local
429 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_fd() local
/Linux-v5.15/sound/ppc/
Dbeep.c213 void *dmabuf; in snd_pmac_attach_beep() local

123