Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_hwdb.c15 .stream_count = 4,
47 .stream_count = 1,
78 .stream_count = 8,
110 .stream_count = 16,
142 .stream_count = 16,
173 .stream_count = 16,
205 .stream_count = 8,
237 .stream_count = 8,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_fpga.c62 if ((stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST) && (state->stream_count > 1)) { in dp_fpga_hpo_enable_link_and_stream()
66 proposed_table.stream_count = state->stream_count; in dp_fpga_hpo_enable_link_and_stream()
67 for (i = 0; i < state->stream_count; i++) { in dp_fpga_hpo_enable_link_and_stream()
79 proposed_table.stream_count = 1; /// Always 1 stream for SST in dp_fpga_hpo_enable_link_and_stream()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_enc_cfg.c87 for (i = 0; i < state->stream_count; i++) { in get_stream_using_link_enc()
148 for (i = 0; i < state->stream_count; i++) { in add_link_enc_assignment()
165 ASSERT(i != state->stream_count); in add_link_enc_assignment()
300 uint8_t stream_count) in link_enc_cfg_link_encs_assign() argument
306 ASSERT(state->stream_count == stream_count); in link_enc_cfg_link_encs_assign()
310 for (i = 0; i < dc->current_state->stream_count; i++) in link_enc_cfg_link_encs_assign()
317 for (i = 0; i < stream_count; i++) { in link_enc_cfg_link_encs_assign()
339 for (i = 0; i < stream_count; i++) { in link_enc_cfg_link_encs_assign()
350 for (j = 0; j < prev_state->stream_count; j++) { in link_enc_cfg_link_encs_assign()
367 for (i = 0; i < stream_count; i++) { in link_enc_cfg_link_encs_assign()
[all …]
Ddc.c174 for (i = 0; i < ctx->stream_count; i++) in get_seamless_boot_stream_count()
1127 for (j = 0; j < context->stream_count; j++) { in disable_dangling_plane()
1134 dc->current_state->stream_count != context->stream_count) in disable_dangling_plane()
1555 uint8_t stream_count) in streams_changed() argument
1559 if (stream_count != dc->current_state->stream_count) in streams_changed()
1562 for (i = 0; i < dc->current_state->stream_count; i++) { in streams_changed()
1741 uint8_t stream_count) in dc_enable_stereo() argument
1754 for (j = 0; pipe && j < stream_count; j++) { in dc_enable_stereo()
1764 if (context->stream_count > 1 && !dc->debug.disable_timing_sync) { in dc_trigger_sync()
1828 for (i = 0; i < context->stream_count; i++) in dc_commit_state_no_check()
[all …]
Ddc_stream.c228 for (i = 0; i < state->stream_count; i++) { in dc_stream_get_status_from_state()
327 (dc->current_state->stream_count > 1 || in is_subvp_high_refresh_candidate()
328 (dc->current_state->stream_count == 1 && !stream->allow_freesync))) in is_subvp_high_refresh_candidate()
369 if (dc->current_state->stream_count == 1 && stream->timing.v_addressable >= 2880 && in dc_stream_set_cursor_attributes()
372 else if (dc->current_state->stream_count > 1 && stream->timing.v_addressable >= 2160 && in dc_stream_set_cursor_attributes()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c203 for (i = 0; i < context->stream_count; i++) { in dcn32_mpo_in_use()
291 uint8_t stream_count = 0; in dcn32_determine_det_override() local
293 for (i = 0; i < context->stream_count; i++) { in dcn32_determine_det_override()
296 stream_count++; in dcn32_determine_det_override()
299 if (stream_count > 0) { in dcn32_determine_det_override()
300 stream_segments = 18 / stream_count; in dcn32_determine_det_override()
301 for (i = 0; i < context->stream_count; i++) { in dcn32_determine_det_override()
569 if (context->stream_count > 2) in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch()
571 else if (context->stream_count == 2) { in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch()
/linux-6.6.21/drivers/staging/media/imx/
Dimx-ic-prp.c54 int stream_count; member
170 if (priv->stream_count > 0) { in prp_set_fmt()
367 if (priv->stream_count != !enable) in prp_s_stream()
390 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
391 if (priv->stream_count < 0) in prp_s_stream()
392 priv->stream_count = 0; in prp_s_stream()
Dimx6-mipi-csi2.c56 int stream_count; member
436 if (csi2->stream_count != !enable) in csi2_s_stream()
448 csi2->stream_count += enable ? 1 : -1; in csi2_s_stream()
449 if (csi2->stream_count < 0) in csi2_s_stream()
450 csi2->stream_count = 0; in csi2_s_stream()
540 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()
/linux-6.6.21/sound/pci/mixart/
Dmixart_core.h152 u32 stream_count; member
173 u32 stream_count; member
220 u32 stream_count; /* set to 1 for instance */ member
264 u32 stream_count; member
403 u32 stream_count; /* set to 1 (array size !) */ member
Dmixart.c219 int stream_count; in snd_mixart_add_ref_pipe() local
230 stream_count = MIXART_CAPTURE_STREAMS; in snd_mixart_add_ref_pipe()
238 stream_count = MIXART_PLAYBACK_STREAMS; in snd_mixart_add_ref_pipe()
242 if( (monitoring == 0) && (pipe->references >= stream_count) ) { in snd_mixart_add_ref_pipe()
268 buf->sgroup_req.stream_count = stream_count; in snd_mixart_add_ref_pipe()
273 for (i=0; i<stream_count; i++) { in snd_mixart_add_ref_pipe()
314 pipe->stream_count = buf->sgroup_resp.stream_count; in snd_mixart_add_ref_pipe()
373 pipe->stream_count = 0; in snd_mixart_kill_ref_pipe()
390 stream_state_req.stream_count = 1; in mixart_set_stream_state()
567 stream_param.stream_count = 1; /* set to 1 */ in mixart_set_format()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1188 ASSERT(proposed_table->stream_count - in update_mst_stream_alloc_table()
1189 link->mst_stream_alloc_table.stream_count < 2); in update_mst_stream_alloc_table()
1192 for (i = 0; i < proposed_table->stream_count; i++) { in update_mst_stream_alloc_table()
1194 for (j = 0; j < link->mst_stream_alloc_table.stream_count; j++) { in update_mst_stream_alloc_table()
1208 if (j == link->mst_stream_alloc_table.stream_count) { in update_mst_stream_alloc_table()
1219 link->mst_stream_alloc_table.stream_count = in update_mst_stream_alloc_table()
1220 proposed_table->stream_count; in update_mst_stream_alloc_table()
1236 for (; i < table->stream_count; i++) in remove_stream_from_alloc_table()
1240 for (; i < table->stream_count; i++) in remove_stream_from_alloc_table()
1245 if (i < table->stream_count) { in remove_stream_from_alloc_table()
[all …]
/linux-6.6.21/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()
199 ASICREV_IS_VEGA20_P(dc->ctx->asic_id.hw_internal_rev) && (context->stream_count >= 2)) { in dce11_pplib_apply_display_requirements()
220 pp_display_cfg->min_dcfclock_khz = (context->stream_count > 4) ? in dce11_pplib_apply_display_requirements()
/linux-6.6.21/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-6.6.21/drivers/media/platform/samsung/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.h278 int stream_count; member
283 short stream_count; member
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c1087 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_link()
1223 for (i = 0; i < dc_state->stream_count; i++) { in is_dsc_need_re_compute()
1269 for (i = 0; i < dc->current_state->stream_count; i++) { in is_dsc_need_re_compute()
1309 for (i = 0; i < dc_state->stream_count; i++) in compute_mst_dsc_configs_for_state()
1312 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
1343 for (j = 0; j < dc_state->stream_count; j++) { in compute_mst_dsc_configs_for_state()
1349 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
1372 for (i = 0; i < dc_state->stream_count; i++) in pre_compute_mst_dsc_configs_for_state()
1375 for (i = 0; i < dc_state->stream_count; i++) { in pre_compute_mst_dsc_configs_for_state()
1401 for (j = 0; j < dc_state->stream_count; j++) { in pre_compute_mst_dsc_configs_for_state()
[all …]
Damdgpu_dm_helpers.c170 int current_hw_table_stream_cnt = copy_of_link_table.stream_count; in fill_dc_mst_payload_table_from_drm()
180 for (i = 0; i < copy_of_link_table.stream_count; i++) { in fill_dc_mst_payload_table_from_drm()
190 ASSERT(i != copy_of_link_table.stream_count); in fill_dc_mst_payload_table_from_drm()
198 sa = &new_table.stream_allocations[new_table.stream_count]; in fill_dc_mst_payload_table_from_drm()
201 new_table.stream_count++; in fill_dc_mst_payload_table_from_drm()
232 for (i = 0; i < current_link_table.stream_count; i++) { in dm_helpers_construct_old_payload()
244 ASSERT(i != current_link_table.stream_count); in dm_helpers_construct_old_payload()
/linux-6.6.21/drivers/media/platform/renesas/
Drcar-isp.c127 int stream_count; member
251 if (enable && isp->stream_count == 0) { in risp_s_stream()
255 } else if (!enable && isp->stream_count == 1) { in risp_s_stream()
259 isp->stream_count += enable ? 1 : -1; in risp_s_stream()
/linux-6.6.21/drivers/media/platform/qcom/camss/
Dcamss-vfe-gen1.c110 if (vfe->stream_count == 1) in vfe_gen1_disable()
113 vfe->stream_count--; in vfe_gen1_disable()
344 if (!vfe->stream_count) { in vfe_gen1_enable()
351 vfe->stream_count++; in vfe_gen1_enable()
373 if (vfe->stream_count == 1) in vfe_gen1_enable()
376 vfe->stream_count--; in vfe_gen1_enable()
Dcamss-vfe-480.c359 if (!vfe->stream_count) in vfe_enable()
362 vfe->stream_count++; in vfe_enable()
386 vfe->stream_count--; in vfe_enable()
409 vfe->stream_count--; in vfe_disable()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_link_encoder.c298 if (table->stream_count >= 1) { in dcn31_hpo_dp_link_enc_update_stream_allocation_table()
312 if (table->stream_count >= 2) { in dcn31_hpo_dp_link_enc_update_stream_allocation_table()
326 if (table->stream_count >= 3) { in dcn31_hpo_dp_link_enc_update_stream_allocation_table()
340 if (table->stream_count >= 4) { in dcn31_hpo_dp_link_enc_update_stream_allocation_table()
/linux-6.6.21/drivers/media/platform/xilinx/
Dxilinx-dma.h42 unsigned int stream_count; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dlink_enc_cfg.h61 uint8_t stream_count);

1234