AD4691_AVG_IN
put_unaligned_be16(0x8000 | AD4691_AVG_IN(i), &st->scan_tx[k]);
st->scan_tx[k] = 0x8000 | AD4691_AVG_IN(bit);
case AD4691_AVG_IN(0) ... AD4691_AVG_IN(15):
case AD4691_AVG_IN(0) ... AD4691_AVG_IN(15):
if (reg >= AD4691_AVG_IN(0) && reg <= AD4691_AVG_IN(15))
return (reg - AD4691_AVG_IN(0)) % 2 == 0;
ret = regmap_read(st->regmap, AD4691_AVG_IN(chan->channel), ®_val);