Home
last modified time | relevance | path

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

1234

/linux/include/linux/
H A 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 *,
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 Dvirtio_dma_buf.h25 struct dma_buf_attachment *attach);
30 struct dma_buf_attachment *attach);
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dvde.h49 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 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/include/drm/
H A Ddrm_prime.h56 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 Ddrm_gem_dma_helper.h152 struct dma_buf_attachment *attach,
227 struct dma_buf_attachment *attach,
H A Ddrm_drv.h44 struct dma_buf_attachment;
325 struct dma_buf_attachment *attach,
/linux/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c26 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 Dvmwgfx_prime.c45 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 Damdgpu_dma_buf.c54 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 Ddma-buf.c793 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 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/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.h15 struct dma_buf_attachment;
40 struct dma_buf_attachment *attach,
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_kms.h15 struct dma_buf_attachment;
41 struct dma_buf_attachment *attach,
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_gem.h14 struct dma_buf_attachment;
25 struct dma_buf_attachment *attach,
/linux/drivers/gpu/drm/virtio/
H A 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/drivers/gpu/drm/i915/gem/
H A 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/include/linux/iio/
H A Dbuffer_impl.h12 struct dma_buf_attachment;
86 struct dma_buf_attachment *attach);
H A Dbuffer-dma.h20 struct dma_buf_attachment;
167 struct dma_buf_attachment *attach);
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c213 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 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()
H A 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()
773 struct dma_buf_attachment *dba; in vb2_dc_attach_dmabuf()
/linux/drivers/dma-buf/heaps/
H A 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()
/linux/drivers/xen/
H A 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/drivers/gpu/drm/
H A Ddrm_prime.c605 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()

1234