Lines Matching refs:ad9467_spi_write
204 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()
538 return ad9467_spi_write(st, AN877_ADC_REG_TRANSFER, in ad9467_testmode_set()
617 return ad9467_spi_write(st, AN877_ADC_REG_OUTPUT_PHASE, in ad9647_calibrate_polarity_set()
659 ret = ad9467_spi_write(st, AN877_ADC_REG_OUTPUT_DELAY, in ad9467_calibrate_apply()
664 return ad9467_spi_write(st, AN877_ADC_REG_TRANSFER, in ad9467_calibrate_apply()