Searched refs:AD7192_CONF_GAIN (Results 1 – 1 of 1) sorted by relevance
103 #define AD7192_CONF_GAIN(x) ((x) & 0x7) /* Gain Select */ macro415 st->conf = AD7192_CONF_GAIN(0); in ad7192_setup()697 *val = st->scale_avail[AD7192_CONF_GAIN(st->conf)][0]; in ad7192_read_raw()698 *val2 = st->scale_avail[AD7192_CONF_GAIN(st->conf)][1]; in ad7192_read_raw()752 st->conf &= ~AD7192_CONF_GAIN(-1); in ad7192_write_raw()753 st->conf |= AD7192_CONF_GAIN(i); in ad7192_write_raw()