Home
last modified time | relevance | path

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

12

/drivers/staging/media/imx/
Dimx-ic-prp.c54 int stream_count; member
169 if (priv->stream_count > 0) { in prp_set_fmt()
364 if (priv->stream_count != !enable) in prp_s_stream()
387 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
388 if (priv->stream_count < 0) in prp_s_stream()
389 priv->stream_count = 0; in prp_s_stream()
Dimx6-mipi-csi2.c50 int stream_count; member
379 if (csi2->stream_count != !enable) in csi2_s_stream()
391 csi2->stream_count += enable ? 1 : -1; in csi2_s_stream()
392 if (csi2->stream_count < 0) in csi2_s_stream()
393 csi2->stream_count = 0; in csi2_s_stream()
483 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()
634 if (priv->stream_count > 0) { in vdic_set_fmt()
Dimx-ic-prpencvf.c99 int stream_count; member
936 if (priv->stream_count > 0) { in prp_set_fmt()
1110 if (priv->stream_count > 0) { in prp_s_ctrl()
1185 if (priv->stream_count != !enable) in prp_s_stream()
1199 priv->stream_count += enable ? 1 : -1; in prp_s_stream()
1200 if (priv->stream_count < 0) in prp_s_stream()
1201 priv->stream_count = 0; in prp_s_stream()
Dimx-media-csi.c108 int stream_count; /* streaming counter */ member
984 if (priv->stream_count != !enable) in csi_s_stream()
998 priv->stream_count += enable ? 1 : -1; in csi_s_stream()
999 if (priv->stream_count < 0) in csi_s_stream()
1000 priv->stream_count = 0; in csi_s_stream()
1523 if (priv->stream_count > 0) { in csi_set_fmt()
1652 if (priv->stream_count > 0) { in csi_set_selection()
/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()
849 (source->stream_count || sink->stream_count)) in __media_entity_setup_link()
/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()
/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
/drivers/gpu/drm/amd/display/dc/core/
Ddc.c757 for (j = 0; j < context->stream_count; j++) { in disable_dangling_plane()
957 if (context->stream_count != dc->current_state->stream_count) in context_changed()
960 for (i = 0; i < dc->current_state->stream_count; i++) { in context_changed()
1028 uint8_t stream_count) in dc_enable_stereo() argument
1039 for (j = 0 ; pipe && j < stream_count; j++) { in dc_enable_stereo()
1063 for (i = 0; i < context->stream_count; i++) in dc_commit_state_no_check()
1069 for (i = 0; i < context->stream_count; i++) { in dc_commit_state_no_check()
1080 for (i = 0; i < context->stream_count; i++) { in dc_commit_state_no_check()
1101 if (context->stream_count > 1 && !dc->debug.disable_timing_sync) { in dc_commit_state_no_check()
1107 for (i = 0; i < context->stream_count; i++) { in dc_commit_state_no_check()
[all …]
Ddc_resource.c1241 for (i = 0; i < context->stream_count; i++) in dc_add_plane_to_context()
1318 for (i = 0; i < context->stream_count; i++) in dc_remove_plane_from_context()
1389 for (i = 0; i < context->stream_count; i++) in dc_rem_all_planes_for_stream()
1671 for (i = 0; i < old_context->stream_count; i++) { in resource_is_stream_unchanged()
1692 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx()
1697 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1699 new_ctx->stream_count++; in dc_add_stream_to_ctx()
1758 for (i = 0; i < new_ctx->stream_count; i++) in dc_remove_stream_from_ctx()
1768 new_ctx->stream_count--; in dc_remove_stream_from_ctx()
1771 for (; i < new_ctx->stream_count; i++) { in dc_remove_stream_from_ctx()
[all …]
Ddc_link.c1026 link->mst_stream_alloc_table.stream_count = 0; in dc_link_detect()
1468 for (i = 0; i < state->stream_count; i++) { in enable_link_dp()
2167 link->mst_stream_alloc_table.stream_count == 0) { in disable_link()
2179 if (link->mst_stream_alloc_table.stream_count <= 0) in disable_link()
2476 ASSERT(proposed_table->stream_count - in update_mst_stream_alloc_table()
2477 link->mst_stream_alloc_table.stream_count < 2); in update_mst_stream_alloc_table()
2480 for (i = 0; i < proposed_table->stream_count; i++) { in update_mst_stream_alloc_table()
2482 for (j = 0; j < link->mst_stream_alloc_table.stream_count; j++) { in update_mst_stream_alloc_table()
2495 if (j == link->mst_stream_alloc_table.stream_count) { in update_mst_stream_alloc_table()
2505 link->mst_stream_alloc_table.stream_count = in update_mst_stream_alloc_table()
[all …]
/drivers/gpu/drm/etnaviv/
Detnaviv_hwdb.c12 .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()
884 gpu->identity.stream_count); in etnaviv_gpu_debugfs()
Detnaviv_gpu.h42 u32 stream_count; member
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c144 proposed_table->stream_count = 0; in get_payload_table()
160 proposed_table->stream_count]; in get_payload_table()
164 proposed_table->stream_count++; in get_payload_table()
/drivers/media/platform/xilinx/
Dxilinx-dma.h42 unsigned int stream_count; member
Dxilinx-dma.c158 if (pipe->stream_count == pipe->num_dmas - 1) { in xvip_pipeline_set_stream()
163 pipe->stream_count++; in xvip_pipeline_set_stream()
165 if (--pipe->stream_count == 0) in xvip_pipeline_set_stream()
/drivers/media/platform/rcar-vin/
Drcar-csi2.c370 int stream_count; member
632 if (enable && priv->stream_count == 0) { in rcsi2_s_stream()
636 } else if (!enable && priv->stream_count == 1) { in rcsi2_s_stream()
640 priv->stream_count += enable ? 1 : -1; in rcsi2_s_stream()
1152 priv->stream_count = 0; in rcsi2_probe()
/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h171 int stream_count; member
/drivers/media/platform/vsp1/
Dvsp1_pipe.h123 unsigned int stream_count; member
/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c52 for (i = 0; i < context->stream_count; i++) { in clk_mgr_helper_get_active_display_cnt()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c1215 if (table->stream_count >= 1) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1229 if (table->stream_count >= 2) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1243 if (table->stream_count >= 3) { in dcn10_link_encoder_update_mst_stream_allocation_table()
1257 if (table->stream_count >= 4) { in dcn10_link_encoder_update_mst_stream_allocation_table()
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c1248 if (table->stream_count >= 1) { in dce110_link_encoder_update_mst_stream_allocation_table()
1262 if (table->stream_count >= 2) { in dce110_link_encoder_update_mst_stream_allocation_table()
1276 if (table->stream_count >= 3) { in dce110_link_encoder_update_mst_stream_allocation_table()
1290 if (table->stream_count >= 4) { in dce110_link_encoder_update_mst_stream_allocation_table()
/drivers/media/platform/qcom/camss/
Dcamss-vfe.c847 if (!vfe->stream_count) { in vfe_enable()
857 vfe->stream_count++; in vfe_enable()
880 if (vfe->stream_count == 1) in vfe_enable()
883 vfe->stream_count--; in vfe_enable()
906 if (vfe->stream_count == 1) in vfe_disable()
909 vfe->stream_count--; in vfe_disable()
2075 vfe->stream_count = 0; in msm_vfe_subdev_init()

12