Searched refs:lru_cfg (Results 1 – 1 of 1) sorted by relevance
458 struct ad7124_channel_config *lru_cfg; in ad7124_pop_config() local467 ret = kfifo_get(&st->live_cfgs_fifo, &lru_cfg); in ad7124_pop_config()471 lru_cfg->live = false; in ad7124_pop_config()474 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0); in ad7124_pop_config()480 if (cfg->cfg_slot == lru_cfg->cfg_slot) in ad7124_pop_config()484 return lru_cfg; in ad7124_pop_config()489 struct ad7124_channel_config *lru_cfg; in ad7124_push_config() local498 lru_cfg = ad7124_pop_config(st); in ad7124_push_config()499 if (!lru_cfg) in ad7124_push_config()503 free_cfg_slot = lru_cfg->cfg_slot; in ad7124_push_config()