Searched refs:free_cfg_slot (Results 1 – 1 of 1) sorted by relevance
349 unsigned int free_cfg_slot; in ad7124_find_free_config_slot() local351 free_cfg_slot = find_first_zero_bit(&st->cfg_slots_status, AD7124_MAX_CONFIGS); in ad7124_find_free_config_slot()352 if (free_cfg_slot == AD7124_MAX_CONFIGS) in ad7124_find_free_config_slot()355 return free_cfg_slot; in ad7124_find_free_config_slot()453 int free_cfg_slot; in ad7124_push_config() local455 free_cfg_slot = ad7124_find_free_config_slot(st); in ad7124_push_config()456 if (free_cfg_slot >= 0) { in ad7124_push_config()466 free_cfg_slot = lru_cfg->cfg_slot; in ad7124_push_config()471 assign_bit(free_cfg_slot, &st->cfg_slots_status, 1); in ad7124_push_config()473 return ad7124_write_config(st, cfg, free_cfg_slot); in ad7124_push_config()