Lines Matching refs:vb2_buf
381 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) {
382 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0);
384 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte;
412 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused;
454 bytesused = &vb->vb.vb2_buf.planes[0].bytesused;
462 vb->vb.vb2_buf.timestamp = ktime_get_ns();
473 vb2_buffer_done(&vb_tmp->vb.vb2_buf, VB2_BUF_STATE_DONE);
516 if (vb && vb->vb.vb2_buf.planes[0].bytesused >=
519 vb->vb.vb2_buf.planes[0].bytesused = 0;
600 vb->vb.vb2_buf.planes[0].bytesused;