Home
last modified time | relevance | path

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

123

/Linux-v4.19/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-v4.19/drivers/staging/media/imx/
Dimx-ic-prp.c62 int stream_count; member
179 if (priv->stream_count > 0) { in prp_set_fmt()
372 if (priv->stream_count != !enable) in prp_s_stream()
394 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
395 if (priv->stream_count < 0) in prp_s_stream()
396 priv->stream_count = 0; in prp_s_stream()
Dimx6-mipi-csi2.c54 int stream_count; member
387 if (csi2->stream_count != !enable) in csi2_s_stream()
399 csi2->stream_count += enable ? 1 : -1; in csi2_s_stream()
400 if (csi2->stream_count < 0) in csi2_s_stream()
401 csi2->stream_count = 0; in csi2_s_stream()
491 if (csi2->stream_count > 0) { in csi2_set_fmt()
Dimx-media-vdic.c124 int stream_count; member
442 if (priv->stream_count > 0) { in vdic_s_ctrl()
517 if (priv->stream_count != !enable) in vdic_s_stream()
541 priv->stream_count += enable ? 1 : -1; in vdic_s_stream()
542 if (priv->stream_count < 0) in vdic_s_stream()
543 priv->stream_count = 0; in vdic_s_stream()
650 if (priv->stream_count > 0) { in vdic_set_fmt()
Dimx-ic-prpencvf.c105 int stream_count; member
880 if (priv->stream_count > 0) { in prp_set_fmt()
1064 if (priv->stream_count > 0) { in prp_s_ctrl()
1139 if (priv->stream_count != !enable) in prp_s_stream()
1161 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
1162 if (priv->stream_count < 0) in prp_s_stream()
1163 priv->stream_count = 0; in prp_s_stream()
/Linux-v4.19/sound/pci/mixart/
Dmixart_core.h164 u32 stream_count; member
185 u32 stream_count; member
232 u32 stream_count; /* set to 1 for instance */ member
269 u32 stream_count; member
408 u32 stream_count; /* set to 1 (array size !) */ member
Dmixart.c233 int stream_count; in snd_mixart_add_ref_pipe() local
244 stream_count = MIXART_CAPTURE_STREAMS; in snd_mixart_add_ref_pipe()
252 stream_count = MIXART_PLAYBACK_STREAMS; in snd_mixart_add_ref_pipe()
256 if( (monitoring == 0) && (pipe->references >= stream_count) ) { in snd_mixart_add_ref_pipe()
282 buf->sgroup_req.stream_count = stream_count; in snd_mixart_add_ref_pipe()
287 for (i=0; i<stream_count; i++) { in snd_mixart_add_ref_pipe()
328 pipe->stream_count = buf->sgroup_resp.stream_count; in snd_mixart_add_ref_pipe()
387 pipe->stream_count = 0; in snd_mixart_kill_ref_pipe()
404 stream_state_req.stream_count = 1; in mixart_set_stream_state()
581 stream_param.stream_count = 1; /* set to 1 */ in mixart_set_format()
Dmixart.h156 int stream_count; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc.c652 for (j = 0; j < context->stream_count; j++) { in disable_dangling_plane()
832 if (context->stream_count != dc->current_state->stream_count) in context_changed()
835 for (i = 0; i < dc->current_state->stream_count; i++) { in context_changed()
847 uint8_t stream_count) in dc_enable_stereo() argument
858 for (j = 0 ; pipe && j < stream_count; j++) { in dc_enable_stereo()
882 for (i = 0; i < context->stream_count; i++) in dc_commit_state_no_check()
893 for (i = 0; i < context->stream_count; i++) { in dc_commit_state_no_check()
916 if (context->stream_count > 1) { in dc_commit_state_no_check()
922 for (i = 0; i < context->stream_count; i++) { in dc_commit_state_no_check()
940 for (l = 0 ; pipe && l < context->stream_count; l++) { in dc_commit_state_no_check()
[all …]
Ddc_link.c855 link->mst_stream_alloc_table.stream_count = 0; in dc_link_detect()
2204 ASSERT(proposed_table->stream_count - in update_mst_stream_alloc_table()
2205 link->mst_stream_alloc_table.stream_count < 2); in update_mst_stream_alloc_table()
2208 for (i = 0; i < proposed_table->stream_count; i++) { in update_mst_stream_alloc_table()
2210 for (j = 0; j < link->mst_stream_alloc_table.stream_count; j++) { in update_mst_stream_alloc_table()
2223 if (j == link->mst_stream_alloc_table.stream_count) { in update_mst_stream_alloc_table()
2233 link->mst_stream_alloc_table.stream_count = in update_mst_stream_alloc_table()
2234 proposed_table->stream_count; in update_mst_stream_alloc_table()
2279 link->mst_stream_alloc_table.stream_count); in allocate_mst_payload()
2293 ASSERT(proposed_table.stream_count > 0); in allocate_mst_payload()
[all …]
Ddc_resource.c1299 for (i = 0; i < context->stream_count; i++) in dc_add_plane_to_context()
1372 for (i = 0; i < context->stream_count; i++) in dc_remove_plane_from_context()
1447 for (i = 0; i < context->stream_count; i++) in dc_rem_all_planes_for_stream()
1728 for (i = 0; i < old_context->stream_count; i++) { in resource_is_stream_unchanged()
1746 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx()
1751 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1753 new_ctx->stream_count++; in dc_add_stream_to_ctx()
1809 for (i = 0; i < new_ctx->stream_count; i++) in dc_remove_stream_from_ctx()
1819 new_ctx->stream_count--; in dc_remove_stream_from_ctx()
1822 for (; i < new_ctx->stream_count; i++) { in dc_remove_stream_from_ctx()
[all …]
/Linux-v4.19/drivers/media/
Dmedia-entity.c437 entity->stream_count++; in __media_pipeline_start()
447 if (entity->stream_count > 1) in __media_pipeline_start()
516 if (!WARN_ON_ONCE(entity_err->stream_count <= 0)) { in __media_pipeline_start()
517 entity_err->stream_count--; in __media_pipeline_start()
518 if (entity_err->stream_count == 0) in __media_pipeline_start()
567 if (!WARN_ON_ONCE(entity->stream_count <= 0)) { in __media_pipeline_stop()
568 entity->stream_count--; in __media_pipeline_stop()
569 if (entity->stream_count == 0) in __media_pipeline_stop()
856 (source->stream_count || sink->stream_count)) in __media_entity_setup_link()
/Linux-v4.19/sound/pci/pcxhr/
Dpcxhr_hwdep.c170 int stream_count, audio_count; in pcxhr_dsp_allocate_pipe() local
175 stream_count = 1; in pcxhr_dsp_allocate_pipe()
181 stream_count = PCXHR_PLAYBACK_STREAMS; in pcxhr_dsp_allocate_pipe()
191 audio_count, stream_count); in pcxhr_dsp_allocate_pipe()
/Linux-v4.19/drivers/media/platform/s3c-camif/
Dcamif-regs.c520 camif->stream_count++; in camif_hw_enable_capture()
528 if (camif->stream_count == 1) in camif_hw_enable_capture()
534 cfg, camif->stream_count); in camif_hw_enable_capture()
545 if (WARN_ON(--(camif->stream_count) < 0)) in camif_hw_disable_capture()
546 camif->stream_count = 0; in camif_hw_disable_capture()
548 if (camif->stream_count == 0) in camif_hw_disable_capture()
552 cfg, camif->stream_count); in camif_hw_disable_capture()
Dcamif-core.h272 int stream_count; member
277 short stream_count; member
/Linux-v4.19/drivers/gpu/drm/etnaviv/
Detnaviv_hwdb.c12 .stream_count = 16,
Detnaviv_gpu.c101 *value = gpu->identity.stream_count; in etnaviv_gpu_get_param()
171 gpu->identity.stream_count = etnaviv_field(specs[0], in etnaviv_hw_specs()
201 gpu->identity.stream_count = streams; in etnaviv_hw_specs()
205 if (gpu->identity.stream_count == 0) { in etnaviv_hw_specs()
207 gpu->identity.stream_count = 4; in etnaviv_hw_specs()
209 gpu->identity.stream_count = 1; in etnaviv_hw_specs()
887 gpu->identity.stream_count); in etnaviv_gpu_debugfs()
Detnaviv_gpu.h43 u32 stream_count; member
/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-dma.h45 unsigned int stream_count; member
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c145 proposed_table->stream_count = 0; in get_payload_table()
161 proposed_table->stream_count]; in get_payload_table()
165 proposed_table->stream_count++; in get_payload_table()
/Linux-v4.19/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h168 int stream_count; member
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_pipe.h123 unsigned int stream_count; member
/Linux-v4.19/drivers/media/platform/rcar-vin/
Drcar-csi2.c363 int stream_count; member
588 if (enable && priv->stream_count == 0) { in rcsi2_s_stream()
603 } else if (!enable && priv->stream_count == 1) { in rcsi2_s_stream()
609 priv->stream_count += enable ? 1 : -1; in rcsi2_s_stream()
1015 priv->stream_count = 0; in rcsi2_probe()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c1222 if (table->stream_count >= 1) { in dce110_link_encoder_update_mst_stream_allocation_table()
1236 if (table->stream_count >= 2) { in dce110_link_encoder_update_mst_stream_allocation_table()
1250 if (table->stream_count >= 3) { in dce110_link_encoder_update_mst_stream_allocation_table()
1264 if (table->stream_count >= 4) { in dce110_link_encoder_update_mst_stream_allocation_table()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c1176 if (table->stream_count >= 1) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1190 if (table->stream_count >= 2) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1204 if (table->stream_count >= 3) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1218 if (table->stream_count >= 4) { in dcn10_link_encoder_update_mst_stream_allocation_table()

123