Home
last modified time | relevance | path

Searched refs:AD4691_AVG_IN (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/adc/
H A Dad4691.c106 #define AD4691_AVG_IN(n) (0x201 + (2 * (n))) macro
592 case AD4691_AVG_IN(0) ... AD4691_AVG_IN(15): in ad4691_reg_read()
651 case AD4691_AVG_IN(0) ... AD4691_AVG_IN(15): in ad4691_volatile_reg()
676 if (reg >= AD4691_AVG_IN(0) && reg <= AD4691_AVG_IN(15)) in ad4691_readable_reg()
677 return (reg - AD4691_AVG_IN(0)) % 2 == 0; in ad4691_readable_reg()
894 ret = regmap_read(st->regmap, AD4691_AVG_IN(chan->channel), &reg_val); in ad4691_single_shot_read()
1168 put_unaligned_be16(0x8000 | AD4691_AVG_IN(i), &st->scan_tx[k]); in ad4691_cnv_burst_buffer_preenable()
1419 st->scan_tx[k] = 0x8000 | AD4691_AVG_IN(bit); in ad4691_cnv_burst_offload_buffer_postenable()