Searched refs:cfg_slot (Results 1 – 1 of 1) 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 …]
|