/openbmc/qemu/ui/ |
H A D | dmabuf.c | 38 QemuDmaBuf *dmabuf; in qemu_dmabuf_new() local 59 void qemu_dmabuf_free(QemuDmaBuf *dmabuf) in qemu_dmabuf_free() 68 int qemu_dmabuf_get_fd(QemuDmaBuf *dmabuf) in qemu_dmabuf_get_fd() 75 int qemu_dmabuf_dup_fd(QemuDmaBuf *dmabuf) in qemu_dmabuf_dup_fd() 86 void qemu_dmabuf_close(QemuDmaBuf *dmabuf) in qemu_dmabuf_close() 96 uint32_t qemu_dmabuf_get_width(QemuDmaBuf *dmabuf) in qemu_dmabuf_get_width() 103 uint32_t qemu_dmabuf_get_height(QemuDmaBuf *dmabuf) in qemu_dmabuf_get_height() 110 uint32_t qemu_dmabuf_get_stride(QemuDmaBuf *dmabuf) in qemu_dmabuf_get_stride() 117 uint32_t qemu_dmabuf_get_fourcc(QemuDmaBuf *dmabuf) in qemu_dmabuf_get_fourcc() 124 uint64_t qemu_dmabuf_get_modifier(QemuDmaBuf *dmabuf) in qemu_dmabuf_get_modifier() [all …]
|
H A D | egl-helpers.c | 306 void egl_dmabuf_import_texture(QemuDmaBuf *dmabuf) in egl_dmabuf_import_texture() 361 void egl_dmabuf_release_texture(QemuDmaBuf *dmabuf) in egl_dmabuf_release_texture() 374 void egl_dmabuf_create_sync(QemuDmaBuf *dmabuf) in egl_dmabuf_create_sync() 390 void egl_dmabuf_create_fence(QemuDmaBuf *dmabuf) in egl_dmabuf_create_fence()
|
H A D | gtk-egl.c | 70 QemuDmaBuf *dmabuf = vc->gfx.guest_fb.dmabuf; in gd_egl_draw() local 267 QemuDmaBuf *dmabuf) in gd_egl_scanout_dmabuf() 301 QemuDmaBuf *dmabuf, bool have_hot, in gd_egl_cursor_dmabuf()
|
H A D | egl-headless.c | 86 QemuDmaBuf *dmabuf) in egl_scanout_dmabuf() 104 QemuDmaBuf *dmabuf, bool have_hot, in egl_cursor_dmabuf() 126 QemuDmaBuf *dmabuf) in egl_release_dmabuf()
|
H A D | gtk-gl-area.c | 43 QemuDmaBuf *dmabuf = vc->gfx.guest_fb.dmabuf; in gd_gl_area_draw() local 302 QemuDmaBuf *dmabuf) in gd_gl_area_scanout_dmabuf()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-buf.c | 47 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 206 struct dma_buf *dmabuf = container_of(dcb->poll, struct dma_buf, poll); in dma_buf_poll_cb() local 239 struct dma_buf *dmabuf; in dma_buf_poll() local 320 static long dma_buf_set_name(struct dma_buf *dmabuf, const char __user *buf) in dma_buf_set_name() 336 static long dma_buf_export_sync_file(struct dma_buf *dmabuf, in dma_buf_export_sync_file() 392 static long dma_buf_import_sync_file(struct dma_buf *dmabuf, in dma_buf_import_sync_file() [all …]
|
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()
|
/openbmc/linux/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 50 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 D | system_heap.c | 82 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 D | i915_gem_dmabuf.c | 21 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 D | display.c | 195 static void vfio_display_update_cursor(VFIODMABuf *dmabuf, in vfio_display_update_cursor() 215 VFIODMABuf *dmabuf; in vfio_display_get_dmabuf() local 262 static void vfio_display_free_one_dmabuf(VFIODisplay *dpy, VFIODMABuf *dmabuf) in vfio_display_free_one_dmabuf() 275 VFIODMABuf *dmabuf, *tmp; in vfio_display_free_dmabufs() local 378 VFIODMABuf *dmabuf; in vfio_display_dmabuf_exit() local
|
/openbmc/linux/samples/vfio-mdev/ |
H A D | mbochs.c | 817 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 846 static void mbochs_print_dmabuf(struct mbochs_dmabuf *dmabuf, in mbochs_print_dmabuf() 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 1002 static int mbochs_dmabuf_export(struct mbochs_dmabuf *dmabuf) in mbochs_dmabuf_export() [all …]
|
/openbmc/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
|
/openbmc/linux/include/linux/ |
H A D | dma-buf.h | 446 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 D | umem_dmabuf.c | 118 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/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()
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-udmabuf.c | 160 static void virtio_gpu_free_dmabuf(VirtIOGPU *g, VGPUDMABuf *dmabuf) in virtio_gpu_free_dmabuf() 178 VGPUDMABuf *dmabuf; in virtio_gpu_create_dmabuf() local
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 893 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local 1133 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort() 2593 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local 2719 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local 2750 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free() 2776 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local 3552 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local 3811 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext() 4000 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext() 4166 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | dmabuf.rst | 4 .. _dmabuf: target
|
/openbmc/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
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_dmabuf.c | 167 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 D | egl-helpers.h | 23 QemuDmaBuf *dmabuf; member
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_dma_buf.c | 54 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()
|