Searched refs:cfg_slots_status (Results 1 – 2 of 2) sorted by relevance
228 struct ida cfg_slots_status; member567 ida_destroy(&st->cfg_slots_status); in ad7173_ida_destroy()620 ida_free(&st->cfg_slots_status, lru_position); in ad7173_free_config_slot_lru()621 return ida_alloc(&st->cfg_slots_status, GFP_KERNEL); in ad7173_free_config_slot_lru()631 free_cfg_slot = ida_alloc_range(&st->cfg_slots_status, 0, in ad7173_load_config()1768 ida_init(&st->cfg_slots_status); in ad7173_probe()
196 unsigned long cfg_slots_status; /* bitmap with slot status (1 means it is used) */ member388 free_cfg_slot = find_first_zero_bit(&st->cfg_slots_status, AD7124_MAX_CONFIGS); in ad7124_find_free_config_slot()474 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0); in ad7124_pop_config()508 assign_bit(free_cfg_slot, &st->cfg_slots_status, 1); in ad7124_push_config()