Lines Matching defs:pipes

120  * @num_pipes:		number of pipes
121 * @pipes: pipe handles
133 struct ia_css_pipe *pipes[IA_CSS_PIPE_ID_NUM];
1217 assert(stream->pipes[i]);
1218 sh_css_pipe_free_shading_table(stream->pipes[i]);
1565 /* DH regular multi pipe - not continuous mode: map the next pipes too */
1570 ia_css_pipeline_map(stream->pipes[i]->pipe_num, map);
1578 * creates a host pipeline skeleton for all pipes in a stream. Called during
1656 main_pipe = stream->pipes[i];
1669 * creates a host pipeline for all pipes in a stream. Called during
1787 switch (stream->pipes[i]->mode) {
1789 err = create_host_preview_pipeline(stream->pipes[i]);
1792 err = create_host_video_pipeline(stream->pipes[i]);
1795 err = create_host_capture_pipeline(stream->pipes[i]);
1798 err = create_host_yuvpp_pipeline(stream->pipes[i]);
1897 /* Max number of pipes already allocated */
1898 IA_CSS_ERROR("Max number of pipes already created");
4048 event->pipe->stream->pipes[i];
4165 /* DH regular multi pipe - not continuous mode: start the next pipes too */
4170 switch (stream->pipes[i]->mode) {
4172 stream->pipes[i]->stop_requested = false;
4173 err = preview_start(stream->pipes[i]);
4176 stream->pipes[i]->stop_requested = false;
4177 err = video_start(stream->pipes[i]);
4180 stream->pipes[i]->stop_requested = false;
4181 err = capture_start(stream->pipes[i]);
4184 stream->pipes[i]->stop_requested = false;
4185 err = yuvpp_start(stream->pipes[i]);
4225 /* DH regular multi pipe - not continuous mode: enqueue event to the next pipes too */
4231 ia_css_pipe_get_pipe_num(stream->pipes[i]),
6275 * Please refer to "FrameWork/css/isp/pipes/capture_pp/capture_pp_1.0/capture_
7865 find_pipe(struct ia_css_pipe *pipes[], unsigned int num_pipes,
7870 assert(pipes);
7872 assert(pipes[i]);
7873 if (pipes[i]->config.mode != mode)
7875 if (copy_pipe && pipes[i]->mode != IA_CSS_PIPE_ID_COPY)
7877 return pipes[i];
7903 struct ia_css_pipe *pipes[],
7921 !pipes) {
8004 /* allocate pipes */
8006 curr_stream->pipes = kcalloc(num_pipes, sizeof(struct ia_css_pipe *), GFP_KERNEL);
8007 if (!curr_stream->pipes) {
8015 /* store pipes */
8016 spcopyonly = (num_pipes == 1) && (pipes[0]->config.mode == IA_CSS_PIPE_MODE_COPY);
8018 curr_stream->pipes[i] = pipes[i];
8019 curr_stream->last_pipe = curr_stream->pipes[0];
8069 curr_pipe = pipes[i];
8101 /* loop over pipes */
8120 preview_pipe = find_pipe(pipes, num_pipes,
8122 video_pipe = find_pipe(pipes, num_pipes,
8126 capture_pipe = find_pipe(pipes, num_pipes,
8163 curr_pipe = pipes[i];
8181 /* now pipes have been configured, info should be available */
8185 curr_pipe = pipes[i];
8238 curr_pipe = pipes[i];
8264 my_css_save.stream_seeds[i].pipe_config[j] = pipes[j]->config;
8265 my_css_save.stream_seeds[i].pipes[j] = pipes[j];
8266 my_css_save.stream_seeds[i].orig_pipes[j] = &pipes[j];
8300 struct ia_css_pipe *entry = stream->pipes[i];
8326 struct ia_css_pipe *entry = stream->pipes[i];
8342 struct ia_css_pipe *curr_pipe = stream->pipes[i];
8355 /* remove references from pipes to stream */
8357 struct ia_css_pipe *entry = stream->pipes[i];
8378 kfree(stream->pipes);
8379 stream->pipes = NULL;
8509 * Destroy the stream and all the pipes related to it.
8530 ia_css_pipe_destroy(my_css_save.stream_seeds[i].pipes[j]);
8573 pipe = stream->pipes[0];
8576 assert(stream->pipes[1]);
8577 if (stream->pipes[1]->config.mode == IA_CSS_PIPE_MODE_VIDEO ||
8578 stream->pipes[1]->config.mode == IA_CSS_PIPE_MODE_PREVIEW)
8579 pipe = stream->pipes[1];
8593 struct ia_css_pipe *pipe = stream->pipes[i];
8613 pipe = stream->pipes[0];
8616 assert(stream->pipes[1]);
8617 if (stream->pipes[1]->config.mode == IA_CSS_PIPE_MODE_VIDEO ||
8618 stream->pipes[1]->config.mode == IA_CSS_PIPE_MODE_PREVIEW)
8619 pipe = stream->pipes[1];