Home
last modified time | relevance | path

Searched refs:exp_info (Results 1 - 11 of 11) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A Dsystem_heap.c420 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); in system_heap_do_allocate()
477 exp_info.exp_name = dma_heap_get_name(heap); in system_heap_do_allocate()
478 exp_info.ops = &system_heap_buf_ops; in system_heap_do_allocate()
479 exp_info.size = buffer->len; in system_heap_do_allocate()
480 exp_info.flags = fd_flags; in system_heap_do_allocate()
481 exp_info.priv = buffer; in system_heap_do_allocate()
482 dmabuf = dma_buf_export(&exp_info); in system_heap_do_allocate()
561 struct dma_heap_export_info exp_info; in system_heap_create() local
578 exp_info.name = "system"; in system_heap_create()
579 exp_info in system_heap_create()
[all...]
H A Dcma_heap.c277 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); in cma_heap_allocate()
343 exp_info.exp_name = dma_heap_get_name(heap); in cma_heap_allocate()
344 exp_info.ops = &cma_heap_buf_ops; in cma_heap_allocate()
345 exp_info.size = buffer->len; in cma_heap_allocate()
346 exp_info.flags = fd_flags; in cma_heap_allocate()
347 exp_info.priv = buffer; in cma_heap_allocate()
348 dmabuf = dma_buf_export(&exp_info); in cma_heap_allocate()
373 struct dma_heap_export_info exp_info; in _add_cma_heap() local
381 exp_info.name = cma_get_name(cma); in _add_cma_heap()
382 exp_info in _add_cma_heap()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-heap.c300 struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info) in dma_heap_add() argument
306 if (!exp_info->name || !strcmp(exp_info->name, "")) { in dma_heap_add()
311 if (!exp_info->ops || !exp_info->ops->allocate) { in dma_heap_add()
317 heap = dma_heap_find(exp_info->name); in dma_heap_add()
319 pr_err("dma_heap: Already registered heap named %s\n", exp_info->name); in dma_heap_add()
330 heap->name = exp_info->name; in dma_heap_add()
331 heap->ops = exp_info->ops; in dma_heap_add()
332 heap->priv = exp_info in dma_heap_add()
[all...]
H A Ddma-buf.c609 * @exp_info: [in] holds all the export related information provided
617 * For most cases the easiest way to create @exp_info is through the
620 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info) in dma_buf_export() argument
623 struct dma_resv *resv = exp_info->resv; in dma_buf_export()
628 if (!exp_info->resv) { in dma_buf_export()
635 if (WARN_ON(!exp_info->priv || !exp_info->ops || !exp_info->ops->map_dma_buf || !exp_info->ops->unmap_dma_buf || in dma_buf_export()
636 !exp_info in dma_buf_export()
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Dvideobuf2-rdma-sg.c468 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); in vb2_dma_sg_get_dmabuf()
470 exp_info.ops = &vb2_dma_sg_dmabuf_ops; in vb2_dma_sg_get_dmabuf()
471 exp_info.size = buf->size; in vb2_dma_sg_get_dmabuf()
472 exp_info.flags = flags; in vb2_dma_sg_get_dmabuf()
473 exp_info.priv = buf; in vb2_dma_sg_get_dmabuf()
479 dbuf = dma_buf_export(&exp_info); in vb2_dma_sg_get_dmabuf()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Dvideobuf2-rdma-sg.c463 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); in vb2_dma_sg_get_dmabuf()
465 exp_info.ops = &vb2_dma_sg_dmabuf_ops; in vb2_dma_sg_get_dmabuf()
466 exp_info.size = buf->size; in vb2_dma_sg_get_dmabuf()
467 exp_info.flags = flags; in vb2_dma_sg_get_dmabuf()
468 exp_info.priv = buf; in vb2_dma_sg_get_dmabuf()
473 dbuf = dma_buf_export(&exp_info); in vb2_dma_sg_get_dmabuf()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-heap.h73 * @exp_info: information needed to register this heap
75 struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info);
H A Ddma-buf.h595 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info);
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_prime.c233 * @exp_info: the export information used by dma_buf_export()
242 struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev, struct dma_buf_export_info *exp_info) in drm_gem_dmabuf_export() argument
244 struct drm_gem_object *obj = exp_info->priv; in drm_gem_dmabuf_export()
247 dma_buf = dma_buf_export(exp_info); in drm_gem_dmabuf_export()
902 struct dma_buf_export_info exp_info = { in drm_gem_prime_export() local
912 return drm_gem_dmabuf_export(dev, &exp_info); in drm_gem_prime_export()
/device/soc/rockchip/common/sdk_linux/include/drm/
H A Ddrm_prime.h65 struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev, struct dma_buf_export_info *exp_info);
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c1583 struct dma_buf_export_info exp_info = { in rockchip_drm_gem_prime_export() local
1593 return drm_gem_dmabuf_export(dev, &exp_info); in rockchip_drm_gem_prime_export()

Completed in 11 milliseconds