Home
last modified time | relevance | path

Searched refs:AD7192_CONF_GAIN (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dad7192.c100 #define AD7192_CONF_GAIN(x) ((x) & 0x7) /* Gain Select */ macro
372 st->conf = AD7192_CONF_GAIN(0); in ad7192_setup()
655 *val = st->scale_avail[AD7192_CONF_GAIN(st->conf)][0]; in ad7192_read_raw()
656 *val2 = st->scale_avail[AD7192_CONF_GAIN(st->conf)][1]; in ad7192_read_raw()
710 st->conf &= ~AD7192_CONF_GAIN(-1); in ad7192_write_raw()
711 st->conf |= AD7192_CONF_GAIN(i); in ad7192_write_raw()
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dad7192.c101 #define AD7192_CONF_GAIN(x) ((x) & 0x7) /* Gain Select */ macro
413 st->conf = AD7192_CONF_GAIN(0); in ad7192_setup()
695 *val = st->scale_avail[AD7192_CONF_GAIN(st->conf)][0]; in ad7192_read_raw()
696 *val2 = st->scale_avail[AD7192_CONF_GAIN(st->conf)][1]; in ad7192_read_raw()
750 st->conf &= ~AD7192_CONF_GAIN(-1); in ad7192_write_raw()
751 st->conf |= AD7192_CONF_GAIN(i); in ad7192_write_raw()

Completed in 4 milliseconds