Lines Matching defs:cfg_slot
143 unsigned int cfg_slot;
382 unsigned int cfg_slot)
388 cfg->cfg_slot = cfg_slot;
390 ret = ad_sd_write_reg(&st->sd, AD7124_OFFSET(cfg->cfg_slot), 3, cfg->calibration_offset);
394 ret = ad_sd_write_reg(&st->sd, AD7124_GAIN(cfg->cfg_slot), 3, cfg->calibration_gain);
404 ret = ad_sd_write_reg(&st->sd, AD7124_CONFIG(cfg->cfg_slot), 2, val);
410 return ad7124_spi_write_mask(st, AD7124_FILTER(cfg->cfg_slot),
433 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0);
439 if (cfg->cfg_slot == lru_cfg->cfg_slot)
462 free_cfg_slot = lru_cfg->cfg_slot;
476 FIELD_PREP(AD7124_CHANNEL_SETUP, ch->cfg.cfg_slot) |
495 cfg->cfg_slot = live_cfg->cfg_slot;
863 ret = ad_sd_read_reg(&st->sd, AD7124_OFFSET(ch->cfg.cfg_slot), 3,
878 ret = ad_sd_read_reg(&st->sd, AD7124_GAIN(ch->cfg.cfg_slot), 3,
1201 ret = ad_sd_read_reg(&st->sd, AD7124_GAIN(st->channels[i].cfg.cfg_slot), 3,
1211 ret = ad_sd_read_reg(&st->sd, AD7124_OFFSET(st->channels[i].cfg.cfg_slot), 3,