Searched refs:ad7293_spi_read (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/dac/ |
H A D | ad7293.c | 199 static int ad7293_spi_read(struct ad7293_state *st, unsigned int reg, in __ad7293_spi_read() 323 return ad7293_spi_read(st, AD7293_REG_VIN0_OFFSET + ch, offset); in ad7293_get_offset() 325 return ad7293_spi_read(st, AD7293_REG_TSENSE_INT_OFFSET + (ch - 4), offset); in ad7293_get_offset() 327 return ad7293_spi_read(st, AD7293_REG_ISENSE0_OFFSET + (ch - 7), offset); in ad7293_get_offset() 329 return ad7293_spi_read(st, AD7293_REG_UNI_VOUT0_OFFSET + (ch - 11), offset); in ad7293_get_offset() 374 ret = ad7293_spi_read(st, AD7293_REG_ISENSE_GAIN, gain); in ad7293_isense_get_scale() 644 ret = ad7293_spi_read(st, reg, &temp); in ad7293_reg_access() 201 static int ad7293_spi_read(struct ad7293_state *st, unsigned int reg, ad7293_spi_read() function
|