Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/include/linux/
Ddma-buf.h27 struct dma_buf_attachment;
71 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
82 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
100 int (*pin)(struct dma_buf_attachment *attach);
113 void (*unpin)(struct dma_buf_attachment *attach);
154 struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *,
164 void (*unmap_dma_buf)(struct dma_buf_attachment *,
380 void (*move_notify)(struct dma_buf_attachment *attach);
405 struct dma_buf_attachment { struct
487 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);
/kernel/linux/linux-5.10/include/drm/
Ddrm_prime.h56 struct dma_buf_attachment;
77 struct dma_buf_attachment *attach);
79 struct dma_buf_attachment *attach);
80 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
82 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
Ddrm_gem_shmem_helper.h15 struct dma_buf_attachment;
150 struct dma_buf_attachment *attach,
Ddrm_gem_cma_helper.h102 struct dma_buf_attachment *attach,
192 struct dma_buf_attachment *attach,
Ddrm_drv.h39 struct dma_buf_attachment;
433 struct dma_buf_attachment *attach,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
Dvde.h25 struct dma_buf_attachment;
66 struct dma_buf_attachment **ap,
69 struct dma_buf_attachment *a,
Ddmabuf-cache.c20 struct dma_buf_attachment *a;
63 struct dma_buf_attachment **ap, in tegra_vde_dmabuf_cache_map()
67 struct dma_buf_attachment *attachment; in tegra_vde_dmabuf_cache_map()
162 struct dma_buf_attachment *a, in tegra_vde_dmabuf_cache_unmap()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c177 struct dma_buf_attachment *attach) in amdgpu_dma_buf_attach()
220 struct dma_buf_attachment *attach) in amdgpu_dma_buf_detach()
237 static int amdgpu_dma_buf_pin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_pin()
265 static void amdgpu_dma_buf_unpin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_unpin()
286 static struct sg_table *amdgpu_dma_buf_map(struct dma_buf_attachment *attach, in amdgpu_dma_buf_map()
356 static void amdgpu_dma_buf_unmap(struct dma_buf_attachment *attach, in amdgpu_dma_buf_unmap()
514 amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach) in amdgpu_dma_buf_move_notify()
586 struct dma_buf_attachment *attach; in amdgpu_gem_prime_import()
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
Dxen_drm_front_gem.h14 struct dma_buf_attachment;
26 struct dma_buf_attachment *attach,
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_gem_dmabuf.c19 struct dma_buf_attachment *attachment, in omap_gem_map_dma_buf()
56 static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in omap_gem_unmap_dma_buf()
129 struct dma_buf_attachment *attach; in omap_gem_prime_import()
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/
Dheap-helpers.c94 struct dma_buf_attachment *attachment) in dma_heap_attach()
126 struct dma_buf_attachment *attachment) in dma_heap_detach()
140 struct sg_table *dma_heap_map_dma_buf(struct dma_buf_attachment *attachment, in dma_heap_map_dma_buf()
153 static void dma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in dma_heap_unmap_dma_buf()
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-buf.c706 struct dma_buf_attachment *
711 struct dma_buf_attachment *attach; in dma_buf_dynamic_attach()
795 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, in dma_buf_attach()
810 void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) in dma_buf_detach()
845 int dma_buf_pin(struct dma_buf_attachment *attach) in dma_buf_pin()
864 void dma_buf_unpin(struct dma_buf_attachment *attach) in dma_buf_unpin()
890 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment()
952 void dma_buf_unmap_attachment(struct dma_buf_attachment *attach, in dma_buf_unmap_attachment()
988 struct dma_buf_attachment *attach; in dma_buf_move_notify()
1294 struct dma_buf_attachment *attach_obj; in dma_buf_debug_show()
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c42 struct dma_buf_attachment *db_attach;
216 struct dma_buf_attachment *dbuf_attach) in vb2_dc_dmabuf_ops_attach()
254 struct dma_buf_attachment *db_attach) in vb2_dc_dmabuf_ops_detach()
280 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_dc_dmabuf_ops_map()
321 static void vb2_dc_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dc_dmabuf_ops_unmap()
660 struct dma_buf_attachment *dba; in vb2_dc_attach_dmabuf()
Dvideobuf2-dma-sg.c53 struct dma_buf_attachment *db_attach;
356 struct dma_buf_attachment *dbuf_attach) in vb2_dma_sg_dmabuf_ops_attach()
394 struct dma_buf_attachment *db_attach) in vb2_dma_sg_dmabuf_ops_detach()
413 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_dma_sg_dmabuf_ops_map()
449 static void vb2_dma_sg_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dma_sg_dmabuf_ops_unmap()
605 struct dma_buf_attachment *dba; in vb2_dma_sg_attach_dmabuf()
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()
305 static void vb2_vmalloc_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_vmalloc_dmabuf_ops_unmap()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c20 static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_map_dma_buf()
67 static void i915_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_unmap_dma_buf()
224 struct dma_buf_attachment *attach; in i915_gem_prime_import()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_prime.c577 struct dma_buf_attachment *attach) in drm_gem_map_attach()
595 struct dma_buf_attachment *attach) in drm_gem_map_detach()
615 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, in drm_gem_map_dma_buf()
650 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach, in drm_gem_unmap_dma_buf()
910 struct dma_buf_attachment *attach; in drm_gem_prime_import_dev()
1033 struct dma_buf_attachment *attach; in drm_prime_gem_destroy()
/kernel/linux/linux-5.10/drivers/xen/
Dgntdev-dmabuf.c53 struct dma_buf_attachment *attach;
226 struct dma_buf_attachment *attach) in dmabuf_exp_ops_attach()
241 struct dma_buf_attachment *attach) in dmabuf_exp_ops_detach()
263 dmabuf_exp_ops_map_dma_buf(struct dma_buf_attachment *attach, in dmabuf_exp_ops_map_dma_buf()
305 static void dmabuf_exp_ops_unmap_dma_buf(struct dma_buf_attachment *attach, in dmabuf_exp_ops_unmap_dma_buf()
583 struct dma_buf_attachment *attach; in dmabuf_imp_to_refs()
702 struct dma_buf_attachment *attach; in dmabuf_imp_release()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_prime.c51 struct drm_device *dev, struct dma_buf_attachment *attach, in qxl_gem_prime_import_sg_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_gem.h37 struct drm_device *, struct dma_buf_attachment *, struct sg_table *);
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.h47 struct dma_buf_attachment *attach, struct sg_table *sg);
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.h32 struct dma_buf_attachment *attach,

123