Lines Matching refs:output

311 		struct vfe_output *output = &vfe->line[i].output;  in vfe_init_outputs()  local
313 output->state = VFE_OUTPUT_OFF; in vfe_init_outputs()
314 output->buf[0] = NULL; in vfe_init_outputs()
315 output->buf[1] = NULL; in vfe_init_outputs()
316 INIT_LIST_HEAD(&output->pending_bufs); in vfe_init_outputs()
354 struct camss_buffer *vfe_buf_get_pending(struct vfe_output *output) in vfe_buf_get_pending() argument
358 if (!list_empty(&output->pending_bufs)) { in vfe_buf_get_pending()
359 buffer = list_first_entry(&output->pending_bufs, in vfe_buf_get_pending()
368 void vfe_buf_add_pending(struct vfe_output *output, in vfe_buf_add_pending() argument
372 list_add_tail(&buffer->queue, &output->pending_bufs); in vfe_buf_add_pending()
380 static void vfe_buf_flush_pending(struct vfe_output *output, in vfe_buf_flush_pending() argument
386 list_for_each_entry_safe(buf, t, &output->pending_bufs, queue) { in vfe_buf_flush_pending()
395 struct vfe_output *output = &line->output; in vfe_put_output() local
401 for (i = 0; i < output->wm_num; i++) in vfe_put_output()
402 vfe_release_wm(vfe, output->wm_idx[i]); in vfe_put_output()
404 output->state = VFE_OUTPUT_OFF; in vfe_put_output()
679 struct vfe_output *output; in vfe_flush_buffers() local
682 output = &line->output; in vfe_flush_buffers()
686 vfe_buf_flush_pending(output, state); in vfe_flush_buffers()
688 if (output->buf[0]) in vfe_flush_buffers()
689 vb2_buffer_done(&output->buf[0]->vb.vb2_buf, state); in vfe_flush_buffers()
691 if (output->buf[1]) in vfe_flush_buffers()
692 vb2_buffer_done(&output->buf[1]->vb.vb2_buf, state); in vfe_flush_buffers()
694 if (output->last_buffer) { in vfe_flush_buffers()
695 vb2_buffer_done(&output->last_buffer->vb.vb2_buf, state); in vfe_flush_buffers()
696 output->last_buffer = NULL; in vfe_flush_buffers()
744 line->output.state = VFE_OUTPUT_RESERVED; in vfe_set_stream()
1392 init_completion(&l->output.sof); in msm_vfe_subdev_init()
1393 init_completion(&l->output.reg_update); in msm_vfe_subdev_init()