/linux/include/linux/ |
H A 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 *, 488 void (*move_notify)(struct dma_buf_attachment *attach); 513 struct dma_buf_attachment { struct 595 dma_buf_attachment_is_dynamic(struct dma_buf_attachment *attach) in dma_buf_attachment_is_dynamic() [all …]
|
H A D | virtio_dma_buf.h | 25 struct dma_buf_attachment *attach); 30 struct dma_buf_attachment *attach);
|
/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.h | 49 struct dma_buf_attachment; 53 struct dma_buf_attachment *y_dmabuf_attachment; 54 struct dma_buf_attachment *cb_dmabuf_attachment; 55 struct dma_buf_attachment *cr_dmabuf_attachment; 56 struct dma_buf_attachment *aux_dmabuf_attachment; 158 struct dma_buf_attachment *a[VB2_MAX_PLANES]; 197 struct dma_buf_attachment **ap, 200 struct dma_buf_attachment *a,
|
H 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/include/drm/ |
H A D | drm_prime.h | 56 struct dma_buf_attachment; 81 struct dma_buf_attachment *attach); 83 struct dma_buf_attachment *attach); 84 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, 86 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
|
H A D | drm_gem_dma_helper.h | 152 struct dma_buf_attachment *attach, 227 struct dma_buf_attachment *attach,
|
H A D | drm_drv.h | 44 struct dma_buf_attachment; 325 struct dma_buf_attachment *attach,
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_dma_buf.c | 26 struct dma_buf_attachment *attach) in xe_dma_buf_attach() 42 struct dma_buf_attachment *attach) in xe_dma_buf_detach() 49 static int xe_dma_buf_pin(struct dma_buf_attachment *attach) in xe_dma_buf_pin() 81 static void xe_dma_buf_unpin(struct dma_buf_attachment *attach) in xe_dma_buf_unpin() 89 static struct sg_table *xe_dma_buf_map(struct dma_buf_attachment *attach, in xe_dma_buf_map() 144 static void xe_dma_buf_unmap(struct dma_buf_attachment *attach, in xe_dma_buf_unmap() 234 static void xe_dma_buf_move_notify(struct dma_buf_attachment *attach) in xe_dma_buf_move_notify() 267 struct dma_buf_attachment *attach; in xe_gem_prime_import()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_prime.c | 45 struct dma_buf_attachment *attach) in vmw_prime_map_attach() 51 struct dma_buf_attachment *attach) in vmw_prime_map_detach() 55 static struct sg_table *vmw_prime_map_dma_buf(struct dma_buf_attachment *attach, in vmw_prime_map_dma_buf() 61 static void vmw_prime_unmap_dma_buf(struct dma_buf_attachment *attach, in vmw_prime_unmap_dma_buf()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_dma_buf.c | 54 struct dma_buf_attachment *attach) in amdgpu_dma_buf_attach() 73 static int amdgpu_dma_buf_pin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_pin() 89 static void amdgpu_dma_buf_unpin(struct dma_buf_attachment *attach) in amdgpu_dma_buf_unpin() 110 static struct sg_table *amdgpu_dma_buf_map(struct dma_buf_attachment *attach, in amdgpu_dma_buf_map() 180 static void amdgpu_dma_buf_unmap(struct dma_buf_attachment *attach, in amdgpu_dma_buf_unmap() 334 amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach) in amdgpu_dma_buf_move_notify() 413 struct dma_buf_attachment *attach; in amdgpu_gem_prime_import()
|
/linux/drivers/dma-buf/ |
H A D | dma-buf.c | 793 static struct sg_table *__map_dma_buf(struct dma_buf_attachment *attach, in __map_dma_buf() 904 struct dma_buf_attachment * 909 struct dma_buf_attachment *attach; in dma_buf_dynamic_attach() 991 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, in dma_buf_attach() 998 static void __unmap_dma_buf(struct dma_buf_attachment *attach, in __unmap_dma_buf() 1017 void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) in dma_buf_detach() 1056 int dma_buf_pin(struct dma_buf_attachment *attach) in dma_buf_pin() 1080 void dma_buf_unpin(struct dma_buf_attachment *attach) in dma_buf_unpin() 1114 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment() 1191 dma_buf_map_attachment_unlocked(struct dma_buf_attachment *attach, in dma_buf_map_attachment_unlocked() [all …]
|
/linux/drivers/gpu/drm/omapdrm/ |
H A 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/drivers/gpu/drm/renesas/rz-du/ |
H A D | rzg2l_du_kms.h | 15 struct dma_buf_attachment; 40 struct dma_buf_attachment *attach,
|
/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_kms.h | 15 struct dma_buf_attachment; 41 struct dma_buf_attachment *attach,
|
/linux/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_gem.h | 14 struct dma_buf_attachment; 25 struct dma_buf_attachment *attach,
|
/linux/drivers/gpu/drm/virtio/ |
H A 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/drivers/gpu/drm/i915/gem/ |
H A 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/include/linux/iio/ |
H A D | buffer_impl.h | 12 struct dma_buf_attachment; 86 struct dma_buf_attachment *attach);
|
H A D | buffer-dma.h | 20 struct dma_buf_attachment; 167 struct dma_buf_attachment *attach);
|
/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-vmalloc.c | 213 struct dma_buf_attachment *dbuf_attach) in vb2_vmalloc_dmabuf_ops_attach() 252 struct dma_buf_attachment *db_attach) in vb2_vmalloc_dmabuf_ops_detach() 271 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_map() 298 static void vb2_vmalloc_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_vmalloc_dmabuf_ops_unmap()
|
H A 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()
|
H A 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() 773 struct dma_buf_attachment *dba; in vb2_dc_attach_dmabuf()
|
/linux/drivers/dma-buf/heaps/ |
H A 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()
|
/linux/drivers/xen/ |
H A 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/drivers/gpu/drm/ |
H A D | drm_prime.c | 605 struct dma_buf_attachment *attach) in drm_gem_map_attach() 631 struct dma_buf_attachment *attach) in drm_gem_map_detach() 651 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, in drm_gem_map_dma_buf() 688 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach, in drm_gem_unmap_dma_buf() 938 struct dma_buf_attachment *attach; in drm_gem_prime_import_dev() 1075 struct dma_buf_attachment *attach; in drm_prime_gem_destroy()
|