Home
last modified time | relevance | path

Searched refs:cfg_slot (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/iio/adc/
Dad7124.c148 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()
415 return ad7124_spi_write_mask(st, AD7124_CONFIG(cfg->cfg_slot), AD7124_CONFIG_PGA_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()
[all …]