Searched refs:stream_count (Results 1 - 17 of 17) sorted by relevance

/linux-4.4.14/drivers/media/platform/xilinx/
H A Dxilinx-dma.h34 * @lock: protects the pipeline @stream_count
36 * @stream_count: number of DMA engines currently streaming
45 unsigned int stream_count; member in struct:xvip_pipeline
H A Dxilinx-dma.c163 if (pipe->stream_count == pipe->num_dmas - 1) { xvip_pipeline_set_stream()
168 pipe->stream_count++; xvip_pipeline_set_stream()
170 if (--pipe->stream_count == 0) xvip_pipeline_set_stream()
/linux-4.4.14/drivers/media/platform/s3c-camif/
H A Dcamif-regs.c520 camif->stream_count++; camif_hw_enable_capture()
528 if (camif->stream_count == 1) camif_hw_enable_capture()
533 pr_debug("CIIMGCPT: %#x, camif->stream_count: %d\n", camif_hw_enable_capture()
534 cfg, camif->stream_count); camif_hw_enable_capture()
545 if (WARN_ON(--(camif->stream_count) < 0)) camif_hw_disable_capture()
546 camif->stream_count = 0; camif_hw_disable_capture()
548 if (camif->stream_count == 0) camif_hw_disable_capture()
551 pr_debug("CIIMGCPT: %#x, camif->stream_count: %d\n", camif_hw_disable_capture()
552 cfg, camif->stream_count); camif_hw_disable_capture()
H A Dcamif-core.h251 * @stream_count: the camera interface streaming reference counter
273 int stream_count; member in struct:camif_dev
278 short stream_count; member in struct:camif_dev::cam_sensor
H A Dcamif-capture.c134 if (camif->sensor.stream_count == !on) sensor_set_streaming()
137 sensor->stream_count += on ? 1 : -1; sensor_set_streaming()
139 pr_debug("on: %d, stream_count: %d, err: %d\n", sensor_set_streaming()
140 on, sensor->stream_count, err); sensor_set_streaming()
202 status = camif->stream_count > 0; camif_is_streaming()
390 if (camif->stream_count == 0) { start_streaming()
/linux-4.4.14/sound/pci/mixart/
H A Dmixart_core.h164 u32 stream_count; member in struct:mixart_streaming_group_req
185 u32 stream_count; member in struct:mixart_streaming_group
232 u32 stream_count; /* set to 1 for instance */ member in struct:mixart_stream_state_req
233 struct mixart_flow_info stream_info; /* could be an array[stream_count] */
269 u32 stream_count; member in struct:mixart_timer_notify
408 u32 stream_count; /* set to 1 (array size !) */ member in struct:mixart_stream_param_desc
H A Dmixart.c232 int stream_count; snd_mixart_add_ref_pipe() local
243 stream_count = MIXART_CAPTURE_STREAMS; snd_mixart_add_ref_pipe()
251 stream_count = MIXART_PLAYBACK_STREAMS; snd_mixart_add_ref_pipe()
255 if( (monitoring == 0) && (pipe->references >= stream_count) ) { snd_mixart_add_ref_pipe()
281 buf->sgroup_req.stream_count = stream_count; snd_mixart_add_ref_pipe()
286 for (i=0; i<stream_count; i++) { snd_mixart_add_ref_pipe()
327 pipe->stream_count = buf->sgroup_resp.stream_count; snd_mixart_add_ref_pipe()
386 pipe->stream_count = 0; snd_mixart_kill_ref_pipe()
403 stream_state_req.stream_count = 1; mixart_set_stream_state()
580 stream_param.stream_count = 1; /* set to 1 */ mixart_set_format()
H A Dmixart.h160 int stream_count; member in struct:mixart_pipe
H A Dmixart_core.c461 for(i=0; i<notify->stream_count; i++) { snd_mixart_threaded_irq()
/linux-4.4.14/drivers/media/platform/exynos4-is/
H A Dcommon.c16 /* Called with the media graph mutex held or entity->stream_count > 0. */ fimc_find_remote_sensor()
H A Dfimc-isp.c232 if (sd->entity.stream_count == 0) { fimc_isp_subdev_set_fmt()
H A Dfimc-lite.c1116 sd->entity.stream_count > 0) || fimc_lite_subdev_set_fmt()
1239 * The pipeline links are protected through entity.stream_count fimc_lite_subdev_s_stream()
/linux-4.4.14/drivers/media/
H A Dmedia-entity.c242 entity->stream_count++; media_entity_pipeline_start()
247 if (entity->stream_count > 1) media_entity_pipeline_start()
318 entity_err->stream_count--; media_entity_pipeline_start()
319 if (entity_err->stream_count == 0) media_entity_pipeline_start()
323 * We haven't increased stream_count further than this media_entity_pipeline_start()
358 entity->stream_count--; media_entity_pipeline_stop()
359 if (entity->stream_count == 0) media_entity_pipeline_stop()
590 (source->stream_count || sink->stream_count)) __media_entity_setup_link()
/linux-4.4.14/sound/pci/pcxhr/
H A Dpcxhr_hwdep.c170 int stream_count, audio_count; pcxhr_dsp_allocate_pipe() local
175 stream_count = 1; pcxhr_dsp_allocate_pipe()
181 stream_count = PCXHR_PLAYBACK_STREAMS; pcxhr_dsp_allocate_pipe()
191 audio_count, stream_count); pcxhr_dsp_allocate_pipe()
/linux-4.4.14/drivers/media/platform/vsp1/
H A Dvsp1_video.h73 unsigned int stream_count; member in struct:vsp1_pipeline
H A Dvsp1_video.c894 if (pipe->stream_count == pipe->num_video - 1) { vsp1_video_start_streaming()
926 pipe->stream_count++; vsp1_video_start_streaming()
946 if (--pipe->stream_count == 0) { vsp1_video_stop_streaming()
/linux-4.4.14/include/media/
H A Dmedia-entity.h89 int stream_count; /* Stream count for the entity. */ member in struct:media_entity

Completed in 489 milliseconds