Home
last modified time | relevance | path

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

12

/linux/drivers/dma-buf/
H A Ddma-buf.c43 static void __dma_buf_list_add(struct dma_buf *dmabuf) in __dma_buf_list_add()
50 static void __dma_buf_list_del(struct dma_buf *dmabuf) in __dma_buf_list_del()
74 struct dma_buf *ret = NULL, *dmabuf; in dma_buf_iter_begin() local
105 struct dma_buf *dma_buf_iter_next(struct dma_buf *dmabuf) in dma_buf_iter_next()
128 struct dma_buf *dmabuf; in dmabuffs_dname() local
144 struct dma_buf *dmabuf; in dma_buf_release() local
207 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local
228 struct dma_buf *dmabuf; in dma_buf_llseek() local
281 struct dma_buf *dmabuf = container_of(dcb->poll, struct dma_buf, poll); in dma_buf_poll_cb() local
314 struct dma_buf *dmabuf; in dma_buf_poll() local
[all …]
H A 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()
H A 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()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c22 struct dma_buf *dmabuf; in igt_dmabuf_export() local
45 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local
99 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver_lmem() local
225 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver() local
348 struct dma_buf *dmabuf; in igt_dmabuf_import() local
432 struct dma_buf *dmabuf; in igt_dmabuf_import_ownership() local
483 struct dma_buf *dmabuf; in igt_dmabuf_export_vmap() local
/linux/samples/vfio-mdev/
H A Dmbochs.c820 struct mbochs_dmabuf *dmabuf = vma->vm_private_data; in mbochs_dmabuf_vm_fault() local
836 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_mmap_dmabuf() local
849 static void mbochs_print_dmabuf(struct mbochs_dmabuf *dmabuf, in mbochs_print_dmabuf()
868 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local
897 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local
909 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local
936 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local
980 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local
994 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local
1005 static int mbochs_dmabuf_export(struct mbochs_dmabuf *dmabuf) in mbochs_dmabuf_export()
[all …]
/linux/drivers/infiniband/core/
H A Dumem_dmabuf.c123 struct dma_buf *dmabuf; in ib_umem_dmabuf_get_with_dma_device() local
250 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_revoke() local
268 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_release() local
/linux/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
420 unsigned char *dmabuf = kzalloc(ELAN_LED_REPORT_SIZE, GFP_KERNEL); in elan_mute_led_set_brigtness() local
H A Dhid-asus.c375 unsigned char *dmabuf; in asus_kbd_set_report() local
1077 unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); in asus_start_multitouch() local
/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.c907 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local
1147 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort()
2607 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local
2732 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local
2763 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2789 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local
3664 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local
3943 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
4186 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4352 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
[all …]
H A Dlpfc_sli.c2392 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all() local
4518 struct hbq_dmabuf *dmabuf; in lpfc_sli_handle_slow_ring_event_s4() local
5892 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_read_rev() local
6882 struct lpfc_dmabuf *dmabuf, *next; in lpfc_sli4_ras_dma_free() local
6925 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_dma_alloc() local
7037 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_fwlog_init() local
15784 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_free() local
15828 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_alloc() local
16064 struct lpfc_dmabuf *dmabuf; in lpfc_eq_create() local
16262 struct lpfc_dmabuf *dmabuf; in lpfc_cq_create() local
[all …]
/linux/drivers/media/platform/nvidia/tegra-vde/
H A 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/drivers/comedi/drivers/
H A 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
H A 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/drivers/gpu/drm/i915/gem/
H A 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/Documentation/userspace-api/media/v4l/
H A Ddmabuf.rst4 .. _dmabuf: target
/linux/drivers/iio/
H A Dindustrialio-buffer.c1564 struct dma_buf *dmabuf = attach->dmabuf; in iio_buffer_dmabuf_release() local
1615 static int iio_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in iio_dma_resv_lock()
1628 struct dma_buf *dmabuf, bool nonblock) in iio_buffer_find_attachment()
1658 struct dma_buf *dmabuf; in iio_buffer_attach_dmabuf() local
1762 struct dma_buf *dmabuf; in iio_buffer_detach_dmabuf() local
1820 struct dma_buf *dmabuf; in iio_buffer_enqueue_dmabuf() local
/linux/sound/soc/fsl/
H A Dfsl_asrc_m2m.c404 static int fsl_asrc_m2m_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in fsl_asrc_m2m_mmap()
442 static void fsl_asrc_m2m_release(struct dma_buf *dmabuf) in fsl_asrc_m2m_release()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_isp.c172 int isp_user_buffer_alloc(struct device *dev, void *dmabuf, in isp_user_buffer_alloc()
/linux/sound/ppc/
H A Dbeep.c213 void *dmabuf; snd_pmac_attach_beep() local
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_prime.c210 struct dma_buf *dmabuf = attach->dmabuf; in virtgpu_dma_buf_free_obj() local
/linux/drivers/misc/
H A Dfastrpc.c197 struct dma_buf *dmabuf; member
674 static void fastrpc_release(struct dma_buf *dmabuf) in fastrpc_release()
681 static int fastrpc_dma_buf_attach(struct dma_buf *dmabuf, in fastrpc_dma_buf_attach()
711 static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf, in fastrpc_dma_buf_detatch()
724 static int fastrpc_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in fastrpc_vmap()
733 static int fastrpc_mmap(struct dma_buf *dmabuf, in fastrpc_mmap()
/linux/drivers/usb/gadget/function/
H A Df_fs.c1306 struct dma_buf *dmabuf = attach->dmabuf; in ffs_dmabuf_release() local
1425 static int ffs_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in ffs_dma_resv_lock()
1437 ffs_dmabuf_find_attachment(struct ffs_epfile *epfile, struct dma_buf *dmabuf) in ffs_dmabuf_find_attachment()
1470 struct dma_buf *dmabuf; in ffs_dmabuf_attach() local
1538 struct dma_buf *dmabuf; in ffs_dmabuf_detach() local
1581 struct dma_buf *dmabuf; in ffs_dmabuf_transfer() local
/linux/io_uring/
H A Dzcrx.h21 struct dma_buf *dmabuf; global() member
/linux/net/core/
H A Ddevmem.h19 struct dma_buf *dmabuf; member
H A Ddevmem.c186 struct dma_buf *dmabuf; net_devmem_bind_dmabuf() local
[all...]

12