Home
last modified time | relevance | path

Searched refs:stream_count (Results 1 – 25 of 66) sorted by relevance

123

/OK3568_Linux_fs/kernel/sound/firewire/dice/
H A Ddice-extension.c60 u32 base_offset, unsigned int stream_count, in read_stream_entries() argument
70 for (i = 0; i < stream_count; ++i) { in read_stream_entries()
88 unsigned int stream_count; in detect_stream_formats() local
119 stream_count = be32_to_cpu(reg[0]); in detect_stream_formats()
121 stream_count, mode, in detect_stream_formats()
127 base_offset += stream_count * EXT_APP_STREAM_ENTRY_SIZE; in detect_stream_formats()
128 stream_count = be32_to_cpu(reg[1]); in detect_stream_formats()
130 stream_count, in detect_stream_formats()
/OK3568_Linux_fs/kernel/drivers/staging/media/imx/
H A Dimx-ic-prp.c54 int stream_count; member
169 if (priv->stream_count > 0) { in prp_set_fmt()
366 if (priv->stream_count != !enable) in prp_s_stream()
389 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
390 if (priv->stream_count < 0) in prp_s_stream()
391 priv->stream_count = 0; in prp_s_stream()
H A Dimx6-mipi-csi2.c52 int stream_count; member
386 if (csi2->stream_count != !enable) in csi2_s_stream()
398 csi2->stream_count += enable ? 1 : -1; in csi2_s_stream()
399 if (csi2->stream_count < 0) in csi2_s_stream()
400 csi2->stream_count = 0; in csi2_s_stream()
490 if (csi2->stream_count > 0) { in csi2_set_fmt()
H A Dimx-media-vdic.c112 int stream_count; member
426 if (priv->stream_count > 0) { in vdic_s_ctrl()
501 if (priv->stream_count != !enable) in vdic_s_stream()
526 priv->stream_count += enable ? 1 : -1; in vdic_s_stream()
527 if (priv->stream_count < 0) in vdic_s_stream()
528 priv->stream_count = 0; in vdic_s_stream()
636 if (priv->stream_count > 0) { in vdic_set_fmt()
H A Dimx-ic-prpencvf.c99 int stream_count; member
939 if (priv->stream_count > 0) { in prp_set_fmt()
1113 if (priv->stream_count > 0) { in prp_s_ctrl()
1188 if (priv->stream_count != !enable) in prp_s_stream()
1202 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
1203 if (priv->stream_count < 0) in prp_s_stream()
1204 priv->stream_count = 0; in prp_s_stream()
/OK3568_Linux_fs/kernel/sound/pci/mixart/
H A Dmixart_core.h151 u32 stream_count; member
172 u32 stream_count; member
219 u32 stream_count; /* set to 1 for instance */ member
256 u32 stream_count; member
395 u32 stream_count; /* set to 1 (array size !) */ member
H A Dmixart.c220 int stream_count; in snd_mixart_add_ref_pipe() local
231 stream_count = MIXART_CAPTURE_STREAMS; in snd_mixart_add_ref_pipe()
239 stream_count = MIXART_PLAYBACK_STREAMS; in snd_mixart_add_ref_pipe()
243 if( (monitoring == 0) && (pipe->references >= stream_count) ) { in snd_mixart_add_ref_pipe()
269 buf->sgroup_req.stream_count = stream_count; in snd_mixart_add_ref_pipe()
274 for (i=0; i<stream_count; i++) { in snd_mixart_add_ref_pipe()
315 pipe->stream_count = buf->sgroup_resp.stream_count; in snd_mixart_add_ref_pipe()
374 pipe->stream_count = 0; in snd_mixart_kill_ref_pipe()
391 stream_state_req.stream_count = 1; in mixart_set_stream_state()
568 stream_param.stream_count = 1; /* set to 1 */ in mixart_set_format()
/OK3568_Linux_fs/kernel/drivers/media/mc/
H A Dmc-entity.c428 entity->stream_count++; in __media_pipeline_start()
441 if (entity->stream_count > 1) in __media_pipeline_start()
510 if (!WARN_ON_ONCE(entity_err->stream_count <= 0)) { in __media_pipeline_start()
511 entity_err->stream_count--; in __media_pipeline_start()
512 if (entity_err->stream_count == 0) in __media_pipeline_start()
561 if (!WARN_ON_ONCE(entity->stream_count <= 0)) { in __media_pipeline_stop()
562 entity->stream_count--; in __media_pipeline_stop()
563 if (entity->stream_count == 0) in __media_pipeline_stop()
854 (source->stream_count || sink->stream_count)) in __media_entity_setup_link()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
H A Ddce110_clk_mgr.c97 for (j = 0; j < context->stream_count; j++) { in dce110_get_min_vblank_time_us()
126 for (j = 0; j < context->stream_count; j++) { in dce110_fill_display_configs()
198 if (ASICREV_IS_VEGA20_P(dc->ctx->asic_id.hw_internal_rev) && (context->stream_count >= 2)) { in dce11_pplib_apply_display_requirements()
219 pp_display_cfg->min_dcfclock_khz = (context->stream_count > 4) ? in dce11_pplib_apply_display_requirements()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c817 for (j = 0; j < context->stream_count; j++) { in disable_dangling_plane()
1144 if (context->stream_count != dc->current_state->stream_count) in context_changed()
1147 for (i = 0; i < dc->current_state->stream_count; i++) { in context_changed()
1276 uint8_t stream_count) in dc_enable_stereo() argument
1287 for (j = 0 ; pipe && j < stream_count; j++) { in dc_enable_stereo()
1299 if (context->stream_count > 1 && !dc->debug.disable_timing_sync) { in dc_trigger_sync()
1334 for (i = 0; i < context->stream_count; i++) in dc_commit_state_no_check()
1342 for (i = 0; i < context->stream_count; i++) in dc_commit_state_no_check()
1346 if (context->stream_count > dc->optimize_seamless_boot_streams || in dc_commit_state_no_check()
1347 context->stream_count == 0) in dc_commit_state_no_check()
[all …]
H A Ddc_resource.c1429 for (i = 0; i < context->stream_count; i++) in dc_add_plane_to_context()
1505 for (i = 0; i < context->stream_count; i++) in dc_remove_plane_from_context()
1576 for (i = 0; i < context->stream_count; i++) in dc_rem_all_planes_for_stream()
1837 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx()
1842 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1844 new_ctx->stream_count++; in dc_add_stream_to_ctx()
1903 for (i = 0; i < new_ctx->stream_count; i++) in dc_remove_stream_from_ctx()
1913 new_ctx->stream_count--; in dc_remove_stream_from_ctx()
1916 for (; i < new_ctx->stream_count; i++) { in dc_remove_stream_from_ctx()
1921 new_ctx->streams[new_ctx->stream_count] = NULL; in dc_remove_stream_from_ctx()
[all …]
H A Ddc_link.c1170 link->mst_stream_alloc_table.stream_count = 0; in dc_link_detect_helper()
1665 for (i = 0; i < state->stream_count; i++) { in enable_link_dp()
2223 link->mst_stream_alloc_table.stream_count == 0) { in disable_link()
2234 if (link->mst_stream_alloc_table.stream_count <= 0) in disable_link()
2862 ASSERT(proposed_table->stream_count - in update_mst_stream_alloc_table()
2863 link->mst_stream_alloc_table.stream_count < 2); in update_mst_stream_alloc_table()
2866 for (i = 0; i < proposed_table->stream_count; i++) { in update_mst_stream_alloc_table()
2868 for (j = 0; j < link->mst_stream_alloc_table.stream_count; j++) { in update_mst_stream_alloc_table()
2881 if (j == link->mst_stream_alloc_table.stream_count) { in update_mst_stream_alloc_table()
2891 link->mst_stream_alloc_table.stream_count = in update_mst_stream_alloc_table()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/
H A Detnaviv_hwdb.c15 .stream_count = 4,
46 .stream_count = 16,
H A Detnaviv_gpu.c109 *value = gpu->identity.stream_count; in etnaviv_gpu_get_param()
186 gpu->identity.stream_count = etnaviv_field(specs[0], in etnaviv_hw_specs()
216 gpu->identity.stream_count = streams; in etnaviv_hw_specs()
220 if (gpu->identity.stream_count == 0) { in etnaviv_hw_specs()
222 gpu->identity.stream_count = 4; in etnaviv_hw_specs()
224 gpu->identity.stream_count = 1; in etnaviv_hw_specs()
925 gpu->identity.stream_count); in etnaviv_gpu_debugfs()
/OK3568_Linux_fs/kernel/sound/pci/pcxhr/
H A Dpcxhr_hwdep.c157 int stream_count, audio_count; in pcxhr_dsp_allocate_pipe() local
162 stream_count = 1; in pcxhr_dsp_allocate_pipe()
168 stream_count = PCXHR_PLAYBACK_STREAMS; in pcxhr_dsp_allocate_pipe()
178 audio_count, stream_count); in pcxhr_dsp_allocate_pipe()
/OK3568_Linux_fs/kernel/drivers/media/platform/s3c-camif/
H A Dcamif-regs.c517 camif->stream_count++; in camif_hw_enable_capture()
525 if (camif->stream_count == 1) in camif_hw_enable_capture()
531 cfg, camif->stream_count); in camif_hw_enable_capture()
542 if (WARN_ON(--(camif->stream_count) < 0)) in camif_hw_disable_capture()
543 camif->stream_count = 0; in camif_hw_disable_capture()
545 if (camif->stream_count == 0) in camif_hw_disable_capture()
549 cfg, camif->stream_count); in camif_hw_disable_capture()
H A Dcamif-core.h268 int stream_count; member
273 short stream_count; member
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/ffmpeg/ffmpeg/
H A D0001-avformat-nutdec-Add-check-for-avformat_new_stream.patch28 - for (i = 0; i < stream_count; i++)
30 + for (i = 0; i < stream_count; i++) {
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c54 for (i = 0; i < context->stream_count; i++) { in clk_mgr_helper_get_active_display_cnt()
77 for (i = 0; i < context->stream_count; i++) { in clk_mgr_helper_get_active_plane_cnt()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c731 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_link()
826 for (i = 0; i < dc_state->stream_count; i++) in compute_mst_dsc_configs_for_state()
829 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
856 for (j = 0; j < dc_state->stream_count; j++) { in compute_mst_dsc_configs_for_state()
862 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
H A Damdgpu_dm_helpers.c142 proposed_table->stream_count = 0; in get_payload_table()
158 proposed_table->stream_count]; in get_payload_table()
162 proposed_table->stream_count++; in get_payload_table()
/OK3568_Linux_fs/kernel/drivers/media/platform/xilinx/
H A Dxilinx-dma.h42 unsigned int stream_count; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/include/
H A Dlink_service_types.h181 int stream_count; member
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A Dvsp1_pipe.h123 unsigned int stream_count; member
/OK3568_Linux_fs/kernel/drivers/media/platform/rcar-vin/
H A Drcar-csi2.c374 int stream_count; member
704 if (enable && priv->stream_count == 0) { in rcsi2_s_stream()
708 } else if (!enable && priv->stream_count == 1) { in rcsi2_s_stream()
712 priv->stream_count += enable ? 1 : -1; in rcsi2_s_stream()
1237 priv->stream_count = 0; in rcsi2_probe()

123