• Home
  • Raw
  • Download

Lines Matching refs:dbuf

368 static int vb2_dma_sg_dmabuf_ops_attach(struct dma_buf *dbuf,  in vb2_dma_sg_dmabuf_ops_attach()  argument
375 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_attach()
406 static void vb2_dma_sg_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_detach() argument
459 static void vb2_dma_sg_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_dma_sg_dmabuf_ops_release() argument
462 vb2_dma_sg_put(dbuf->priv); in vb2_dma_sg_dmabuf_ops_release()
466 vb2_dma_sg_dmabuf_ops_begin_cpu_access(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_begin_cpu_access() argument
469 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_begin_cpu_access()
477 vb2_dma_sg_dmabuf_ops_end_cpu_access(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_end_cpu_access() argument
480 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_end_cpu_access()
487 static int vb2_dma_sg_dmabuf_ops_vmap(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_vmap() argument
493 buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_vmap()
503 static int vb2_dma_sg_dmabuf_ops_mmap(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_mmap() argument
506 return vb2_dma_sg_mmap(dbuf->priv, vma); in vb2_dma_sg_dmabuf_ops_mmap()
526 struct dma_buf *dbuf; in vb2_dma_sg_get_dmabuf() local
537 dbuf = dma_buf_export(&exp_info); in vb2_dma_sg_get_dmabuf()
538 if (IS_ERR(dbuf)) in vb2_dma_sg_get_dmabuf()
544 return dbuf; in vb2_dma_sg_get_dmabuf()
618 struct dma_buf *dbuf, unsigned long size) in vb2_dma_sg_attach_dmabuf() argument
626 if (dbuf->size < size) in vb2_dma_sg_attach_dmabuf()
635 dba = dma_buf_attach(dbuf, buf->dev); in vb2_dma_sg_attach_dmabuf()