/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 483 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument 489 if (reqbufs->memory != V4L2_MEMORY_MMAP) { in vidioc_reqbufs() 493 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs() 497 if (reqbufs->count == 0) { in vidioc_reqbufs() 500 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in vidioc_reqbufs() 510 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in vidioc_reqbufs() 519 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs() 521 if (reqbufs->count == 0) { in vidioc_reqbufs() 524 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs() 534 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs() [all …]
|
D | s5p_mfc_enc.c | 1037 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument 1044 if ((reqbufs->memory != V4L2_MEMORY_MMAP) && in vidioc_reqbufs() 1045 (reqbufs->memory != V4L2_MEMORY_USERPTR)) in vidioc_reqbufs() 1047 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs() 1053 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs() 1064 reqbufs->count = 0; in vidioc_reqbufs() 1065 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs() 1068 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs() 1078 (reqbufs->count < ctx->pb_count)) { in vidioc_reqbufs() 1079 reqbufs->count = ctx->pb_count; in vidioc_reqbufs() [all …]
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-m2m.c | 356 struct v4l2_requestbuffers *reqbufs) in gsc_m2m_reqbufs() argument 363 max_cnt = (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) ? in gsc_m2m_reqbufs() 365 if (reqbufs->count > max_cnt) { in gsc_m2m_reqbufs() 367 } else if (reqbufs->count == 0) { in gsc_m2m_reqbufs() 368 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) in gsc_m2m_reqbufs() 374 frame = ctx_get_frame(ctx, reqbufs->type); in gsc_m2m_reqbufs() 376 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in gsc_m2m_reqbufs()
|
/drivers/media/v4l2-core/ |
D | v4l2-mem2mem.c | 305 struct v4l2_requestbuffers *reqbufs) in v4l2_m2m_reqbufs() argument 309 vq = v4l2_m2m_get_vq(m2m_ctx, reqbufs->type); in v4l2_m2m_reqbufs() 310 return vb2_reqbufs(vq, reqbufs); in v4l2_m2m_reqbufs()
|
/drivers/media/platform/exynos4-is/ |
D | fimc-lite.c | 857 struct v4l2_requestbuffers *reqbufs) in fimc_lite_reqbufs() argument 862 reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); in fimc_lite_reqbufs() 863 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_lite_reqbufs() 865 fimc->reqbufs_count = reqbufs->count; in fimc_lite_reqbufs()
|
D | fimc-m2m.c | 413 struct v4l2_requestbuffers *reqbufs) in fimc_m2m_reqbufs() argument 416 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in fimc_m2m_reqbufs()
|
D | fimc-capture.c | 1274 struct v4l2_requestbuffers *reqbufs) in fimc_cap_reqbufs() argument 1279 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_cap_reqbufs() 1282 fimc->vid_cap.reqbufs_count = reqbufs->count; in fimc_cap_reqbufs()
|
/drivers/media/platform/ |
D | sh_veu.c | 635 struct v4l2_requestbuffers *reqbufs) in sh_veu_reqbufs() argument 643 ret = sh_veu_stream_init(veu, veu_file, reqbufs->type); in sh_veu_reqbufs() 647 return v4l2_m2m_reqbufs(file, veu->m2m_ctx, reqbufs); in sh_veu_reqbufs()
|
D | mx2_emmaprp.c | 621 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument 625 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
|
D | mem2mem_testdev.c | 652 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument 656 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
|
D | m2m-deinterlace.c | 686 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument 690 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
|
D | coda.c | 550 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument 554 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
|
/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 439 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument 442 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
|
/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 796 struct v4l2_requestbuffers *reqbufs) in s5p_jpeg_reqbufs() argument 800 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in s5p_jpeg_reqbufs()
|
/drivers/media/platform/soc_camera/ |
D | soc_camera.c | 301 ret = ici->ops->reqbufs(icd, p); in soc_camera_reqbufs() 1373 !ici->ops->reqbufs) && in soc_camera_host_register()
|
D | mx1_camera.c | 686 .reqbufs = mx1_camera_reqbufs,
|
D | mx3_camera.c | 1141 .reqbufs = mx3_camera_reqbufs,
|
D | omap1_camera.c | 1543 .reqbufs = omap1_cam_reqbufs,
|
D | pxa_camera.c | 1649 .reqbufs = pxa_camera_reqbufs,
|