| /linux/sound/firewire/dice/ |
| H A D | dice-extension.c | 60 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 = min_t(unsigned int, be32_to_cpu(reg[0]), MAX_STREAMS); 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 = min_t(unsigned int, be32_to_cpu(reg[1]), MAX_STREAMS); in detect_stream_formats() 130 stream_count, in detect_stream_formats()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/ |
| H A D | dml2_pmo_dcn4_fams2.c | 394 …pstate_strategy *get_expanded_strategy_list(struct dml2_pmo_init_data *init_data, int stream_count) in get_expanded_strategy_list() argument 398 switch (stream_count) { in get_expanded_strategy_list() 420 int stream_count) in get_num_expanded_strategies() argument 422 return init_data->pmo_dcn4.num_expanded_strategies_per_list[stream_count - 1]; in get_num_expanded_strategies() 427 const int stream_count, in insert_strategy_into_expanded_list() argument 431 (void)stream_count; in insert_strategy_into_expanded_list() 441 const unsigned int stream_count, in expand_base_strategy() argument 454 for (i = 0; i < stream_count; i++) { in expand_base_strategy() 456 for (j = 0; j < stream_count; j++) { in expand_base_strategy() 468 while (stream_iteration_indices[0] < stream_count) { in expand_base_strategy() [all …]
|
| H A D | dml2_pmo_dcn4_fams2.h | 39 const unsigned int stream_count,
|
| /linux/sound/pci/mixart/ |
| H A D | mixart_core.h | 152 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 D | mixart.c | 219 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 D | mixart.h | 143 int stream_count; member
|
| /linux/drivers/staging/media/imx/ |
| H A D | imx-ic-prp.c | 54 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 D | imx-ic-prpencvf.c | 99 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()
|
| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_dpms.c | 1130 ASSERT(proposed_table->stream_count - in update_mst_stream_alloc_table() 1131 link->mst_stream_alloc_table.stream_count < 2); in update_mst_stream_alloc_table() 1134 for (i = 0; i < proposed_table->stream_count; i++) { in update_mst_stream_alloc_table() 1136 for (j = 0; j < link->mst_stream_alloc_table.stream_count; j++) { in update_mst_stream_alloc_table() 1150 if (j == link->mst_stream_alloc_table.stream_count) { in update_mst_stream_alloc_table() 1161 link->mst_stream_alloc_table.stream_count = in update_mst_stream_alloc_table() 1162 proposed_table->stream_count; in update_mst_stream_alloc_table() 1178 for (; i < table->stream_count; i++) in remove_stream_from_alloc_table() 1182 for (; i < table->stream_count; i++) in remove_stream_from_alloc_table() 1187 if (i < table->stream_count) { in remove_stream_from_alloc_table() [all …]
|
| /linux/sound/pci/pcxhr/ |
| H A D | pcxhr_hwdep.c | 157 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 D | camif-regs.c | 517 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 D | camif-core.h | 278 int stream_count; member 283 short stream_count; member
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_mst_types.c | 1209 …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() 1210 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_link() 1376 …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() 1379 for (i = 0; i < dc_state->stream_count; i++) { in is_dsc_need_re_compute() 1443 __func__, dc->current_state->stream_count); in is_dsc_need_re_compute() 1448 for (i = 0; i < dc->current_state->stream_count; i++) { in is_dsc_need_re_compute() 1495 for (i = 0; i < dc_state->stream_count; i++) in compute_mst_dsc_configs_for_state() 1498 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state() 1532 for (j = 0; j < dc_state->stream_count; j++) { in compute_mst_dsc_configs_for_state() 1538 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_state() [all …]
|
| H A D | amdgpu_dm_helpers.c | 230 int current_hw_table_stream_cnt = copy_of_link_table.stream_count; in fill_dc_mst_payload_table_from_drm() 240 for (i = 0; i < copy_of_link_table.stream_count; i++) { in fill_dc_mst_payload_table_from_drm() 250 ASSERT(i != copy_of_link_table.stream_count); in fill_dc_mst_payload_table_from_drm() 258 sa = &new_table.stream_allocations[new_table.stream_count]; in fill_dc_mst_payload_table_from_drm() 261 new_table.stream_count++; in fill_dc_mst_payload_table_from_drm()
|
| H A D | amdgpu_dm_psr.c | 240 for (i = 0; i < dm->dc->current_state->stream_count ; i++) { in amdgpu_dm_psr_is_active_allowed()
|
| /linux/sound/soc/amd/ps/ |
| H A D | ps-sdw-dma.c | 695 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_0/dml21/ |
| H A D | dml21_wrapper_fpu.c | 147 for (stream_idx = 0; stream_idx < context->stream_count; stream_idx++) { in dml21_prepare_mcache_params() 180 if (!context || context->stream_count == 0) in dml21_check_mode_support() 212 if (context->stream_count == 0) { in dml21_mode_check_and_programming() 284 if (context->stream_count == 0) { in dml21_prepare_mcache_programming()
|
| /linux/drivers/media/platform/xilinx/ |
| H A D | xilinx-dma.h | 42 unsigned int stream_count; member
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | 67 for (i = 0; i < state->stream_count; i++) { in get_plane_id() 962 for (i = 0; i < state->stream_count; i++) { in populate_odm_factors() 1037 for (i = 0; i < state->stream_count; i++) in map_dc_pipes_with_callbacks() 1040 for (i = 0; i < state->stream_count; i++) in map_dc_pipes_with_callbacks() 1043 for (i = 0; i < state->stream_count; i++) in map_dc_pipes_with_callbacks() 1090 for (stream_index = 0; stream_index < state->stream_count; stream_index++) { in dml2_map_dc_pipes()
|
| H A D | dml2_utils.c | 225 for (i = 0; i < state->stream_count; i++) { in get_plane_id() 422 if (context->stream_count != 0) { in dml2_extract_writeback_wm() 423 for (i = 0; i < context->stream_count; i++) { in dml2_extract_writeback_wm()
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
| H A D | clk_mgr.c | 60 for (i = 0; i < context->stream_count; i++) { in clk_mgr_helper_get_active_display_cnt() 85 for (i = 0; i < context->stream_count; i++) { in clk_mgr_helper_get_active_plane_cnt()
|
| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_gpu.c | 109 *value = gpu->identity.stream_count; in etnaviv_gpu_get_param() 223 gpu->identity.stream_count = etnaviv_field(specs[0], in etnaviv_hw_specs() 253 gpu->identity.stream_count = streams; in etnaviv_hw_specs() 257 if (gpu->identity.stream_count == 0) { in etnaviv_hw_specs() 259 gpu->identity.stream_count = 4; in etnaviv_hw_specs() 261 gpu->identity.stream_count = 1; in etnaviv_hw_specs() 1026 gpu->identity.stream_count); in etnaviv_gpu_debugfs()
|
| H A D | etnaviv_gpu.h | 44 u32 stream_count; member
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 133 current_snapshot->stream_count = state->stream_count; in start_new_topology_snapshot() 2274 if (state_a->stream_count != state_b->stream_count) in resource_is_pipe_topology_changed() 2471 for (i = 0; i < state->stream_count; i++) in resource_stream_to_stream_idx() 2498 for (stream_idx = 0; stream_idx < state->stream_count; stream_idx++) { in resource_log_pipe_topology_update() 2513 for (stream_idx = 0; stream_idx < state->stream_count; stream_idx++) { in resource_log_pipe_topology_update() 2857 int stream_count = context->stream_count; in swap_dio_link_enc_to_muxable_ctx() local 2864 for (i = 0; i < stream_count; i++) { in swap_dio_link_enc_to_muxable_ctx() 3679 for (i = 0; i < context->stream_count; i++) { in find_pll_sharable_stream() 4080 for (i = 0; i < context->stream_count; i++) in resource_map_pool_resources() 4110 for (i = 0; i < context->stream_count; i++) { in planes_changed_for_existing_stream() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_link_encoder.c | 1665 if (table->stream_count >= 1) { in dce110_link_encoder_update_mst_stream_allocation_table() 1679 if (table->stream_count >= 2) { in dce110_link_encoder_update_mst_stream_allocation_table() 1693 if (table->stream_count >= 3) { in dce110_link_encoder_update_mst_stream_allocation_table() 1707 if (table->stream_count >= 4) { in dce110_link_encoder_update_mst_stream_allocation_table()
|