Searched refs:cfg_slot (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7124.c | 148 unsigned int cfg_slot; member 389 unsigned int cfg_slot) in ad7124_write_config() argument 395 cfg->cfg_slot = cfg_slot; in ad7124_write_config() 400 ret = ad_sd_write_reg(&st->sd, AD7124_CONFIG(cfg->cfg_slot), 2, val); in ad7124_write_config() 405 ret = ad7124_spi_write_mask(st, AD7124_FILTER(cfg->cfg_slot), AD7124_FILTER_TYPE_MSK, in ad7124_write_config() 410 ret = ad7124_spi_write_mask(st, AD7124_FILTER(cfg->cfg_slot), AD7124_FILTER_FS_MSK, in ad7124_write_config() 437 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0); in ad7124_pop_config() 443 if (cfg->cfg_slot == lru_cfg->cfg_slot) in ad7124_pop_config() 466 free_cfg_slot = lru_cfg->cfg_slot; in ad7124_push_config() 480 AD7124_CHANNEL_SETUP(ch->cfg.cfg_slot) | AD7124_CHANNEL_EN(1)); in ad7124_enable_channel() [all …]
|