Lines Matching refs:vb_queue
516 if (vb2_is_streaming(&vp->vb_queue) && !list_empty(&vp->pending_buf_q) in buffer_queue()
593 vb2_queue_release(&vp->vb_queue); in s3c_camif_close()
617 ret = vb2_poll(&vp->vb_queue, file, wait); in s3c_camif_poll()
631 ret = vb2_mmap(&vp->vb_queue, vma); in s3c_camif_mmap()
798 if (vb2_is_busy(&vp->vb_queue)) in s3c_camif_vidioc_s_fmt()
882 return vb2_streamon(&vp->vb_queue, type); in s3c_camif_streamon()
900 ret = vb2_streamoff(&vp->vb_queue, type); in s3c_camif_streamoff()
923 ret = vb2_reqbufs(&vp->vb_queue, rb); in s3c_camif_reqbufs()
929 vb2_reqbufs(&vp->vb_queue, rb); in s3c_camif_reqbufs()
944 return vb2_querybuf(&vp->vb_queue, buf); in s3c_camif_querybuf()
957 return vb2_qbuf(&vp->vb_queue, buf); in s3c_camif_qbuf()
970 return vb2_dqbuf(&vp->vb_queue, buf, file->f_flags & O_NONBLOCK); in s3c_camif_dqbuf()
983 ret = vb2_create_bufs(&vp->vb_queue, create); in s3c_camif_create_bufs()
995 return vb2_prepare_buf(&vp->vb_queue, b); in s3c_camif_prepare_buf()
1123 struct vb2_queue *q = &vp->vb_queue; in s3c_camif_register_video_node()
1318 if (vb2_is_busy(&camif->vp[VP_CODEC].vb_queue) || in s3c_camif_subdev_set_fmt()
1319 vb2_is_busy(&camif->vp[VP_PREVIEW].vb_queue)) { in s3c_camif_subdev_set_fmt()