Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/adc/
Dad7192.c278 return ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_set_channel()
289 return ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set_mode()
301 ret = ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, mode); in ad7192_append_status()
318 ret = ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, conf); in ad7192_disable_all()
443 ret = ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_setup()
447 ret = ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_setup()
515 ad_sd_write_reg(&st->sd, AD7192_REG_GPOCON, 1, st->gpocon); in ad7192_set()
523 ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set()
658 ret = ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set_3db_filter_freq()
662 return ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_set_3db_filter_freq()
[all …]
Dad7124.c246 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask()
257 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()
380 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, in ad7124_init_config_vref()
400 ret = ad_sd_write_reg(&st->sd, AD7124_CONFIG(cfg->cfg_slot), 2, val); in ad7124_write_config()
479 return ad_sd_write_reg(&st->sd, AD7124_CHANNEL(ch->nr), 2, ch->ain | in ad7124_enable_channel()
533 ret = ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, adc_control); in ad7124_append_status()
585 ret = ad_sd_write_reg(&st->sd, AD7124_CHANNEL(chan->address), 2, in ad7124_read_raw()
700 ret = ad_sd_write_reg(&st->sd, reg, ad7124_reg_size[reg], in ad7124_reg_access()
911 ret = ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_setup()
Dad7791.c247 return ad_sd_write_reg(sd, AD7791_REG_MODE, sizeof(st->mode), st->mode); in ad7791_set_mode()
337 ad_sd_write_reg(&st->sd, AD7791_REG_FILTER, in ad7791_write_raw()
393 return ad_sd_write_reg(&st->sd, AD7791_REG_MODE, sizeof(st->mode), in ad7791_setup()
Dad7793.c189 return ad_sd_write_reg(&st->sd, AD7793_REG_CONF, 2, st->conf); in ad7793_set_channel()
200 return ad_sd_write_reg(&st->sd, AD7793_REG_MODE, 2, st->mode); in ad7793_set_mode()
318 ret = ad_sd_write_reg(&st->sd, AD7793_REG_IO, 1, in ad7793_setup()
492 ad_sd_write_reg(&st->sd, AD7793_REG_CONF, in ad7793_write_raw()
515 ad_sd_write_reg(&st->sd, AD7793_REG_MODE, sizeof(st->mode), in ad7793_write_raw()
Dad_sigma_delta.c58 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg, in ad_sd_write_reg() function
98 EXPORT_SYMBOL_NS_GPL(ad_sd_write_reg, IIO_AD_SIGMA_DELTA);
/linux-5.19.10/include/linux/iio/adc/
Dad_sigma_delta.h157 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg,