Lines Matching refs:active_buf
199 if (curr == stat->locked_buf || curr == stat->active_buf) in __isp_stat_buf_find()
235 if (!stat->active_buf) in isp_stat_buf_queue()
238 ktime_get_ts64(&stat->active_buf->ts); in isp_stat_buf_queue()
240 stat->active_buf->buf_size = stat->buf_size; in isp_stat_buf_queue()
241 if (isp_stat_buf_check_magic(stat, stat->active_buf)) { in isp_stat_buf_queue()
246 stat->active_buf->config_counter = stat->config_counter; in isp_stat_buf_queue()
247 stat->active_buf->frame_number = stat->frame_number; in isp_stat_buf_queue()
248 stat->active_buf->empty = 0; in isp_stat_buf_queue()
249 stat->active_buf = NULL; in isp_stat_buf_queue()
257 if (unlikely(stat->active_buf)) in isp_stat_buf_next()
263 stat->active_buf = isp_stat_buf_find_oldest_or_empty(stat); in isp_stat_buf_next()
361 stat->active_buf = NULL; in isp_stat_bufs_free()
712 isp_stat_buf_insert_magic(stat, stat->active_buf); in isp_stat_try_enable()
947 isp_stat_buf_insert_magic(stat, stat->active_buf); in __stat_isr()