Searched refs:lru_cfg (Results 1 – 1 of 1) sorted by relevance
426 struct ad7124_channel_config *lru_cfg; in ad7124_pop_config() local435 ret = kfifo_get(&st->live_cfgs_fifo, &lru_cfg); in ad7124_pop_config()439 lru_cfg->live = false; in ad7124_pop_config()442 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0); in ad7124_pop_config()448 if (cfg->cfg_slot == lru_cfg->cfg_slot) in ad7124_pop_config()452 return lru_cfg; in ad7124_pop_config()457 struct ad7124_channel_config *lru_cfg; in ad7124_push_config() local466 lru_cfg = ad7124_pop_config(st); in ad7124_push_config()467 if (!lru_cfg) in ad7124_push_config()471 free_cfg_slot = lru_cfg->cfg_slot; in ad7124_push_config()