Searched refs:ad_sd_write_reg (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ad7124.c | 227 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask() 238 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode() 249 return ad_sd_write_reg(&st->sd, AD7124_CHANNEL(channel), 2, val); in ad7124_set_channel() 381 ret = ad_sd_write_reg(&st->sd, in ad7124_read_raw() 469 ret = ad_sd_write_reg(&st->sd, reg, ad7124_reg_size[reg], in ad7124_reg_access() 574 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, in ad7124_init_channel_vref() 683 ret = ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_setup() 689 ret = ad_sd_write_reg(&st->sd, AD7124_CHANNEL(i), 2, val); in ad7124_setup() 703 ret = ad_sd_write_reg(&st->sd, AD7124_CONFIG(i), 2, val); in ad7124_setup()
|
D | ad7192.c | 276 return ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_set_channel() 287 return ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set_mode() 402 ret = ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_setup() 406 ret = ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_setup() 474 ad_sd_write_reg(&st->sd, AD7192_REG_GPOCON, 1, st->gpocon); in ad7192_set() 482 ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set() 617 ret = ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_set_3db_filter_freq() 621 return ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_set_3db_filter_freq() 714 ad_sd_write_reg(&st->sd, AD7192_REG_CONF, in ad7192_write_raw() 735 ad_sd_write_reg(&st->sd, AD7192_REG_MODE, 3, st->mode); in ad7192_write_raw()
|
D | ad7791.c | 247 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()
|
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() 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()
|
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 97 EXPORT_SYMBOL_GPL(ad_sd_write_reg);
|
/kernel/linux/linux-5.10/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 118 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg,
|