Searched refs:ad_sd_write_reg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/staging/iio/adc/ |
D | ad7192.c | 188 return ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_set_channel() 199 return ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set_mode() 313 ret = ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_setup() 317 ret = ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_setup() 385 ad_sd_write_reg(&st->sd, AD7192_REG_GPOCON, 1, st->gpocon); in ad7192_set() 393 ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set() 528 ret = ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set_3db_filter_freq() 532 return ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_set_3db_filter_freq() 625 ad_sd_write_reg(&st->sd, AD7192_REG_CONF, in ad7192_write_raw() 646 ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_write_raw()
|
/Linux-v5.4/drivers/iio/adc/ |
D | ad7124.c | 193 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask() 204 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode() 215 return ad_sd_write_reg(&st->sd, AD7124_CHANNEL(channel), 2, val); in ad7124_set_channel() 294 ret = ad_sd_write_reg(&st->sd, in ad7124_read_raw() 530 ret = ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_setup() 536 ret = ad_sd_write_reg(&st->sd, AD7124_CHANNEL(i), 2, val); in ad7124_setup() 550 ret = ad_sd_write_reg(&st->sd, AD7124_CONFIG(i), 2, val); in ad7124_setup()
|
D | ad7791.c | 199 return ad_sd_write_reg(sd, AD7791_REG_MODE, sizeof(st->mode), st->mode); in ad7791_set_mode() 288 ad_sd_write_reg(&st->sd, AD7791_REG_FILTER, in ad7791_write_raw() 344 return ad_sd_write_reg(&st->sd, AD7791_REG_MODE, sizeof(st->mode), in ad7791_setup()
|
D | ad7793.c | 189 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() 316 ret = ad_sd_write_reg(&st->sd, AD7793_REG_IO, 1, in ad7793_setup() 491 ad_sd_write_reg(&st->sd, AD7793_REG_CONF, in ad7793_write_raw() 514 ad_sd_write_reg(&st->sd, AD7793_REG_MODE, sizeof(st->mode), in ad7793_write_raw()
|
D | ad_sigma_delta.c | 57 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg, in ad_sd_write_reg() function 99 EXPORT_SYMBOL_GPL(ad_sd_write_reg);
|
/Linux-v5.4/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 112 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg,
|