Home
last modified time | relevance | path

Searched refs:dma_buf_attachment (Results 1 – 25 of 71) sorted by relevance

123

/linux-6.6.21/include/linux/
Ddma-buf.h28 struct dma_buf_attachment;
72 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
83 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
109 int (*pin)(struct dma_buf_attachment *attach);
122 void (*unpin)(struct dma_buf_attachment *attach);
179 struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *,
189 void (*unmap_dma_buf)(struct dma_buf_attachment *,
483 void (*move_notify)(struct dma_buf_attachment *attach);
508 struct dma_buf_attachment { struct
590 dma_buf_attachment_is_dynamic(struct dma_buf_attachment *attach) in dma_buf_attachment_is_dynamic()
[all …]
Dvirtio_dma_buf.h25 struct dma_buf_attachment *attach);
30 struct dma_buf_attachment *attach);
/linux-6.6.21/include/drm/
Ddrm_prime.h56 struct dma_buf_attachment;
78 struct dma_buf_attachment *attach);
80 struct dma_buf_attachment *attach);
81 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
83 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
Ddrm_gem_dma_helper.h152 struct dma_buf_attachment *attach,
227 struct dma_buf_attachment *attach,
Ddrm_gem_shmem_helper.h15 struct dma_buf_attachment;
269 struct dma_buf_attachment *attach,
Ddrm_drv.h42 struct dma_buf_attachment;
351 struct dma_buf_attachment *attach,
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/
Dvde.h49 struct dma_buf_attachment;
54 struct dma_buf_attachment *y_dmabuf_attachment;
55 struct dma_buf_attachment *cb_dmabuf_attachment;
56 struct dma_buf_attachment *cr_dmabuf_attachment;
57 struct dma_buf_attachment *aux_dmabuf_attachment;
159 struct dma_buf_attachment *a[VB2_MAX_PLANES];
198 struct dma_buf_attachment **ap,
201 struct dma_buf_attachment *a,
Ddmabuf-cache.c23 struct dma_buf_attachment *a;
66 struct dma_buf_attachment **ap, in tegra_vde_dmabuf_cache_map()
69 struct dma_buf_attachment *attachment; in tegra_vde_dmabuf_cache_map()
165 struct dma_buf_attachment *a, in tegra_vde_dmabuf_cache_unmap()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_prime.c43 struct dma_buf_attachment *attach) in vmw_prime_map_attach()
49 struct dma_buf_attachment *attach) in vmw_prime_map_detach()
53 static struct sg_table *vmw_prime_map_dma_buf(struct dma_buf_attachment *attach, in vmw_prime_map_dma_buf()
59 static void vmw_prime_unmap_dma_buf(struct dma_buf_attachment *attach, in vmw_prime_unmap_dma_buf()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c55 struct dma_buf_attachment *attach) in amdgpu_dma_buf_attach()
85 struct dma_buf_attachment *attach) in amdgpu_dma_buf_detach()
102 static int amdgpu_dma_buf_pin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_pin()
118 static void amdgpu_dma_buf_unpin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_unpin()
139 static struct sg_table *amdgpu_dma_buf_map(struct dma_buf_attachment *attach, in amdgpu_dma_buf_map()
210 static void amdgpu_dma_buf_unmap(struct dma_buf_attachment *attach, in amdgpu_dma_buf_unmap()
364 amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach) in amdgpu_dma_buf_move_notify()
439 struct dma_buf_attachment *attach; in amdgpu_gem_prime_import()
/linux-6.6.21/drivers/gpu/drm/renesas/rcar-du/
Drcar_du_kms.h15 struct dma_buf_attachment;
41 struct dma_buf_attachment *attach,
/linux-6.6.21/drivers/gpu/drm/xen/
Dxen_drm_front_gem.h14 struct dma_buf_attachment;
25 struct dma_buf_attachment *attach,
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_gem_dmabuf.c21 struct dma_buf_attachment *attachment, in omap_gem_map_dma_buf()
33 static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in omap_gem_unmap_dma_buf()
100 struct dma_buf_attachment *attach; in omap_gem_prime_import()
/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_prime.c47 virtgpu_gem_map_dma_buf(struct dma_buf_attachment *attach, in virtgpu_gem_map_dma_buf()
59 static void virtgpu_gem_unmap_dma_buf(struct dma_buf_attachment *attach, in virtgpu_gem_unmap_dma_buf()
166 struct drm_device *dev, struct dma_buf_attachment *attach, in virtgpu_gem_prime_import_sg_table()
/linux-6.6.21/drivers/dma-buf/
Ddma-buf.c777 static struct sg_table * __map_dma_buf(struct dma_buf_attachment *attach, in __map_dma_buf()
888 struct dma_buf_attachment *
893 struct dma_buf_attachment *attach; in dma_buf_dynamic_attach()
975 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, in dma_buf_attach()
982 static void __unmap_dma_buf(struct dma_buf_attachment *attach, in __unmap_dma_buf()
1001 void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) in dma_buf_detach()
1040 int dma_buf_pin(struct dma_buf_attachment *attach) in dma_buf_pin()
1064 void dma_buf_unpin(struct dma_buf_attachment *attach) in dma_buf_unpin()
1098 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment()
1175 dma_buf_map_attachment_unlocked(struct dma_buf_attachment *attach, in dma_buf_map_attachment_unlocked()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c28 static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attach, in i915_gem_map_dma_buf()
168 struct dma_buf_attachment *attach) in i915_gem_dmabuf_attach()
197 struct dma_buf_attachment *attach) in i915_gem_dmabuf_detach()
286 struct dma_buf_attachment *attach; in i915_gem_prime_import()
/linux-6.6.21/drivers/media/common/videobuf2/
Dvideobuf2-vmalloc.c211 struct dma_buf_attachment *dbuf_attach) in vb2_vmalloc_dmabuf_ops_attach()
250 struct dma_buf_attachment *db_attach) in vb2_vmalloc_dmabuf_ops_detach()
269 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_map()
296 static void vb2_vmalloc_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_vmalloc_dmabuf_ops_unmap()
Dvideobuf2-dma-sg.c53 struct dma_buf_attachment *db_attach;
369 struct dma_buf_attachment *dbuf_attach) in vb2_dma_sg_dmabuf_ops_attach()
407 struct dma_buf_attachment *db_attach) in vb2_dma_sg_dmabuf_ops_detach()
426 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_dma_sg_dmabuf_ops_map()
453 static void vb2_dma_sg_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dma_sg_dmabuf_ops_unmap()
621 struct dma_buf_attachment *dba; in vb2_dma_sg_attach_dmabuf()
Dvideobuf2-dma-contig.c43 struct dma_buf_attachment *db_attach;
318 struct dma_buf_attachment *dbuf_attach) in vb2_dc_dmabuf_ops_attach()
356 struct dma_buf_attachment *db_attach) in vb2_dc_dmabuf_ops_detach()
382 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_dc_dmabuf_ops_map()
414 static void vb2_dc_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dc_dmabuf_ops_unmap()
772 struct dma_buf_attachment *dba; in vb2_dc_attach_dmabuf()
/linux-6.6.21/drivers/dma-buf/heaps/
Dcma_heap.c51 struct dma_buf_attachment *attachment) in cma_heap_attach()
84 struct dma_buf_attachment *attachment) in cma_heap_detach()
97 static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_map_dma_buf()
111 static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_unmap_dma_buf()
Dsystem_heap.c83 struct dma_buf_attachment *attachment) in system_heap_attach()
114 struct dma_buf_attachment *attachment) in system_heap_detach()
128 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf()
143 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_prime.c581 struct dma_buf_attachment *attach) in drm_gem_map_attach()
602 struct dma_buf_attachment *attach) in drm_gem_map_detach()
622 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, in drm_gem_map_dma_buf()
659 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach, in drm_gem_unmap_dma_buf()
909 struct dma_buf_attachment *attach; in drm_gem_prime_import_dev()
1046 struct dma_buf_attachment *attach; in drm_prime_gem_destroy()
/linux-6.6.21/drivers/xen/
Dgntdev-dmabuf.c48 struct dma_buf_attachment *attach;
221 struct dma_buf_attachment *attach) in dmabuf_exp_ops_attach()
236 struct dma_buf_attachment *attach) in dmabuf_exp_ops_detach()
258 dmabuf_exp_ops_map_dma_buf(struct dma_buf_attachment *attach, in dmabuf_exp_ops_map_dma_buf()
300 static void dmabuf_exp_ops_unmap_dma_buf(struct dma_buf_attachment *attach, in dmabuf_exp_ops_unmap_dma_buf()
571 struct dma_buf_attachment *attach; in dmabuf_imp_to_refs()
696 struct dma_buf_attachment *attach; in dmabuf_imp_release()
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Dmock_dmabuf.c9 static struct sg_table *mock_map_dma_buf(struct dma_buf_attachment *attachment, in mock_map_dma_buf()
44 static void mock_unmap_dma_buf(struct dma_buf_attachment *attachment, in mock_unmap_dma_buf()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_prime.h37 struct dma_buf_attachment *,

123