Home
last modified time | relevance | path

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

123

/linux/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()
/linux/drivers/gpu/drm/etnaviv/
H A 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,
H A Detnaviv_gpu.c106 *value = gpu->identity.stream_count; in etnaviv_gpu_get_param()
220 gpu->identity.stream_count = etnaviv_field(specs[0], in etnaviv_hw_specs()
250 gpu->identity.stream_count = streams; in etnaviv_hw_specs()
254 if (gpu->identity.stream_count == 0) { in etnaviv_hw_specs()
256 gpu->identity.stream_count = 4; in etnaviv_hw_specs()
258 gpu->identity.stream_count = 1; in etnaviv_hw_specs()
1013 gpu->identity.stream_count); in etnaviv_gpu_debugfs()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c175 for (i = 0; i < dst_state->stream_count; i++) { in dc_state_copy_internal()
306 for (i = 0; i < state->stream_count; i++) { in dc_state_destruct()
315 state->stream_count = 0; in dc_state_destruct()
382 if (state->stream_count >= dc->res_pool->timing_generator_count) { in dc_state_add_stream()
387 state->streams[state->stream_count] = stream; in dc_state_add_stream()
389 state->stream_count++; in dc_state_add_stream()
421 for (i = 0; i < state->stream_count; i++) in dc_state_remove_stream()
433 state->stream_count--; in dc_state_remove_stream()
436 for (; i < state->stream_count; i++) { in dc_state_remove_stream()
441 state->streams[state->stream_count] = NULL; in dc_state_remove_stream()
[all …]
H A Ddc.c185 for (i = 0; i < ctx->stream_count; i++) in get_seamless_boot_stream_count()
1329 for (j = 0; j < context->stream_count; j++) { in disable_dangling_plane()
1336 dc->current_state->stream_count != context->stream_count) in disable_dangling_plane()
1743 uint8_t stream_count) in streams_changed() argument
1747 if (stream_count != dc->current_state->stream_count) in streams_changed()
1750 for (i = 0; i < dc->current_state->stream_count; i++) { in streams_changed()
1998 uint8_t stream_count) in dc_enable_stereo() argument
2013 for (j = 0; pipe && j < stream_count; j++) { in dc_enable_stereo()
2023 if (context->stream_count > 1 && !dc->debug.disable_timing_sync) { in dc_trigger_sync()
2124 for (i = 0; i < context->stream_count; i++) in dc_commit_state_no_check()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c188 for (i = 0; i < context->stream_count; i++) { in dcn32_mpo_in_use()
248 uint8_t stream_count = 0; in override_det_for_subvp() local
251 for (i = 0; i < context->stream_count; i++) { in override_det_for_subvp()
256 stream_count++; in override_det_for_subvp()
273 if (stream_count == 2 && subvp_high_refresh_count == 2 && fhd_count == 1) { in override_det_for_subvp()
320 uint8_t stream_count = 0; in dcn32_determine_det_override() local
322 for (i = 0; i < context->stream_count; i++) { in dcn32_determine_det_override()
325 stream_count++; in dcn32_determine_det_override()
328 if (stream_count > 0) { in dcn32_determine_det_override()
329 stream_segments = 18 / stream_count; in dcn32_determine_det_override()
[all …]
/linux/sound/pci/mixart/
H A 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
H A 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()
H A Dmixart.h143 int stream_count; member
/linux/drivers/staging/media/imx/
H A Dimx-ic-prp.c54 int stream_count; member
168 if (priv->stream_count > 0) { in prp_set_fmt()
365 if (priv->stream_count != !enable) in prp_s_stream()
388 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
389 if (priv->stream_count < 0) in prp_s_stream()
390 priv->stream_count = 0; in prp_s_stream()
H A Dimx-ic-prpencvf.c99 int stream_count; member
935 if (priv->stream_count > 0) { in prp_set_fmt()
1109 if (priv->stream_count > 0) { in prp_s_ctrl()
1184 if (priv->stream_count != !enable) in prp_s_stream()
1198 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
1199 if (priv->stream_count < 0) in prp_s_stream()
1200 priv->stream_count = 0; in prp_s_stream()
H A Dimx-media-csi.c110 int stream_count; /* streaming counter */ member
1001 if (priv->stream_count != !enable) in csi_s_stream()
1015 priv->stream_count += enable ? 1 : -1; in csi_s_stream()
1016 if (priv->stream_count < 0) in csi_s_stream()
1017 priv->stream_count = 0; in csi_s_stream()
1538 if (priv->stream_count > 0) { in csi_set_fmt()
1669 if (priv->stream_count > 0) { in csi_set_selection()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c1263 ASSERT(proposed_table->stream_count - in update_mst_stream_alloc_table()
1264 link->mst_stream_alloc_table.stream_count < 2); in update_mst_stream_alloc_table()
1267 for (i = 0; i < proposed_table->stream_count; i++) { in update_mst_stream_alloc_table()
1269 for (j = 0; j < link->mst_stream_alloc_table.stream_count; j++) { in update_mst_stream_alloc_table()
1283 if (j == link->mst_stream_alloc_table.stream_count) { in update_mst_stream_alloc_table()
1294 link->mst_stream_alloc_table.stream_count = in update_mst_stream_alloc_table()
1295 proposed_table->stream_count; in update_mst_stream_alloc_table()
1311 for (; i < table->stream_count; i++) in remove_stream_from_alloc_table()
1315 for (; i < table->stream_count; i++) in remove_stream_from_alloc_table()
1320 if (i < table->stream_count) { in remove_stream_from_alloc_table()
[all …]
/linux/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()
132 for (j = 0; j < context->stream_count; j++) { in dce110_fill_display_configs()
222 ASICREV_IS_VEGA20_P(dc->ctx->asic_id.hw_internal_rev) && (context->stream_count >= 2)) { in dce11_pplib_apply_display_requirements()
243 pp_display_cfg->min_dcfclock_khz = (context->stream_count > 4) ? in dce11_pplib_apply_display_requirements()
/linux/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()
/linux/drivers/media/platform/samsung/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.h278 int stream_count; member
283 short stream_count; member
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c1170 …BUG_DRIVER("%s: MST_DSC Try to set up params from %d streams\n", __func__, dc_state->stream_count); in compute_mst_dsc_configs_for_link()
1171 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_link()
1337 …EBUG_DRIVER("%s: MST_DSC check on %d streams in new dc_state\n", __func__, dc_state->stream_count); in is_dsc_need_re_compute()
1340 for (i = 0; i < dc_state->stream_count; i++) { in is_dsc_need_re_compute()
1404 __func__, dc->current_state->stream_count); in is_dsc_need_re_compute()
1409 for (i = 0; i < dc->current_state->stream_count; i++) { in is_dsc_need_re_compute()
1456 for (i = 0; i < dc_state->stream_count; i++) in compute_mst_dsc_configs_for_state()
1459 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
1493 for (j = 0; j < dc_state->stream_count; j++) { in compute_mst_dsc_configs_for_state()
1499 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state()
[all …]
H A Damdgpu_dm_helpers.c185 int current_hw_table_stream_cnt = copy_of_link_table.stream_count; in fill_dc_mst_payload_table_from_drm()
195 for (i = 0; i < copy_of_link_table.stream_count; i++) { in fill_dc_mst_payload_table_from_drm()
205 ASSERT(i != copy_of_link_table.stream_count); in fill_dc_mst_payload_table_from_drm()
213 sa = &new_table.stream_allocations[new_table.stream_count]; in fill_dc_mst_payload_table_from_drm()
216 new_table.stream_count++; in fill_dc_mst_payload_table_from_drm()
/linux/sound/soc/amd/ps/
H A Dps-sdw-dma.c695 u32 stream_count, irq_mask, irq_mask1; in acp63_restore_sdw_dma_config() local
702 stream_count = ACP63_SDW0_DMA_MAX_STREAMS; in acp63_restore_sdw_dma_config()
704 stream_count = ACP63_SDW1_DMA_MAX_STREAMS; in acp63_restore_sdw_dma_config()
706 for (index = 0; index < stream_count; index++) { in acp63_restore_sdw_dma_config()
740 u32 stream_count, irq_mask, irq_mask1; in acp70_restore_sdw_dma_config() local
745 stream_count = ACP70_SDW0_DMA_MAX_STREAMS; in acp70_restore_sdw_dma_config()
747 for (index = 0; index < stream_count; index++) { in acp70_restore_sdw_dma_config()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn4_fams2.h29 const unsigned int stream_count,
/linux/drivers/media/platform/xilinx/
H A Dxilinx-dma.h42 unsigned int stream_count; member
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c60 for (i = 0; i < context->stream_count; i++) { in clk_mgr_helper_get_active_display_cnt()
84 for (i = 0; i < context->stream_count; i++) { in clk_mgr_helper_get_active_plane_cnt()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/
H A Ddcn10_link_encoder.c1244 if (table->stream_count >= 1) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1258 if (table->stream_count >= 2) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1272 if (table->stream_count >= 3) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1286 if (table->stream_count >= 4) { in dcn10_link_encoder_update_mst_stream_allocation_table()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h124 uint8_t stream_count);
616 uint8_t stream_count; member

123