Home
last modified time | relevance | path

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

123

/Linux-v5.10/sound/firewire/dice/
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()
/Linux-v5.10/drivers/staging/media/imx/
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()
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()
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()
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()
/Linux-v5.10/drivers/gpu/drm/etnaviv/
Detnaviv_hwdb.c15 .stream_count = 4,
46 .stream_count = 16,
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()
916 gpu->identity.stream_count); in etnaviv_gpu_debugfs()
/Linux-v5.10/sound/pci/mixart/
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
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()
Dmixart.h143 int stream_count; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
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()
/Linux-v5.10/drivers/media/mc/
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()
/Linux-v5.10/sound/pci/pcxhr/
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()
/Linux-v5.10/drivers/media/platform/s3c-camif/
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()
Dcamif-core.h268 int stream_count; member
273 short stream_count; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
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 …]
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()
1830 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx()
1835 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1837 new_ctx->stream_count++; in dc_add_stream_to_ctx()
1896 for (i = 0; i < new_ctx->stream_count; i++) in dc_remove_stream_from_ctx()
1906 new_ctx->stream_count--; in dc_remove_stream_from_ctx()
1909 for (; i < new_ctx->stream_count; i++) { in dc_remove_stream_from_ctx()
1914 new_ctx->streams[new_ctx->stream_count] = NULL; in dc_remove_stream_from_ctx()
[all …]
Ddc_link.c1152 link->mst_stream_alloc_table.stream_count = 0; in dc_link_detect_helper()
1642 for (i = 0; i < state->stream_count; i++) { in enable_link_dp()
2200 link->mst_stream_alloc_table.stream_count == 0) { in disable_link()
2211 if (link->mst_stream_alloc_table.stream_count <= 0) in disable_link()
2835 ASSERT(proposed_table->stream_count - in update_mst_stream_alloc_table()
2836 link->mst_stream_alloc_table.stream_count < 2); in update_mst_stream_alloc_table()
2839 for (i = 0; i < proposed_table->stream_count; i++) { in update_mst_stream_alloc_table()
2841 for (j = 0; j < link->mst_stream_alloc_table.stream_count; j++) { in update_mst_stream_alloc_table()
2854 if (j == link->mst_stream_alloc_table.stream_count) { in update_mst_stream_alloc_table()
2864 link->mst_stream_alloc_table.stream_count = in update_mst_stream_alloc_table()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/
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()
/Linux-v5.10/drivers/media/platform/xilinx/
Dxilinx-dma.h42 unsigned int stream_count; member
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c716 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_link()
811 for (i = 0; i < dc_state->stream_count; i++) in compute_mst_dsc_configs_for_state()
814 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
838 for (j = 0; j < dc_state->stream_count; j++) { in compute_mst_dsc_configs_for_state()
844 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
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()
/Linux-v5.10/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h181 int stream_count; member
/Linux-v5.10/drivers/media/platform/vsp1/
Dvsp1_pipe.h123 unsigned int stream_count; member
/Linux-v5.10/drivers/media/platform/rcar-vin/
Drcar-csi2.c374 int stream_count; member
695 if (enable && priv->stream_count == 0) { in rcsi2_s_stream()
699 } else if (!enable && priv->stream_count == 1) { in rcsi2_s_stream()
703 priv->stream_count += enable ? 1 : -1; in rcsi2_s_stream()
1221 priv->stream_count = 0; in rcsi2_probe()

123