Lines Matching refs:video
5 * FIMC-IS ISP video input and video output DMA interface driver
35 #include "fimc-isp-video.h"
82 struct fimc_is_video *video = &isp->video_capture;
94 dma->buffer_number = video->reqbufs_count;
95 dma->dma_out_mask = video->buf_mask;
97 isp_dbg(2, &video->ve.vdev,
99 video->buf_count, video->format->memplanes,
111 ret = fimc_pipeline_call(&video->ve, set_stream, 1);
154 struct fimc_is_video *video = &isp->video_capture;
157 if (video->format == NULL)
160 for (i = 0; i < video->format->memplanes; i++) {
161 unsigned long size = video->pixfmt.plane_fmt[i].sizeimage;
164 v4l2_err(&video->ve.vdev,
177 for (i = 0; i < video->buf_count; i++)
178 if (video->buffers[i]->dma_addr[0] == dma_addr)
190 struct fimc_is_video *video = &isp->video_capture;
198 video->buf_mask |= BIT(ivb->index);
201 unsigned int num_planes = video->format->memplanes;
203 ivb->index = video->buf_count;
204 video->buffers[ivb->index] = ivb;
213 isp_dbg(2, &video->ve.vdev,
219 if (++video->buf_count < video->reqbufs_count)
222 video->buf_mask = (1UL << video->buf_count) - 1;
236 struct fimc_is_video *video = &is->isp.video_capture;
244 buf_index = (is->i2h_cmd.args[1] - 1) % video->buf_count;
245 vbuf = &video->buffers[buf_index]->vb;
250 video->buf_mask &= ~BIT(buf_index);
251 fimc_is_hw_set_isp_buf_mask(is, video->buf_mask);
287 /* Mark the video pipeline as in use. */
519 struct fimc_is_video *video = &isp->video_capture;
526 media_pipeline_stop(&video->ve.vdev.entity);
527 video->streaming = 0;