Lines Matching refs:reqbufs
1480 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
1487 if ((reqbufs->memory != V4L2_MEMORY_MMAP) && in vidioc_reqbufs()
1488 (reqbufs->memory != V4L2_MEMORY_USERPTR)) in vidioc_reqbufs()
1490 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs()
1491 if (reqbufs->count == 0) { in vidioc_reqbufs()
1493 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1504 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1515 reqbufs->count = 0; in vidioc_reqbufs()
1516 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1519 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs()
1520 if (reqbufs->count == 0) { in vidioc_reqbufs()
1522 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in vidioc_reqbufs()
1537 (reqbufs->count < ctx->pb_count)) { in vidioc_reqbufs()
1538 reqbufs->count = ctx->pb_count; in vidioc_reqbufs()
1542 ctx->pb_count = reqbufs->count; in vidioc_reqbufs()
1546 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in vidioc_reqbufs()