Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/dma-buf/
Ddma-buf.c43 struct dma_buf *dmabuf; in dmabuffs_dname() local
59 struct dma_buf *dmabuf; in dma_buf_release() local
117 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local
138 struct dma_buf *dmabuf; in dma_buf_llseek() local
197 struct dma_buf *dmabuf; in dma_buf_poll() local
329 static long dma_buf_set_name(struct dma_buf *dmabuf, const char __user *buf) in dma_buf_set_name()
356 struct dma_buf *dmabuf; in dma_buf_ioctl() local
403 struct dma_buf *dmabuf = file->private_data; in dma_buf_show_fdinfo() local
432 static struct file *dma_buf_getfile(struct dma_buf *dmabuf, int flags) in dma_buf_getfile()
508 struct dma_buf *dmabuf; in dma_buf_export() local
[all …]
/Linux-v5.10/drivers/dma-buf/heaps/
Dheap-helpers.c92 static int dma_heap_attach(struct dma_buf *dmabuf, in dma_heap_attach()
124 static void dma_heap_detach(struct dma_buf *dmabuf, in dma_heap_detach()
177 static int dma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in dma_heap_mmap()
190 static void dma_heap_dma_buf_release(struct dma_buf *dmabuf) in dma_heap_dma_buf_release()
197 static int dma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in dma_heap_dma_buf_begin_cpu_access()
218 static int dma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in dma_heap_dma_buf_end_cpu_access()
238 static void *dma_heap_dma_buf_vmap(struct dma_buf *dmabuf) in dma_heap_dma_buf_vmap()
250 static void dma_heap_dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr) in dma_heap_dma_buf_vunmap()
Dsystem_heap.c41 struct dma_buf *dmabuf; in system_heap_allocate() local
Dheap-helpers.h32 struct dma_buf *dmabuf; member
Dcma_heap.c54 struct dma_buf *dmabuf; in cma_heap_allocate() local
/Linux-v5.10/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
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
Dmock_dmabuf.c96 struct dma_buf *dmabuf; in mock_dmabuf() local
/Linux-v5.10/drivers/staging/android/ion/
Dion.c178 static int ion_dma_buf_attach(struct dma_buf *dmabuf, in ion_dma_buf_attach()
208 static void ion_dma_buf_detach(struct dma_buf *dmabuf, in ion_dma_buf_detach()
245 static int ion_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in ion_mmap()
271 static void ion_dma_buf_release(struct dma_buf *dmabuf) in ion_dma_buf_release()
278 static int ion_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in ion_dma_buf_begin_cpu_access()
308 static int ion_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in ion_dma_buf_end_cpu_access()
346 struct dma_buf *dmabuf; in ion_alloc() local
/Linux-v5.10/samples/vfio-mdev/
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 …]
/Linux-v5.10/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
431 unsigned char *dmabuf = kzalloc(ELAN_LED_REPORT_SIZE, GFP_KERNEL); in elan_mute_led_set_brigtness() local
Dhid-asus.c340 unsigned char *dmabuf; in asus_kbd_set_report() local
863 unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); in asus_start_multitouch() local
/Linux-v5.10/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.10/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.10/Documentation/userspace-api/media/v4l/
Ddmabuf.rst4 .. _dmabuf: target
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_bsg.c920 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local
1173 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort()
2651 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local
2791 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local
2822 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2848 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local
3640 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local
3899 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
4087 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4253 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
[all …]
Dlpfc_sli.c1992 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all() local
4004 struct hbq_dmabuf *dmabuf; in lpfc_sli_handle_slow_ring_event_s4() local
5417 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_read_rev() local
6351 struct lpfc_dmabuf *dmabuf, *next; in lpfc_sli4_ras_dma_free() local
6394 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_dma_alloc() local
6506 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_fwlog_init() local
9412 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_bpl2sgl() local
13104 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_iocb_param_transfer() local
14769 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_free() local
14813 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_alloc() local
[all …]
/Linux-v5.10/include/linux/
Ddma-buf.h390 struct dma_buf *dmabuf; member
444 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
457 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic()
/Linux-v5.10/drivers/staging/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.10/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.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c176 static int amdgpu_dma_buf_attach(struct dma_buf *dmabuf, in amdgpu_dma_buf_attach()
219 static void amdgpu_dma_buf_detach(struct dma_buf *dmabuf, in amdgpu_dma_buf_detach()
/Linux-v5.10/drivers/misc/
Dfastrpc.c143 struct dma_buf *dmabuf; member
539 static void fastrpc_release(struct dma_buf *dmabuf) in fastrpc_release()
546 static int fastrpc_dma_buf_attach(struct dma_buf *dmabuf, in fastrpc_dma_buf_attach()
576 static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf, in fastrpc_dma_buf_detatch()
589 static void *fastrpc_vmap(struct dma_buf *dmabuf) in fastrpc_vmap()
596 static int fastrpc_mmap(struct dma_buf *dmabuf, in fastrpc_mmap()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_prime.c379 struct dma_buf *dmabuf; in export_and_register_object() local
431 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_fd() local
/Linux-v5.10/sound/ppc/
Dbeep.c210 void *dmabuf; in snd_pmac_attach_beep() local
/Linux-v5.10/drivers/usb/serial/
Dcp210x.c558 void *dmabuf; in cp210x_read_reg_block() local
651 void *dmabuf; in cp210x_read_vendor_block() local
709 void *dmabuf; in cp210x_write_reg_block() local
755 void *dmabuf; in cp210x_write_vendor_block() local

12