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 393 unsigned int cfg_slot) in ad7124_write_config() argument 399 cfg->cfg_slot = cfg_slot; in ad7124_write_config() 404 ret = ad_sd_write_reg(&st->sd, AD7124_CONFIG(cfg->cfg_slot), 2, val); in ad7124_write_config() 409 ret = ad7124_spi_write_mask(st, AD7124_FILTER(cfg->cfg_slot), AD7124_FILTER_TYPE_MSK, in ad7124_write_config() 414 ret = ad7124_spi_write_mask(st, AD7124_FILTER(cfg->cfg_slot), AD7124_FILTER_FS_MSK, in ad7124_write_config() 441 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0); in ad7124_pop_config() 447 if (cfg->cfg_slot == lru_cfg->cfg_slot) in ad7124_pop_config() 470 free_cfg_slot = lru_cfg->cfg_slot; in ad7124_push_config() 484 AD7124_CHANNEL_SETUP(ch->cfg.cfg_slot) | AD7124_CHANNEL_EN(1)); in ad7124_enable_channel() [all …]
|