Searched refs:precision_bits (Results 1 – 2 of 2) sorted by relevance
177 u8 precision_bits; member467 mag_bits = st->chip->precision_bits - 1; in ad4030_fill_scale_avail()496 unsigned int mag_bits = st->chip->precision_bits - 1; in ad4030_set_pga()582 switch (st->chip->precision_bits) { in ad4030_get_chan_calibbias()728 switch (st->chip->precision_bits) { in ad4030_set_chan_calibbias()801 switch (st->chip->precision_bits) { in ad4030_set_mode()1195 offload_bpw = st->chip->precision_bits; in ad4030_prepare_offload_msg()1359 st->offset_avail[0] = (int)BIT(st->chip->precision_bits - 1) * -1; in ad4030_config()1361 st->offset_avail[2] = BIT(st->chip->precision_bits - 1) - 1; in ad4030_config()1637 .precision_bits = 24,[all …]
1357 int precision_bits = chan->scan_type.realbits; in ad4170_fill_scale_tbl() local1388 rshift = precision_bits - bipolar + (pga & GENMASK(2, 0)) - lshift; in ad4170_fill_scale_tbl()