| /linux-6.15/drivers/media/usb/au0828/ |
| H A D | au0828-vbi.c | 42 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare() 44 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare() 63 buf->length = vb2_plane_size(vb, 0); in vbi_buffer_queue()
|
| /linux-6.15/drivers/media/usb/em28xx/ |
| H A D | em28xx-vbi.c | 52 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare() 55 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare() 74 buf->length = vb2_plane_size(vb, 0); in vbi_buffer_queue()
|
| /linux-6.15/drivers/media/test-drivers/vivid/ |
| H A D | vivid-meta-cap.c | 52 if (vb2_plane_size(vb, 0) < size) { in meta_cap_buf_prepare() 54 __func__, vb2_plane_size(vb, 0), size); in meta_cap_buf_prepare() 166 memset(meta, 1, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_meta_cap_fillbuff()
|
| H A D | vivid-vbi-cap.c | 95 memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_raw_vbi_cap_process() 114 memset(vbuf, 0, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_sliced_vbi_cap_process() 162 if (vb2_plane_size(vb, 0) < size) { in vbi_cap_buf_prepare() 164 __func__, vb2_plane_size(vb, 0), size); in vbi_cap_buf_prepare()
|
| H A D | vivid-meta-out.c | 52 if (vb2_plane_size(vb, 0) < size) { in meta_out_buf_prepare() 54 __func__, vb2_plane_size(vb, 0), size); in meta_out_buf_prepare()
|
| H A D | vivid-vbi-out.c | 57 if (vb2_plane_size(vb, 0) < size) { in vbi_out_buf_prepare() 59 __func__, vb2_plane_size(vb, 0), size); in vbi_out_buf_prepare()
|
| H A D | vivid-sdr-cap.c | 252 if (vb2_plane_size(vb, 0) < size) { in sdr_cap_buf_prepare() 254 __func__, vb2_plane_size(vb, 0), size); in sdr_cap_buf_prepare() 522 unsigned long plane_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process()
|
| H A D | vivid-touch-cap.c | 44 if (vb2_plane_size(vb, 0) < size) { in touch_cap_buf_prepare() 46 __func__, vb2_plane_size(vb, 0), size); in touch_cap_buf_prepare()
|
| /linux-6.15/drivers/media/platform/verisilicon/ |
| H A D | hantro_h1_jpeg_enc.c | 49 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in hantro_h1_jpeg_enc_set_buffers() 50 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in hantro_h1_jpeg_enc_set_buffers()
|
| H A D | rockchip_vpu2_hw_jpeg_enc.c | 76 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in rockchip_vpu2_jpeg_enc_set_buffers() 77 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in rockchip_vpu2_jpeg_enc_set_buffers()
|
| /linux-6.15/drivers/staging/media/meson/vdec/ |
| H A D | esparser.c | 96 if (dsize == vb2_plane_size(buf, 0)) { in vp9_update_header() 135 if (new_frame_size >= vb2_plane_size(buf, 0)) { in vp9_update_header() 201 vb2_plane_size(vb, 0)) { in esparser_pad_start_code()
|
| /linux-6.15/drivers/media/dvb-core/ |
| H A D | dvb_vb2.c | 55 if (vb2_plane_size(vb, 0) < size) { in _buffer_prepare() 57 ctx->name, vb2_plane_size(vb, 0), size); in _buffer_prepare() 281 ctx->remain = vb2_plane_size(&ctx->buf->vb, 0); in dvb_vb2_fill_buffer()
|
| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | uvc_queue.c | 69 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare() 84 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare()
|
| /linux-6.15/drivers/media/platform/qcom/iris/ |
| H A D | iris_vb2.c | 263 vb2_plane_size(vb, 0) < iris_get_buffer_size(inst, BUF_OUTPUT)) in iris_vb2_buf_prepare() 266 vb2_plane_size(vb, 0) < iris_get_buffer_size(inst, BUF_INPUT)) in iris_vb2_buf_prepare()
|
| /linux-6.15/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_fops.c | 84 if (frame->data_bytes > vb2_plane_size(vb, 0)) { in atomisp_buf_init() 86 frame->data_bytes, vb2_plane_size(vb, 0)); in atomisp_buf_init() 90 frame->data = hmm_create_from_vmalloc_buf(vb2_plane_size(vb, 0), in atomisp_buf_init()
|
| /linux-6.15/drivers/media/platform/chips-media/wave5/ |
| H A D | wave5-vpu-dec.c | 1056 buf_size = vb2_plane_size(vb, 0); in wave5_prepare_fb() 1061 buf_size = vb2_plane_size(vb, 0) + in wave5_prepare_fb() 1062 vb2_plane_size(vb, 1); in wave5_prepare_fb() 1067 buf_size = vb2_plane_size(vb, 0) + in wave5_prepare_fb() 1068 vb2_plane_size(vb, 1) + in wave5_prepare_fb() 1069 vb2_plane_size(vb, 2); in wave5_prepare_fb() 1287 __func__, vb->type, vb->index, vb2_plane_size(&vbuf->vb2_buf, 0), in wave5_vpu_dec_buf_queue() 1288 vb2_plane_size(&vbuf->vb2_buf, 1), vb2_plane_size(&vbuf->vb2_buf, 2)); in wave5_vpu_dec_buf_queue()
|
| /linux-6.15/drivers/media/usb/uvc/ |
| H A D | uvc_queue.c | 105 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare() 117 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare()
|
| /linux-6.15/drivers/media/platform/sunxi/sun4i-csi/ |
| H A D | sun4i_dma.c | 81 if (vb2_plane_size(vb, i) < size) { in sun4i_csi_buffer_prepare() 83 vb2_plane_size(vb, i), size); in sun4i_csi_buffer_prepare()
|
| /linux-6.15/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_enc.c | 1156 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_seq_start() 1223 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_frame_start() 2527 vb2_plane_size(vb, 0), ctx->enc_dst_buf_size); in s5p_mfc_buf_prepare() 2528 if (vb2_plane_size(vb, 0) < ctx->enc_dst_buf_size) { in s5p_mfc_buf_prepare() 2537 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare() 2539 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare() 2540 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare() 2541 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_prepare() 2547 (vb2_plane_size(vb, 2) < ctx->chroma_size_1)) { in s5p_mfc_buf_prepare()
|
| H A D | s5p_mfc_dec.c | 1022 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_init() 1023 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_init() 1029 if (vb2_plane_size(vb, 2) < ctx->chroma_size_1) { in s5p_mfc_buf_init() 1052 if (vb2_plane_size(vb, 0) < ctx->dec_src_buf_size) { in s5p_mfc_buf_init()
|
| /linux-6.15/drivers/media/platform/chips-media/coda/ |
| H A D | coda-jpeg.c | 508 val = DIV_ROUND_UP(vb2_plane_size(buf, 0), 256) + 3; in coda9_jpeg_dec_bbc_gbu_setup() 1089 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_encode() 1101 end_addr = start_addr + vb2_plane_size(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode() 1118 vb2_plane_size(&dst_buf->vb2_buf, 0), in coda9_jpeg_prepare_encode() 1350 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_decode()
|
| /linux-6.15/drivers/staging/media/sunxi/sun6i-isp/ |
| H A D | sun6i_isp_params.c | 317 if (vb2_plane_size(vb2_buffer, 0) < size) { in sun6i_isp_params_buffer_prepare() 319 vb2_plane_size(vb2_buffer, 0), size); in sun6i_isp_params_buffer_prepare()
|
| /linux-6.15/drivers/media/test-drivers/vimc/ |
| H A D | vimc-capture.c | 315 if (vb2_plane_size(vb, 0) < size) { in vimc_capture_buffer_prepare() 317 vcapture->vdev.name, vb2_plane_size(vb, 0), size); in vimc_capture_buffer_prepare()
|
| /linux-6.15/drivers/staging/media/starfive/camss/ |
| H A D | stf-video.c | 188 if (fmt->sizeimage > vb2_plane_size(vb, 0)) { in video_buf_prepare() 191 fmt->sizeimage, (unsigned int)vb2_plane_size(vb, 0)); in video_buf_prepare()
|
| /linux-6.15/drivers/media/platform/st/stm32/stm32-dcmipp/ |
| H A D | dcmipp-bytecap.c | 546 if (vb2_plane_size(vb, 0) < size) { in dcmipp_bytecap_buf_prepare() 548 __func__, vb2_plane_size(vb, 0), size); in dcmipp_bytecap_buf_prepare() 557 buf->size = vb2_plane_size(&buf->vb.vb2_buf, 0); in dcmipp_bytecap_buf_prepare()
|