Lines Matching defs:active
101 * @active: current active buffer
131 struct vip_buffer *active; /* current active buffer */
238 vip->active = list_first_entry(&vip->buffer_list,
246 start_dma(vip, vip->active); /* start dma capture */
265 vip->active = NULL;
307 if (!vip->active) { /* No active buffer, active the first one */
308 vip->active = list_first_entry(&vip->buffer_list,
341 start_dma(vip, vip->active);
357 /* Release all active buffers */
506 * the current active input line is set
533 * the current active input line is returned
800 if (vip->active) { /* Acquisition is over on this buffer */
803 /* Remove the active buffer from the list */
804 vip->active->vb.vb2_buf.timestamp = ktime_get_ns();
805 vip->active->vb.sequence = vip->sequence++;
806 vb2_buffer_done(&vip->active->vb.vb2_buf, VB2_BUF_STATE_DONE);