/Linux-v6.1/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 *, 492 void (*move_notify)(struct dma_buf_attachment *attach); 517 struct dma_buf_attachment { struct 599 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-v6.1/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, 233 struct dma_buf_attachment *attach,
|
D | drm_gem_shmem_helper.h | 15 struct dma_buf_attachment; 281 struct dma_buf_attachment *attach,
|
D | drm_drv.h | 40 struct dma_buf_attachment; 341 struct dma_buf_attachment *attach,
|
/Linux-v6.1/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-v6.1/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-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dma_buf.c | 54 struct dma_buf_attachment *attach) in amdgpu_dma_buf_attach() 84 struct dma_buf_attachment *attach) in amdgpu_dma_buf_detach() 101 static int amdgpu_dma_buf_pin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_pin() 117 static void amdgpu_dma_buf_unpin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_unpin() 138 static struct sg_table *amdgpu_dma_buf_map(struct dma_buf_attachment *attach, in amdgpu_dma_buf_map() 209 static void amdgpu_dma_buf_unmap(struct dma_buf_attachment *attach, in amdgpu_dma_buf_unmap() 361 amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach) in amdgpu_dma_buf_move_notify() 433 struct dma_buf_attachment *attach; in amdgpu_gem_prime_import()
|
/Linux-v6.1/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.h | 15 struct dma_buf_attachment; 41 struct dma_buf_attachment *attach,
|
/Linux-v6.1/drivers/gpu/drm/xen/ |
D | xen_drm_front_gem.h | 14 struct dma_buf_attachment; 25 struct dma_buf_attachment *attach,
|
/Linux-v6.1/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() 105 struct dma_buf_attachment *attach; in omap_gem_prime_import()
|
/Linux-v6.1/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-v6.1/drivers/dma-buf/ |
D | dma-buf.c | 784 static struct sg_table * __map_dma_buf(struct dma_buf_attachment *attach, in __map_dma_buf() 831 struct dma_buf_attachment * 836 struct dma_buf_attachment *attach; in dma_buf_dynamic_attach() 920 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, in dma_buf_attach() 927 static void __unmap_dma_buf(struct dma_buf_attachment *attach, in __unmap_dma_buf() 946 void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) in dma_buf_detach() 987 int dma_buf_pin(struct dma_buf_attachment *attach) in dma_buf_pin() 1011 void dma_buf_unpin(struct dma_buf_attachment *attach) in dma_buf_unpin() 1045 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment() 1124 void dma_buf_unmap_attachment(struct dma_buf_attachment *attach, in dma_buf_unmap_attachment() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_dmabuf.c | 28 static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_map_dma_buf() 167 struct dma_buf_attachment *attach) in i915_gem_dmabuf_attach() 196 struct dma_buf_attachment *attach) in i915_gem_dmabuf_detach() 287 struct dma_buf_attachment *attach; in i915_gem_prime_import()
|
/Linux-v6.1/drivers/media/common/videobuf2/ |
D | videobuf2-vmalloc.c | 209 struct dma_buf_attachment *dbuf_attach) in vb2_vmalloc_dmabuf_ops_attach() 248 struct dma_buf_attachment *db_attach) in vb2_vmalloc_dmabuf_ops_detach() 267 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_map() 303 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; 367 struct dma_buf_attachment *dbuf_attach) in vb2_dma_sg_dmabuf_ops_attach() 405 struct dma_buf_attachment *db_attach) in vb2_dma_sg_dmabuf_ops_detach() 424 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_dma_sg_dmabuf_ops_map() 460 static void vb2_dma_sg_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dma_sg_dmabuf_ops_unmap() 622 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() 423 static void vb2_dc_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dc_dmabuf_ops_unmap() 779 struct dma_buf_attachment *dba; in vb2_dc_attach_dmabuf()
|
/Linux-v6.1/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 | 84 struct dma_buf_attachment *attachment) in system_heap_attach() 115 struct dma_buf_attachment *attachment) in system_heap_detach() 129 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf() 144 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf()
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_prime.c | 582 struct dma_buf_attachment *attach) in drm_gem_map_attach() 600 struct dma_buf_attachment *attach) in drm_gem_map_detach() 620 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, in drm_gem_map_dma_buf() 657 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach, in drm_gem_unmap_dma_buf() 917 struct dma_buf_attachment *attach; in drm_gem_prime_import_dev() 1054 struct dma_buf_attachment *attach; in drm_prime_gem_destroy()
|
/Linux-v6.1/drivers/xen/ |
D | gntdev-dmabuf.c | 47 struct dma_buf_attachment *attach; 220 struct dma_buf_attachment *attach) in dmabuf_exp_ops_attach() 235 struct dma_buf_attachment *attach) in dmabuf_exp_ops_detach() 257 dmabuf_exp_ops_map_dma_buf(struct dma_buf_attachment *attach, in dmabuf_exp_ops_map_dma_buf() 299 static void dmabuf_exp_ops_unmap_dma_buf(struct dma_buf_attachment *attach, in dmabuf_exp_ops_unmap_dma_buf() 577 struct dma_buf_attachment *attach; in dmabuf_imp_to_refs() 696 struct dma_buf_attachment *attach; in dmabuf_imp_release()
|
/Linux-v6.1/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-v6.1/drivers/gpu/drm/radeon/ |
D | radeon_prime.h | 37 struct dma_buf_attachment *,
|