Lines Matching refs:active_buf
221 if (curr == stat->locked_buf || curr == stat->active_buf) in __isp_stat_buf_find()
257 if (!stat->active_buf) in isp_stat_buf_queue()
260 ktime_get_ts(&stat->active_buf->ts); in isp_stat_buf_queue()
262 stat->active_buf->buf_size = stat->buf_size; in isp_stat_buf_queue()
263 if (isp_stat_buf_check_magic(stat, stat->active_buf)) { in isp_stat_buf_queue()
268 stat->active_buf->config_counter = stat->config_counter; in isp_stat_buf_queue()
269 stat->active_buf->frame_number = stat->frame_number; in isp_stat_buf_queue()
270 stat->active_buf->empty = 0; in isp_stat_buf_queue()
271 stat->active_buf = NULL; in isp_stat_buf_queue()
279 if (unlikely(stat->active_buf)) in isp_stat_buf_next()
285 stat->active_buf = isp_stat_buf_find_oldest_or_empty(stat); in isp_stat_buf_next()
389 stat->active_buf = NULL; in isp_stat_bufs_free()
738 isp_stat_buf_insert_magic(stat, stat->active_buf); in isp_stat_try_enable()
973 isp_stat_buf_insert_magic(stat, stat->active_buf); in __stat_isr()