Home
last modified time | relevance | path

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

123

/device/soc/rockchip/common/sdk_linux/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 *, enum dma_data_direction);
163 void (*unmap_dma_buf)(struct dma_buf_attachment *, struct sg_table *, enum dma_data_direction);
465 void (*move_notify)(struct dma_buf_attachment *attach);
493 struct dma_buf_attachment { struct
581 static inline bool dma_buf_attachment_is_dynamic(struct dma_buf_attachment *attach) in dma_buf_attachment_is_dynamic()
[all …]
Ddma-buf-cache.h10 extern void dma_buf_cache_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach);
12 extern void dma_buf_cache_unmap_attachment(struct dma_buf_attachment *attach, struct sg_table *sg_t…
15 extern struct dma_buf_attachment *dma_buf_cache_attach(struct dma_buf *dmabuf, struct device *dev);
17 extern struct sg_table *dma_buf_cache_map_attachment(struct dma_buf_attachment *attach,
/device/board/isoftstone/yangfan/kernel/src/incl/linux/current/
Ddma-buf-cache.h11 struct dma_buf_attachment *attach);
13 extern void dma_buf_cache_unmap_attachment(struct dma_buf_attachment *attach,
17 extern struct dma_buf_attachment *
21 dma_buf_cache_map_attachment(struct dma_buf_attachment *attach,
/device/soc/rockchip/rk3588/kernel/include/linux/
Ddma-buf-cache.h11 struct dma_buf_attachment *attach);
13 extern void dma_buf_cache_unmap_attachment(struct dma_buf_attachment *attach,
17 extern struct dma_buf_attachment *
21 dma_buf_cache_map_attachment(struct dma_buf_attachment *attach,
/device/soc/rockchip/common/sdk_linux/include/drm/
Ddrm_prime.h56 struct dma_buf_attachment;
73 int drm_gem_map_attach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach);
74 void drm_gem_map_detach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach);
75 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, enum dma_data_direction dir…
76 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sgt, enum dma_data_d…
Ddrm_drv.h40 struct dma_buf_attachment;
426 …gem_object *(*gem_prime_import_sg_table)(struct drm_device *dev, struct dma_buf_attachment *attach,
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Drkisp_tb_helper.c30 static struct sg_table *shm_map_dma_buf(struct dma_buf_attachment *attachment, in shm_map_dma_buf()
54 static void shm_unmap_dma_buf(struct dma_buf_attachment *attachment, in shm_unmap_dma_buf()
101 struct dma_buf_attachment *attachment; in shm_begin_cpu_access()
104 attachment = list_first_entry(&dmabuf->attachments, struct dma_buf_attachment, node); in shm_begin_cpu_access()
113 struct dma_buf_attachment *attachment; in shm_end_cpu_access()
116 attachment = list_first_entry(&dmabuf->attachments, struct dma_buf_attachment, node); in shm_end_cpu_access()
Dvideobuf2-rdma-sg.c36 struct dma_buf_attachment *db_attach;
307 struct dma_buf_attachment *dbuf_attach) in vb2_dma_sg_dmabuf_ops_attach()
345 struct dma_buf_attachment *db_attach) in vb2_dma_sg_dmabuf_ops_detach()
364 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_dma_sg_dmabuf_ops_map()
400 static void vb2_dma_sg_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dma_sg_dmabuf_ops_unmap()
556 struct dma_buf_attachment *dba; in vb2_dma_sg_attach_dmabuf()
/device/soc/amlogic/a311d/soc/amlogic/ge2d/
Dge2d_dmabuf.h41 struct dma_buf_attachment *db_attach;
63 struct dma_buf_attachment *attach;
Dge2d_dmabuf.c194 …dmabuf_ops_attach(struct dma_buf *dbuf, struct device *dev, struct dma_buf_attachment *dbuf_attach)
196 static int aml_dmabuf_ops_attach(struct dma_buf *dbuf, struct dma_buf_attachment *dbuf_attach)
236 static void aml_dmabuf_ops_detach(struct dma_buf *dbuf, struct dma_buf_attachment *db_attach)
256 static struct sg_table *aml_dmabuf_ops_map(struct dma_buf_attachment *db_attach, enum dma_data_dire…
291 static void aml_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, struct sg_table *sgt,
533 struct dma_buf_attachment *d_att = NULL;
678 struct dma_buf_attachment *d_att = NULL;
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/app/v4l2_interface/
Disp-vb2-cmalloc.c224 struct dma_buf_attachment *dbuf_attach)
227 struct device *dev, struct dma_buf_attachment *dbuf_attach)
267 struct dma_buf_attachment *db_attach)
288 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir)
327 static void vb2_cmalloc_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach,
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/
Dsecmem.c59 struct dma_buf_attachment *attachment) in secmem_dma_attach()
92 struct dma_buf_attachment *attachment) in secmem_dma_detach()
112 struct dma_buf_attachment *attachment, in secmem_dma_map_dma_buf()
143 struct dma_buf_attachment *attachment, in secmem_dma_unmap_dma_buf()
309 struct dma_buf_attachment *attach; in secmem_import()
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/
Dsecmem.c57 static int secmem_dma_attach(struct dma_buf *dbuf, struct dma_buf_attachment *attachment) in secmem_dma_attach()
89 static void secmem_dma_detach(struct dma_buf *dbuf, struct dma_buf_attachment *attachment) in secmem_dma_detach()
106 static struct sg_table *secmem_dma_map_dma_buf(struct dma_buf_attachment *attachment, enum dma_data… in secmem_dma_map_dma_buf()
134 static void secmem_dma_unmap_dma_buf(struct dma_buf_attachment *attachment, struct sg_table *sgt, in secmem_dma_unmap_dma_buf()
293 struct dma_buf_attachment *attach; in secmem_import()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dvideobuf2-rdma-sg.c36 struct dma_buf_attachment *db_attach;
307 struct dma_buf_attachment *dbuf_attach) in vb2_dma_sg_dmabuf_ops_attach()
345 struct dma_buf_attachment *db_attach) in vb2_dma_sg_dmabuf_ops_detach()
364 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_dma_sg_dmabuf_ops_map()
400 static void vb2_dma_sg_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, in vb2_dma_sg_dmabuf_ops_unmap()
556 struct dma_buf_attachment *dba; in vb2_dma_sg_attach_dmabuf()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dvideobuf2-rdma-sg.c36 struct dma_buf_attachment *db_attach;
316 static int vb2_dma_sg_dmabuf_ops_attach(struct dma_buf *dbuf, struct dma_buf_attachment *dbuf_attac… in vb2_dma_sg_dmabuf_ops_attach()
354 static void vb2_dma_sg_dmabuf_ops_detach(struct dma_buf *dbuf, struct dma_buf_attachment *db_attach) in vb2_dma_sg_dmabuf_ops_detach()
374 static struct sg_table *vb2_dma_sg_dmabuf_ops_map(struct dma_buf_attachment *db_attach, enum dma_da… in vb2_dma_sg_dmabuf_ops_map()
410 static void vb2_dma_sg_dmabuf_ops_unmap(struct dma_buf_attachment *db_attach, struct sg_table *sgt, in vb2_dma_sg_dmabuf_ops_unmap()
562 struct dma_buf_attachment *dba; in vb2_dma_sg_attach_dmabuf()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
Ddma-buf.c794 int dma_buf_pin(struct dma_buf_attachment *attach) in dma_buf_pin()
829 struct dma_buf_attachment *dma_buf_dynamic_attach(struct dma_buf *dmabuf, struct device *dev, in dma_buf_dynamic_attach()
832 struct dma_buf_attachment *attach; in dma_buf_dynamic_attach()
925 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, struct device *dev) in dma_buf_attach()
939 void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) in dma_buf_detach()
974 void dma_buf_unpin(struct dma_buf_attachment *attach) in dma_buf_unpin()
1001 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, enum dma_data_direction … in dma_buf_map_attachment()
1066 void dma_buf_unmap_attachment(struct dma_buf_attachment *attach, struct sg_table *sg_table, in dma_buf_unmap_attachment()
1105 struct dma_buf_attachment *attach; in dma_buf_move_notify()
1487 struct dma_buf_attachment *attach_obj; in dma_buf_debug_show()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
Dcma_heap.c49 static int cma_heap_attach(struct dma_buf *dmabuf, struct dma_buf_attachment *attachment) in cma_heap_attach()
80 static void cma_heap_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attachment) in cma_heap_detach()
93 static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment, enum dma_data_d… in cma_heap_map_dma_buf()
107 static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, struct sg_table *table, in cma_heap_unmap_dma_buf()
Dsystem_heap.c92 static int system_heap_attach(struct dma_buf *dmabuf, struct dma_buf_attachment *attachment) in system_heap_attach()
123 static void system_heap_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attachment) in system_heap_detach()
137 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf()
158 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, struct sg_table *table, in system_heap_unmap_dma_buf()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_prime.c575 int drm_gem_map_attach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach) in drm_gem_map_attach()
592 void drm_gem_map_detach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach) in drm_gem_map_detach()
612 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, enum dma_data_direction dir) in drm_gem_map_dma_buf()
647 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sgt, enum dma_data_d… in drm_gem_unmap_dma_buf()
933 struct dma_buf_attachment *attach; in drm_gem_prime_import_dev()
1060 struct dma_buf_attachment *attach; in drm_prime_gem_destroy()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
Dump_ukk_ref_wrappers.c83 struct dma_buf_attachment *attach; in get_ump_handle_from_dmabuf()
116 struct dma_buf_attachment *attach = NULL; in ump_dmabuf_import_wrapper()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
Dump_kernel_types.h51 struct dma_buf_attachment *import_attach;
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/ump/common/
Dump_kernel_types.h52 struct dma_buf_attachment *import_attach;
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_dma_buf.h28 struct dma_buf_attachment *attachment;
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_dma_buf.h27 struct dma_buf_attachment *attachment;
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/
Drga_drv.h144 struct dma_buf_attachment *attach;
173 struct dma_buf_attachment *attach;

123