Lines Matching refs:vb2_buf
383 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) {
384 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0);
386 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte;
414 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused;
456 bytesused = &vb->vb.vb2_buf.planes[0].bytesused;
464 vb->vb.vb2_buf.timestamp = ktime_get_ns();
475 vb2_buffer_done(&vb_tmp->vb.vb2_buf, VB2_BUF_STATE_DONE);
518 if (vb && vb->vb.vb2_buf.planes[0].bytesused >=
521 vb2_set_plane_payload(&vb->vb.vb2_buf, 0, 0);
602 vb->vb.vb2_buf.planes[0].bytesused;