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