Lines Matching refs:video

82 	struct fimc_is_video *video = &isp->video_capture;  in isp_video_capture_start_streaming()  local
94 dma->buffer_number = video->reqbufs_count; in isp_video_capture_start_streaming()
95 dma->dma_out_mask = video->buf_mask; in isp_video_capture_start_streaming()
97 isp_dbg(2, &video->ve.vdev, in isp_video_capture_start_streaming()
99 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming()
111 ret = fimc_pipeline_call(&video->ve, set_stream, 1); in isp_video_capture_start_streaming()
154 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_buffer_prepare() local
157 if (video->format == NULL) in isp_video_capture_buffer_prepare()
160 for (i = 0; i < video->format->memplanes; i++) { in isp_video_capture_buffer_prepare()
161 unsigned long size = video->pixfmt.plane_fmt[i].sizeimage; in isp_video_capture_buffer_prepare()
164 v4l2_err(&video->ve.vdev, in isp_video_capture_buffer_prepare()
177 for (i = 0; i < video->buf_count; i++) in isp_video_capture_buffer_prepare()
178 if (video->buffers[i]->dma_addr[0] == dma_addr) in isp_video_capture_buffer_prepare()
190 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_buffer_queue() local
198 video->buf_mask |= BIT(ivb->index); in isp_video_capture_buffer_queue()
201 unsigned int num_planes = video->format->memplanes; in isp_video_capture_buffer_queue()
203 ivb->index = video->buf_count; in isp_video_capture_buffer_queue()
204 video->buffers[ivb->index] = ivb; in isp_video_capture_buffer_queue()
213 isp_dbg(2, &video->ve.vdev, in isp_video_capture_buffer_queue()
219 if (++video->buf_count < video->reqbufs_count) in isp_video_capture_buffer_queue()
222 video->buf_mask = (1UL << video->buf_count) - 1; in isp_video_capture_buffer_queue()
236 struct fimc_is_video *video = &is->isp.video_capture; in fimc_isp_video_irq_handler() local
244 buf_index = (is->i2h_cmd.args[1] - 1) % video->buf_count; in fimc_isp_video_irq_handler()
245 vbuf = &video->buffers[buf_index]->vb; in fimc_isp_video_irq_handler()
250 video->buf_mask &= ~BIT(buf_index); in fimc_isp_video_irq_handler()
251 fimc_is_hw_set_isp_buf_mask(is, video->buf_mask); in fimc_isp_video_irq_handler()
518 struct fimc_is_video *video = &isp->video_capture; in isp_video_streamoff() local
525 video_device_pipeline_stop(&video->ve.vdev); in isp_video_streamoff()
526 video->streaming = 0; in isp_video_streamoff()