Home
last modified time | relevance | path

Searched refs:dma_buf_attachment (Results 1 - 25 of 40) sorted by relevance

12

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-buf.h27 struct dma_buf_attachment;
49 * &dma_buf_attachment.dev can access the provided &dma_buf. Exporters
61 * &dma_buf_attachment.priv pointer.
71 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
76 * This is called by dma_buf_detach() to release a &dma_buf_attachment.
78 * &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);
128 * &device.dma_params from the &dma_buf_attachment
493 struct dma_buf_attachment { global() struct
[all...]
H A 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_table,
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/soc/rockchip/rk3588/kernel/include/linux/
H A 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/
H A 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_direction dir);
H A Ddrm_drv.h40 struct dma_buf_attachment;
426 struct drm_gem_object *(*gem_prime_import_sg_table)(struct drm_device *dev, struct dma_buf_attachment *attach,
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A 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_attach) 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_data_direction dma_dir) 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/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A 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/sdk_linux/drivers/gpu/drm/
H A Ddrm_prime.c575 int drm_gem_map_attach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach) in drm_gem_map_attach()
589 * &dma_buf_attachment from drm_gem_map_attach(). This can be used as the
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_direction dir) 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/
H A 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()
H A Dump_kernel_random_mapping.c191 struct dma_buf_attachment *attach = mem->import_attach; in ump_random_mapping_put()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-buf.c794 int dma_buf_pin(struct dma_buf_attachment *attach) in dma_buf_pin()
817 * Returns struct dma_buf_attachment pointer for this attachment. Attachments
822 * A pointer to newly created &dma_buf_attachment on success, or a negative
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 direction) in dma_buf_map_attachment()
1066 void dma_buf_unmap_attachment(struct dma_buf_attachment *attac
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_types.h51 struct dma_buf_attachment *import_attach;
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_dma_buf.h28 struct dma_buf_attachment *attachment;
H A Dmali_memory_types.h179 struct dma_buf_attachment *attachment;
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_types.h52 struct dma_buf_attachment *import_attach;
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_dma_buf.h27 struct dma_buf_attachment *attachment;
H A Dmali_memory_types.h177 struct dma_buf_attachment *attachment;
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A 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()
H A 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_direction direction) 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()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.h40 struct drm_gem_object *rockchip_gem_prime_import_sg_table(struct drm_device *dev, struct dma_buf_attachment *attach,
H A Drockchip_drm_gem.c658 struct dma_buf_attachment *attach; in rockchip_gem_destroy()
798 static int rockchip_gem_iommu_map_sg(struct drm_device *drm, struct dma_buf_attachment *attach, struct sg_table *sg, in rockchip_gem_iommu_map_sg()
805 static int rockchip_gem_dma_map_sg(struct drm_device *drm, struct dma_buf_attachment *attach, struct sg_table *sg, in rockchip_gem_dma_map_sg()
824 struct drm_gem_object *rockchip_gem_prime_import_sg_table(struct drm_device *drm, struct dma_buf_attachment *attach, in rockchip_gem_prime_import_sg_table()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.h42 struct dma_buf_attachment *attach,
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/
H A Drga_drv.h144 struct dma_buf_attachment *attach;
173 struct dma_buf_attachment *attach;
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_iommu.h25 struct dma_buf_attachment *attach;
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_iommu.h25 struct dma_buf_attachment *attach;

Completed in 15 milliseconds

12