Searched refs:pb_count (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa.h | 20 unsigned int pb_count; member
|
H A D | cobalt-alsa-pcm.c | 342 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()
|
/kernel/linux/linux-6.6/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa.h | 20 unsigned int pb_count; member
|
H A D | cobalt-alsa-pcm.c | 342 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()
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 220 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready() 224 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready() 234 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready() 720 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl() 732 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl() 908 if (*buf_count < ctx->pb_count) in s5p_mfc_queue_setup() 909 *buf_count = ctx->pb_count; in s5p_mfc_queue_setup() 910 if (*buf_count > ctx->pb_count + MFC_MAX_EXTRA_DPB) in s5p_mfc_queue_setup() 911 *buf_count = ctx->pb_count + MFC_MAX_EXTRA_DPB; in s5p_mfc_queue_setup()
|
H A D | s5p_mfc_enc.c | 1177 if (ctx->pb_count < enc_pb_count) in enc_post_seq_start() 1178 ctx->pb_count = enc_pb_count; in enc_post_seq_start() 1544 if (ctx->pb_count && in vidioc_reqbufs() 1545 (reqbufs->count < ctx->pb_count)) { in vidioc_reqbufs() 1546 reqbufs->count = ctx->pb_count; in vidioc_reqbufs() 1548 ctx->pb_count); in vidioc_reqbufs() 1550 ctx->pb_count = reqbufs->count; in vidioc_reqbufs() 2223 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl() 2234 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl() 2519 if (ctx->src_bufs_cnt < ctx->pb_count) { in s5p_mfc_start_streaming() [all...] |
H A D | s5p_mfc_opr_v6.c | 251 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 271 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 295 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 306 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 673 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 678 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 683 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 689 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 713 buf_addr1, buf_size1, ctx->pb_count); in s5p_mfc_set_enc_ref_buffer_v6() 1990 ctx->dst_queue_cnt, ctx->pb_count, ct in s5p_mfc_try_run_v6() [all...] |
H A D | s5p_mfc_common.h | 681 int pb_count; member
|
H A D | s5p_mfc.c | 451 || ctx->dst_queue_cnt < ctx->pb_count) in s5p_mfc_handle_frame() 522 ctx->pb_count = s5p_mfc_hw_call(dev->mfc_ops, get_dpb_count, in s5p_mfc_handle_seq_done()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 253 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready() 257 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready() 267 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready() 753 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl() 765 ctrl->val = ctx->pb_count; in s5p_mfc_dec_g_v_ctrl() 941 if (*buf_count < ctx->pb_count) in s5p_mfc_queue_setup() 942 *buf_count = ctx->pb_count; in s5p_mfc_queue_setup() 943 if (*buf_count > ctx->pb_count + MFC_MAX_EXTRA_DPB) in s5p_mfc_queue_setup() 944 *buf_count = ctx->pb_count + MFC_MAX_EXTRA_DPB; in s5p_mfc_queue_setup()
|
H A D | s5p_mfc_enc.c | 1177 if (ctx->pb_count < enc_pb_count) in enc_post_seq_start() 1178 ctx->pb_count = enc_pb_count; in enc_post_seq_start() 1542 if (ctx->pb_count && in vidioc_reqbufs() 1543 (reqbufs->count < ctx->pb_count)) { in vidioc_reqbufs() 1544 reqbufs->count = ctx->pb_count; in vidioc_reqbufs() 1546 ctx->pb_count); in vidioc_reqbufs() 1548 ctx->pb_count = reqbufs->count; in vidioc_reqbufs() 2221 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl() 2232 ctrl->val = ctx->pb_count; in s5p_mfc_enc_g_v_ctrl() 2517 if (ctx->src_bufs_cnt < ctx->pb_count) { in s5p_mfc_start_streaming() [all...] |
H A D | s5p_mfc_opr_v6.c | 251 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 271 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 295 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 306 (ctx->pb_count * (ctx->luma_dpb_size + in s5p_mfc_alloc_codec_buffers_v6() 673 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 678 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 683 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 689 for (i = 0; i < ctx->pb_count; i++) { in s5p_mfc_set_enc_ref_buffer_v6() 713 buf_addr1, buf_size1, ctx->pb_count); in s5p_mfc_set_enc_ref_buffer_v6() 1990 ctx->dst_queue_cnt, ctx->pb_count, ct in s5p_mfc_try_run_v6() [all...] |
H A D | s5p_mfc_common.h | 600 * @pb_count: count of the DPB buffers required by MFC hw 691 int pb_count; member
|
H A D | s5p_mfc.c | 463 || 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()
|
Completed in 37 milliseconds