Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/dma-buf/
Ddma-buf.c43 struct dma_buf *dmabuf; in dmabuffs_dname() local
82 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()
354 struct dma_buf *dmabuf; in dma_buf_ioctl() local
400 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.4/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
261 struct dma_buf *dmabuf; in igt_dmabuf_export_kmap() local
Dmock_dmabuf.c113 struct dma_buf *dmabuf; in mock_dmabuf() local
/Linux-v5.4/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_detatch(struct dma_buf *dmabuf, in ion_dma_buf_detatch()
244 static int ion_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in ion_mmap()
270 static void ion_dma_buf_release(struct dma_buf *dmabuf) in ion_dma_buf_release()
277 static void *ion_dma_buf_kmap(struct dma_buf *dmabuf, unsigned long offset) in ion_dma_buf_kmap()
284 static void ion_dma_buf_kunmap(struct dma_buf *dmabuf, unsigned long offset, in ion_dma_buf_kunmap()
289 static int ion_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in ion_dma_buf_begin_cpu_access()
321 static int ion_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in ion_dma_buf_end_cpu_access()
363 struct dma_buf *dmabuf; in ion_alloc() local
/Linux-v5.4/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
877 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local
896 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_kmap_dmabuf() local
920 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local
964 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local
978 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local
[all …]
/Linux-v5.4/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
429 unsigned char *dmabuf = kzalloc(ELAN_LED_REPORT_SIZE, GFP_KERNEL); in elan_mute_led_set_brigtness() local
Dhid-asus.c288 unsigned char *dmabuf; in asus_kbd_set_report() local
793 unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); in asus_start_multitouch() local
/Linux-v5.4/drivers/tee/
Dtee_shm.c67 static void tee_shm_op_release(struct dma_buf *dmabuf) in tee_shm_op_release()
74 static void *tee_shm_op_map(struct dma_buf *dmabuf, unsigned long pgnum) in tee_shm_op_map()
79 static int tee_shm_op_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in tee_shm_op_mmap()
/Linux-v5.4/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.4/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.4/Documentation/media/uapi/v4l/
Ddmabuf.rst10 .. _dmabuf: target
/Linux-v5.4/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()
2654 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local
2794 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local
2825 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2851 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local
3644 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local
3903 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
4091 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4257 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
[all …]
Dlpfc_sli.c1977 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all() local
3867 struct hbq_dmabuf *dmabuf; in lpfc_sli_handle_slow_ring_event_s4() local
5284 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_read_rev() local
6205 struct lpfc_dmabuf *dmabuf, *next; in lpfc_sli4_ras_dma_free() local
6246 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_dma_alloc() local
6356 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_fwlog_init() local
9173 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_bpl2sgl() local
12859 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_iocb_param_transfer() local
14311 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_free() local
14355 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_alloc() local
[all …]
/Linux-v5.4/drivers/gpu/drm/udl/
Dudl_dmabuf.c21 static int udl_attach_dma_buf(struct dma_buf *dmabuf, in udl_attach_dma_buf()
39 static void udl_detach_dma_buf(struct dma_buf *dmabuf, in udl_detach_dma_buf()
/Linux-v5.4/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.4/include/linux/
Ddma-buf.h341 struct dma_buf *dmabuf; member
392 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
Dtee_drv.h197 struct dma_buf *dmabuf; member
/Linux-v5.4/drivers/misc/
Dfastrpc.c118 struct dma_buf *dmabuf; member
508 static void fastrpc_release(struct dma_buf *dmabuf) in fastrpc_release()
515 static int fastrpc_dma_buf_attach(struct dma_buf *dmabuf, in fastrpc_dma_buf_attach()
545 static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf, in fastrpc_dma_buf_detatch()
558 static void *fastrpc_kmap(struct dma_buf *dmabuf, unsigned long pgnum) in fastrpc_kmap()
565 static void *fastrpc_vmap(struct dma_buf *dmabuf) in fastrpc_vmap()
572 static int fastrpc_mmap(struct dma_buf *dmabuf, in fastrpc_mmap()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_prime.c377 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.4/sound/ppc/
Dbeep.c210 void *dmabuf; in snd_pmac_attach_beep() local
/Linux-v5.4/drivers/usb/serial/
Dcp210x.c529 void *dmabuf; in cp210x_read_reg_block() local
622 void *dmabuf; in cp210x_read_vendor_block() local
680 void *dmabuf; in cp210x_write_reg_block() local
726 void *dmabuf; in cp210x_write_vendor_block() local
/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Ddmabuf.c472 struct dma_buf *dmabuf; in intel_vgpu_get_dmabuf() local
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dttm_object.c582 static bool __must_check get_dma_buf_unless_doomed(struct dma_buf *dmabuf) in get_dma_buf_unless_doomed()
/Linux-v5.4/drivers/usb/class/
Dusbtmc.c721 u8 *dmabuf = NULL; in usbtmc_create_urb() local
871 u8 *dmabuf = NULL; in usbtmc_generic_read() local

12