Searched refs:cfg_slot (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/iio/adc/ |
| H A D | ad7124.c | 181 unsigned int cfg_slot; member 448 unsigned int cfg_slot) in ad7124_write_config() argument 455 ret = ad_sd_write_reg(&st->sd, AD7124_OFFSET(cfg_slot), 3, in ad7124_write_config() 460 ret = ad_sd_write_reg(&st->sd, AD7124_GAIN(cfg_slot), 3, in ad7124_write_config() 471 ret = ad_sd_write_reg(&st->sd, AD7124_CONFIG(cfg_slot), 2, val); in ad7124_write_config() 524 return ad_sd_write_reg(&st->sd, AD7124_FILTER(cfg_slot), 3, in ad7124_write_config() 558 if (st->channels[other].cfg.cfg_slot == AD7124_CFG_SLOT_UNASSIGNED) in ad7124_request_config_slot() 562 st->channels[other].cfg.cfg_slot); in ad7124_request_config_slot() 569 slot = st->channels[other].cfg.cfg_slot; in ad7124_request_config_slot() 571 st->channels[channel].cfg.cfg_slot = slot; in ad7124_request_config_slot() [all …]
|
| H A D | ad7173.c | 212 u8 cfg_slot; member 710 if (st->channels[i].cfg.cfg_slot == lru_position) in ad7173_free_config_slot_lru() 730 cfg->cfg_slot = free_cfg_slot; in ad7173_load_config() 797 cfg->cfg_slot = live_cfg->cfg_slot; in ad7173_config_channel() 810 st->config_cnts[cfg->cfg_slot] = st->config_usage_counter; in ad7173_config_channel() 826 FIELD_PREP(AD7173_CH_SETUP_SEL_MASK, st->channels[channel].cfg.cfg_slot) | in ad7173_set_channel() 1447 if (i == j || cfg1->cfg_slot != cfg2->cfg_slot) in ad7173_update_scan_mode()
|