Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/dma-buf/
H A Ddma-buf.c47 struct dma_buf *dmabuf; in dmabuffs_dname() local
63 struct dma_buf *dmabuf; in dma_buf_release() local
92 struct dma_buf *dmabuf; in dma_buf_file_release() local
133 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local
154 struct dma_buf *dmabuf; in dma_buf_llseek() local
239 struct dma_buf *dmabuf; in dma_buf_poll() local
443 struct dma_buf *dmabuf; in dma_buf_ioctl() local
610 struct dma_buf *dmabuf; in dma_buf_export() local
753 void dma_buf_put(struct dma_buf *dmabuf) in dma_buf_put()
1042 struct dma_buf *dmabuf = attach->dmabuf; in dma_buf_pin() 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()
/openbmc/linux/drivers/dma-buf/heaps/
H A 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()
142 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access()
181 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap()
205 static int cma_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vmap()
232 static void cma_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vunmap()
245 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release()
288 struct dma_buf *dmabuf; in cma_heap_allocate() local
H A 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 iosys_map *map) in system_heap_vmap()
271 static void system_heap_vunmap(struct dma_buf *dmabuf, struct iosys_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
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c21 struct dma_buf *dmabuf; in igt_dmabuf_export() local
44 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local
98 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver_lmem() local
222 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver() local
345 struct dma_buf *dmabuf; in igt_dmabuf_import() local
429 struct dma_buf *dmabuf; in igt_dmabuf_import_ownership() local
480 struct dma_buf *dmabuf; in igt_dmabuf_export_vmap() local
/openbmc/qemu/hw/vfio/
H A Ddisplay.c190 static void vfio_display_update_cursor(VFIODMABuf *dmabuf, in vfio_display_update_cursor()
210 VFIODMABuf *dmabuf; in vfio_display_get_dmabuf() local
260 static void vfio_display_free_one_dmabuf(VFIODisplay *dpy, VFIODMABuf *dmabuf) in vfio_display_free_one_dmabuf()
271 VFIODMABuf *dmabuf, *tmp; in vfio_display_free_dmabufs() local
369 VFIODMABuf *dmabuf; in vfio_display_dmabuf_exit() local
/openbmc/linux/samples/vfio-mdev/
H A Dmbochs.c817 struct mbochs_dmabuf *dmabuf = vma->vm_private_data; in mbochs_dmabuf_vm_fault() local
833 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_mmap_dmabuf() local
865 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local
894 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local
906 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local
933 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local
977 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local
991 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local
1101 struct mbochs_dmabuf *dmabuf; in mbochs_query_gfx_plane() local
1164 struct mbochs_dmabuf *dmabuf; in mbochs_get_gfx_dmabuf() local
[all …]
/openbmc/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
/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/drivers/infiniband/core/
H A Dumem_dmabuf.c118 struct dma_buf *dmabuf; in ib_umem_dmabuf_get() local
224 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_release() local
/openbmc/qemu/ui/
H A Degl-helpers.c306 void egl_dmabuf_import_texture(QemuDmaBuf *dmabuf) in egl_dmabuf_import_texture()
357 void egl_dmabuf_release_texture(QemuDmaBuf *dmabuf) in egl_dmabuf_release_texture()
367 void egl_dmabuf_create_sync(QemuDmaBuf *dmabuf) in egl_dmabuf_create_sync()
383 void egl_dmabuf_create_fence(QemuDmaBuf *dmabuf) in egl_dmabuf_create_fence()
H A Degl-headless.c86 QemuDmaBuf *dmabuf) in egl_scanout_dmabuf()
99 QemuDmaBuf *dmabuf, bool have_hot, in egl_cursor_dmabuf()
117 QemuDmaBuf *dmabuf) in egl_release_dmabuf()
H A Dgtk-egl.c70 QemuDmaBuf *dmabuf = vc->gfx.guest_fb.dmabuf; in gd_egl_draw() local
263 QemuDmaBuf *dmabuf) in gd_egl_scanout_dmabuf()
289 QemuDmaBuf *dmabuf, bool have_hot, in gd_egl_cursor_dmabuf()
H A Dgtk-gl-area.c43 QemuDmaBuf *dmabuf = vc->gfx.guest_fb.dmabuf; in gd_gl_area_draw() local
297 QemuDmaBuf *dmabuf) in gd_gl_area_scanout_dmabuf()
H A Ddbus-listener.c267 QemuDmaBuf *dmabuf) in dbus_scanout_dmabuf()
426 QemuDmaBuf dmabuf = { in dbus_scanout_texture() local
469 QemuDmaBuf *dmabuf, bool have_hot, in dbus_cursor_dmabuf()
515 QemuDmaBuf *dmabuf) in dbus_release_dmabuf()
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-udmabuf.c160 static void virtio_gpu_free_dmabuf(VirtIOGPU *g, VGPUDMABuf *dmabuf) in virtio_gpu_free_dmabuf()
177 VGPUDMABuf *dmabuf; in virtio_gpu_create_dmabuf() local
/openbmc/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()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.c893 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local
2593 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local
2719 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local
3552 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local
4166 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
4319 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_read_ebuf_get() local
4387 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_write_ebuf_set()
4513 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ebuf()
4558 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ext()
4645 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_issue_mbox() local
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Ddmabuf.rst4 .. _dmabuf: target
/openbmc/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
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c167 static int i915_gem_dmabuf_attach(struct dma_buf *dmabuf, in i915_gem_dmabuf_attach()
196 static void i915_gem_dmabuf_detach(struct dma_buf *dmabuf, in i915_gem_dmabuf_detach()
/openbmc/qemu/include/ui/
H A Degl-helpers.h23 QemuDmaBuf *dmabuf; member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c54 static int amdgpu_dma_buf_attach(struct dma_buf *dmabuf, in amdgpu_dma_buf_attach()
84 static void amdgpu_dma_buf_detach(struct dma_buf *dmabuf, in amdgpu_dma_buf_detach()

123