Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-alsa.h32 unsigned int pb_count; member
Dcobalt-alsa-pcm.c403 for (i = 0; i < cobsc->pb_count / (8 * 4); i++) in cobalt_alsa_pb_pcm_data()
412 if (cobsc->pb_pos % cobsc->pb_count == 0) in cobalt_alsa_pb_pcm_data()
468 cobsc->pb_count = snd_pcm_lib_period_bytes(substream); in snd_cobalt_pcm_pb_prepare()
/linux-4.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c232 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready()
236 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready()
246 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready()
742 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl()
754 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl()
915 if (*buf_count < ctx->pb_count) in s5p_mfc_queue_setup()
916 *buf_count = ctx->pb_count; in s5p_mfc_queue_setup()
917 if (*buf_count > ctx->pb_count + MFC_MAX_EXTRA_DPB) in s5p_mfc_queue_setup()
918 *buf_count = ctx->pb_count + MFC_MAX_EXTRA_DPB; in s5p_mfc_queue_setup()
Ds5p_mfc_enc.c816 if (ctx->pb_count < enc_pb_count) in enc_post_seq_start()
817 ctx->pb_count = enc_pb_count; in enc_post_seq_start()
1194 if (ctx->pb_count && in vidioc_reqbufs()
1195 (reqbufs->count < ctx->pb_count)) { in vidioc_reqbufs()
1196 reqbufs->count = ctx->pb_count; in vidioc_reqbufs()
1198 ctx->pb_count); in vidioc_reqbufs()
1200 ctx->pb_count = reqbufs->count; in vidioc_reqbufs()
1661 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl()
1672 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl()
1962 if (ctx->src_bufs_cnt < ctx->pb_count) { in s5p_mfc_start_streaming()
[all …]
Ds5p_mfc_opr_v6.c199 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6()
213 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6()
232 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6()
576 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6()
599 buf_addr1, buf_size1, ctx->pb_count); in s5p_mfc_set_enc_ref_buffer_v6()
1760 ctx->dst_queue_cnt, ctx->pb_count, ctx->src_queue_cnt); in s5p_mfc_try_run_v6()
Ds5p_mfc_common.h629 int pb_count; member
Ds5p_mfc.c418 || ctx->dst_queue_cnt < ctx->pb_count) in s5p_mfc_handle_frame()
496 ctx->pb_count = s5p_mfc_hw_call(dev->mfc_ops, get_dpb_count, in s5p_mfc_handle_seq_done()