Lines Matching refs:active_buf
202 if (curr == stat->locked_buf || curr == stat->active_buf) in __isp_stat_buf_find()
238 if (!stat->active_buf) in isp_stat_buf_queue()
241 ktime_get_ts64(&stat->active_buf->ts); in isp_stat_buf_queue()
243 stat->active_buf->buf_size = stat->buf_size; in isp_stat_buf_queue()
244 if (isp_stat_buf_check_magic(stat, stat->active_buf)) { in isp_stat_buf_queue()
249 stat->active_buf->config_counter = stat->config_counter; in isp_stat_buf_queue()
250 stat->active_buf->frame_number = stat->frame_number; in isp_stat_buf_queue()
251 stat->active_buf->empty = 0; in isp_stat_buf_queue()
252 stat->active_buf = NULL; in isp_stat_buf_queue()
260 if (unlikely(stat->active_buf)) in isp_stat_buf_next()
266 stat->active_buf = isp_stat_buf_find_oldest_or_empty(stat); in isp_stat_buf_next()
364 stat->active_buf = NULL; in isp_stat_bufs_free()
714 isp_stat_buf_insert_magic(stat, stat->active_buf); in isp_stat_try_enable()
949 isp_stat_buf_insert_magic(stat, stat->active_buf); in __stat_isr()