Home
last modified time | relevance | path

Searched refs:pb_count (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c267 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready()
271 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready()
281 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready()
772 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl()
784 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl()
967 if (*buf_count < ctx->pb_count) in s5p_mfc_queue_setup()
968 *buf_count = ctx->pb_count; in s5p_mfc_queue_setup()
969 if (*buf_count > ctx->pb_count + MFC_MAX_EXTRA_DPB) in s5p_mfc_queue_setup()
970 *buf_count = ctx->pb_count + MFC_MAX_EXTRA_DPB; in s5p_mfc_queue_setup()
Ds5p_mfc_enc.c1188 ctx->pb_count = s5p_mfc_hw_call(dev->mfc_ops, get_enc_dpb_count, dev); in enc_post_seq_start()
1580 if (ctx->pb_count && in vidioc_reqbufs()
1581 (reqbufs->count < ctx->pb_count)) { in vidioc_reqbufs()
1582 reqbufs->count = ctx->pb_count; in vidioc_reqbufs()
1584 ctx->pb_count); in vidioc_reqbufs()
2258 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl()
2269 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl()
2573 if (ctx->src_bufs_cnt < ctx->pb_count) { in s5p_mfc_start_streaming()
2574 mfc_err("Need minimum %d OUTPUT buffers\n", ctx->pb_count); in s5p_mfc_start_streaming()
Ds5p_mfc_opr_v6.c289 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6()
313 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6()
341 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6()
356 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6()
786 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6()
791 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6()
796 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6()
802 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6()
826 buf_addr1, buf_size1, ctx->pb_count); in s5p_mfc_set_enc_ref_buffer_v6()
2163 ctx->dst_queue_cnt, ctx->pb_count, ctx->src_queue_cnt); in s5p_mfc_try_run_v6()
Ds5p_mfc_common.h697 int pb_count; member
Ds5p_mfc.c463 || ctx->dst_queue_cnt < ctx->pb_count) in s5p_mfc_handle_frame()
536 ctx->pb_count = s5p_mfc_hw_call(dev->mfc_ops, get_dpb_count, in s5p_mfc_handle_seq_done()
/linux-6.12.1/drivers/media/pci/cobalt/
Dcobalt-alsa.h20 unsigned int pb_count; member
Dcobalt-alsa-pcm.c342 for (i = 0; i < cobsc->pb_count / (8 * 4); i++) in cobalt_alsa_pb_pcm_data()
351 if (cobsc->pb_pos % cobsc->pb_count == 0) in cobalt_alsa_pb_pcm_data()
407 cobsc->pb_count = snd_pcm_lib_period_bytes(substream); in snd_cobalt_pcm_pb_prepare()