Lines Matching full:vb
38 static int rga_buf_prepare(struct vb2_buffer *vb) in rga_buf_prepare() argument
40 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare()
41 struct rga_frame *f = rga_get_frame(ctx, vb->vb2_queue->type); in rga_buf_prepare()
46 vb2_set_plane_payload(vb, 0, f->size); in rga_buf_prepare()
51 static void rga_buf_queue(struct vb2_buffer *vb) in rga_buf_queue() argument
53 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_queue()
54 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_queue()
114 void rga_buf_map(struct vb2_buffer *vb) in rga_buf_map() argument
116 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_map()
124 if (vb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) in rga_buf_map()
130 sgt = vb2_plane_cookie(vb, 0); in rga_buf_map()