/linux/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 54 static int cma_heap_attach(struct dma_buf *dmabuf, in cma_heap_attach() 87 static void cma_heap_detach(struct dma_buf *dmabuf, in cma_heap_detach() 125 static int cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access() 146 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access() 182 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap() 208 static int cma_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vmap() 235 static void cma_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vunmap() 248 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release() 291 struct dma_buf *dmabuf; in cma_heap_allocate() local
|
H A D | system_heap.c | 73 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach() 103 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach() 142 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access() 163 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access() 184 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap() 232 static int system_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vmap() 260 static void system_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vunmap() 273 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release() 332 struct dma_buf *dmabuf; in system_heap_allocate() local
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_dmabuf.c | 22 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
|
H A D | mock_dmabuf.c | 103 struct dma_buf *dmabuf; in mock_dmabuf() local
|
/linux/kernel/bpf/ |
H A D | dmabuf_iter.c | 19 struct dma_buf *dmabuf = v; in dmabuf_iter_seq_next() local 55 struct dma_buf *dmabuf = v; in dmabuf_iter_seq_stop() local 93 DEFINE_BPF_ITER_FUNC(dmabuf, struct bpf_iter_meta *meta, struct dma_buf *dmabuf) in DEFINE_BPF_ITER_FUNC() argument 114 struct dma_buf *dmabuf; member
|
/linux/drivers/dma-buf/ |
H A D | dma-buf-sysfs-stats.c | 66 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 D | dma-buf-sysfs-stats.h | 28 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()
|
H A D | dma-heap.c | 55 struct dma_buf *dmabuf; in dma_heap_buffer_alloc() local
|
/linux/drivers/hid/ |
H A D | hid-elan.c | 80 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/drivers/gpu/drm/xe/tests/ |
H A D | xe_dma_buf.c | 30 struct xe_bo *imported, struct dma_buf *dmabuf) in check_residency() 113 struct dma_buf *dmabuf; in xe_test_dmabuf_import_same_driver() local
|
/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | dmabuf-cache.c | 34 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/scsi/lpfc/ |
H A D | lpfc_bsg.c | 907 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 D | lpfc_sli.c | 2392 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/comedi/drivers/ |
H A D | adl_pci9118.c | 227 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 D | addi_apci_3120.c | 150 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/Documentation/userspace-api/media/v4l/ |
H A D | dmabuf.rst | 4 .. _dmabuf: target
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_dmabuf.c | 166 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/drivers/gpu/drm/xe/ |
H A D | xe_dma_buf.c | 25 static int xe_dma_buf_attach(struct dma_buf *dmabuf, in xe_dma_buf_attach() 41 static void xe_dma_buf_detach(struct dma_buf *dmabuf, in xe_dma_buf_detach()
|
/linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 382 struct dma_buf *dmabuf; in export_and_register_object() local 440 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_dmabuf() local 518 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_fd() local
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | dmabuf_iter.c | 33 const struct dma_buf *dmabuf = ctx->dmabuf; in dmabuf_collector() local
|
/linux/drivers/iio/ |
H A D | industrialio-buffer.c | 1564 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 D | fsl_asrc_m2m.c | 404 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 D | amdgpu_isp.c | 172 int isp_user_buffer_alloc(struct device *dev, void *dmabuf, in isp_user_buffer_alloc()
|
/linux/sound/ppc/ |
H A D | beep.c | 213 void *dmabuf; in snd_pmac_attach_beep() local
|
/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_prime.c | 210 struct dma_buf *dmabuf = attach->dmabuf; in virtgpu_dma_buf_free_obj() local
|