Lines Matching refs:buf_index
116 cap->buf_index = 0; in fimc_capture_state_cleanup()
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()
213 if (++cap->buf_index >= FIMC_MAX_OUT_BUFS) in fimc_capture_irq_handler()
214 cap->buf_index = 0; in fimc_capture_irq_handler()
240 if (++cap->buf_index >= FIMC_MAX_OUT_BUFS) in fimc_capture_irq_handler()
241 cap->buf_index = 0; in fimc_capture_irq_handler()
324 vid_cap->buf_index = 0; in fimc_capture_resume()
420 vid_cap->buf_index; in buffer_queue()
423 buf->index = vid_cap->buf_index; in buffer_queue()
426 if (++vid_cap->buf_index >= FIMC_MAX_OUT_BUFS) in buffer_queue()
427 vid_cap->buf_index = 0; in buffer_queue()