Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dad9467.c204 static int ad9467_spi_write(struct ad9467_state *st, unsigned int reg, in ad9467_spi_write() function
222 ret = ad9467_spi_write(st, reg, writeval); in ad9467_reg_access()
225 return ad9467_spi_write(st, AN877_ADC_REG_TRANSFER, in ad9467_reg_access()
490 ret = ad9467_spi_write(st, AN877_ADC_REG_VREF, in ad9467_set_scale()
495 return ad9467_spi_write(st, AN877_ADC_REG_TRANSFER, in ad9467_set_scale()
506 ret = ad9467_spi_write(st, AN877_ADC_REG_OUTPUT_MODE, mode); in ad9467_outputmode_set()
510 return ad9467_spi_write(st, AN877_ADC_REG_TRANSFER, in ad9467_outputmode_set()
521 ret = ad9467_spi_write(st, AN877_ADC_REG_CHAN_INDEX, BIT(chan)); in ad9467_testmode_set()
526 ret = ad9467_spi_write(st, AN877_ADC_REG_TEST_IO, test_mode); in ad9467_testmode_set()
532 ret = ad9467_spi_write(st, AN877_ADC_REG_CHAN_INDEX, in ad9467_testmode_set()
[all …]