Searched refs:ads8688_range_def (Results 1 – 1 of 1) sorted by relevance
89 static const struct ads8688_ranges ads8688_range_def[5] = { variable124 ads8688_range_def[0].scale * st->vref_mv, in ads8688_show_scales()125 ads8688_range_def[1].scale * st->vref_mv, in ads8688_show_scales()126 ads8688_range_def[2].scale * st->vref_mv); in ads8688_show_scales()132 return sprintf(buf, "%d %d\n", ads8688_range_def[0].offset, in ads8688_show_offsets()133 ads8688_range_def[3].offset); in ads8688_show_offsets()263 scale_mv *= ads8688_range_def[st->range[chan->channel]].scale; in ads8688_read_raw()269 offset = ads8688_range_def[st->range[chan->channel]].offset; in ads8688_read_raw()302 offset = ads8688_range_def[st->range[chan->channel]].offset; in ads8688_write_raw()303 if (offset == 0 && val2 == ads8688_range_def[0].scale * st->vref_mv) { in ads8688_write_raw()[all …]