Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dad7768-1.c195 static int ad7768_spi_reg_write(struct ad7768_state *st, in ad7768_spi_reg_write() function
217 return ad7768_spi_reg_write(st, AD7768_REG_CONVERSION, regval); in ad7768_set_mode()
266 ret = ad7768_spi_reg_write(st, reg, writeval); in ad7768_reg_access()
285 ret = ad7768_spi_reg_write(st, AD7768_REG_DIGITAL_FILTER, mode); in ad7768_set_dig_fil()
322 ret = ad7768_spi_reg_write(st, AD7768_REG_POWER_CLOCK, pwr_mode); in ad7768_set_freq()
440 ret = ad7768_spi_reg_write(st, AD7768_REG_SYNC_RESET, 0x3); in ad7768_setup()
444 ret = ad7768_spi_reg_write(st, AD7768_REG_SYNC_RESET, 0x2); in ad7768_setup()
502 return ad7768_spi_reg_write(st, AD7768_REG_INTERFACE_FORMAT, 0x01); in ad7768_buffer_postenable()