/linux-6.6.21/include/linux/ |
D | dma-buf.h | 28 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 …]
|
D | virtio_dma_buf.h | 25 struct dma_buf_attachment *attach); 30 struct dma_buf_attachment *attach);
|
/linux-6.6.21/include/drm/ |
D | drm_prime.h | 56 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,
|
D | drm_gem_dma_helper.h | 152 struct dma_buf_attachment *attach, 227 struct dma_buf_attachment *attach,
|
D | drm_gem_shmem_helper.h | 15 struct dma_buf_attachment; 269 struct dma_buf_attachment *attach,
|
D | drm_drv.h | 42 struct dma_buf_attachment; 351 struct dma_buf_attachment *attach,
|
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/ |
D | vde.h | 49 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,
|
D | dmabuf-cache.c | 23 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/ |
D | vmwgfx_prime.c | 43 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/ |
D | amdgpu_dma_buf.c | 55 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/ |
D | rcar_du_kms.h | 15 struct dma_buf_attachment; 41 struct dma_buf_attachment *attach,
|
/linux-6.6.21/drivers/gpu/drm/xen/ |
D | xen_drm_front_gem.h | 14 struct dma_buf_attachment; 25 struct dma_buf_attachment *attach,
|
/linux-6.6.21/drivers/gpu/drm/omapdrm/ |
D | omap_gem_dmabuf.c | 21 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/ |
D | virtgpu_prime.c | 47 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/ |
D | dma-buf.c | 777 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/ |
D | i915_gem_dmabuf.c | 28 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/ |
D | videobuf2-vmalloc.c | 211 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()
|
D | videobuf2-dma-sg.c | 53 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()
|
D | videobuf2-dma-contig.c | 43 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/ |
D | cma_heap.c | 51 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()
|
D | system_heap.c | 83 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/ |
D | drm_prime.c | 581 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/ |
D | gntdev-dmabuf.c | 48 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/ |
D | mock_dmabuf.c | 9 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/ |
D | radeon_prime.h | 37 struct dma_buf_attachment *,
|