Searched refs:ad7768_spi_reg_write (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/iio/adc/ |
D | ad7768-1.c | 191 static int ad7768_spi_reg_write(struct ad7768_state *st, in ad7768_spi_reg_write() function 213 return ad7768_spi_reg_write(st, AD7768_REG_CONVERSION, regval); in ad7768_set_mode() 262 ret = ad7768_spi_reg_write(st, reg, writeval); in ad7768_reg_access() 281 ret = ad7768_spi_reg_write(st, AD7768_REG_DIGITAL_FILTER, mode); in ad7768_set_dig_fil() 318 ret = ad7768_spi_reg_write(st, AD7768_REG_POWER_CLOCK, pwr_mode); in ad7768_set_freq() 436 ret = ad7768_spi_reg_write(st, AD7768_REG_SYNC_RESET, 0x3); in ad7768_setup() 440 ret = ad7768_spi_reg_write(st, AD7768_REG_SYNC_RESET, 0x2); in ad7768_setup() 499 return ad7768_spi_reg_write(st, AD7768_REG_INTERFACE_FORMAT, 0x01); in ad7768_buffer_postenable()
|