Lines Matching refs:pipe

529 	struct isp_pipeline *pipe;
544 pipe = to_isp_pipeline(&isp->isp_ccp2.subdev.entity);
545 if (pipe != NULL)
546 pipe->error = true;
550 pipe = to_isp_pipeline(&isp->isp_csi2a.subdev.entity);
551 if (pipe != NULL)
552 pipe->error = true;
556 pipe = to_isp_pipeline(&isp->isp_ccdc.subdev.entity);
557 if (pipe != NULL)
558 pipe->error = true;
562 pipe = to_isp_pipeline(&isp->isp_prev.subdev.entity);
563 if (pipe != NULL)
564 pipe->error = true;
571 pipe = to_isp_pipeline(&isp->isp_res.subdev.entity);
572 if (pipe != NULL)
573 pipe->error = true;
661 * @pipe: ISP pipeline
670 static int isp_pipeline_enable(struct isp_pipeline *pipe,
673 struct isp_device *isp = pipe->output->isp;
685 if (media_entity_enum_intersects(&pipe->ent_enum, &isp->crashed))
688 spin_lock_irqsave(&pipe->lock, flags);
689 pipe->state &= ~(ISP_PIPELINE_IDLE_INPUT | ISP_PIPELINE_IDLE_OUTPUT);
690 spin_unlock_irqrestore(&pipe->lock, flags);
692 pipe->do_propagation = false;
694 entity = &pipe->output->video.entity;
718 pipe->do_propagation = true;
764 * @pipe: ISP pipeline
774 static int isp_pipeline_disable(struct isp_pipeline *pipe)
776 struct isp_device *isp = pipe->output->isp;
787 entity = &pipe->output->video.entity;
849 * @pipe: ISP pipeline
859 int omap3isp_pipeline_set_stream(struct isp_pipeline *pipe,
865 ret = isp_pipeline_disable(pipe);
867 ret = isp_pipeline_enable(pipe, state);
870 pipe->stream_state = state;
877 * @pipe: ISP pipeline
884 void omap3isp_pipeline_cancel_stream(struct isp_pipeline *pipe)
886 if (pipe->input)
887 omap3isp_video_cancel_stream(pipe->input);
888 if (pipe->output)
889 omap3isp_video_cancel_stream(pipe->output);
894 * @pipe: ISP pipeline
898 static void isp_pipeline_resume(struct isp_pipeline *pipe)
900 int singleshot = pipe->stream_state == ISP_PIPELINE_STREAM_SINGLESHOT;
902 omap3isp_video_resume(pipe->output, !singleshot);
904 omap3isp_video_resume(pipe->input, 0);
905 isp_pipeline_enable(pipe, pipe->stream_state);
910 * @pipe: ISP pipeline
914 static void isp_pipeline_suspend(struct isp_pipeline *pipe)
916 isp_pipeline_disable(pipe);
930 struct isp_pipeline *pipe;
933 if (!me->pipe)
935 pipe = to_isp_pipeline(me);
936 if (pipe->stream_state == ISP_PIPELINE_STREAM_STOPPED)
938 pad = media_entity_remote_pad(&pipe->output->pad);
1186 struct isp_pipeline *pipe = to_isp_pipeline(me);
1188 if (pipe->stream_state == ISP_PIPELINE_STREAM_STOPPED ||
1189 (pipe->stream_state == ISP_PIPELINE_STREAM_SINGLESHOT &&
1190 !isp_pipeline_ready(pipe)))
1210 struct isp_video *video = pipe->output;