Searched refs:v_buf (Results 1 – 2 of 2) sorted by relevance
114 struct vb2_v4l2_buffer *v_buf; in sun4i_csi_buffer_fill_slot() local130 v_buf = &c_buf->vb; in sun4i_csi_buffer_fill_slot()131 csi->current_buf[slot] = v_buf; in sun4i_csi_buffer_fill_slot()136 buf_addr = vb2_dma_contig_plane_dma_addr(&v_buf->vb2_buf, in sun4i_csi_buffer_fill_slot()162 struct vb2_v4l2_buffer *v_buf; in sun4i_csi_buffer_mark_done() local169 v_buf = csi->current_buf[slot]; in sun4i_csi_buffer_mark_done()170 v_buf->field = csi->fmt.field; in sun4i_csi_buffer_mark_done()171 v_buf->sequence = sequence; in sun4i_csi_buffer_mark_done()172 v_buf->vb2_buf.timestamp = ktime_get_ns(); in sun4i_csi_buffer_mark_done()173 vb2_buffer_done(&v_buf->vb2_buf, VB2_BUF_STATE_DONE); in sun4i_csi_buffer_mark_done()[all …]
184 struct fimc_vid_buffer *v_buf; in fimc_capture_irq_handler() local193 v_buf = fimc_active_queue_pop(cap); in fimc_capture_irq_handler()195 v_buf->vb.vb2_buf.timestamp = ktime_get_ns(); in fimc_capture_irq_handler()196 v_buf->vb.sequence = cap->frame_count++; in fimc_capture_irq_handler()198 vb2_buffer_done(&v_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in fimc_capture_irq_handler()203 v_buf = fimc_pending_queue_pop(cap); in fimc_capture_irq_handler()204 fimc_hw_set_output_addr(fimc, &v_buf->addr, cap->buf_index); in fimc_capture_irq_handler()205 v_buf->index = cap->buf_index; in fimc_capture_irq_handler()208 fimc_active_queue_add(cap, v_buf); in fimc_capture_irq_handler()211 fimc_hw_get_frame_index(fimc), v_buf->index); in fimc_capture_irq_handler()[all …]