Searched refs:full_scale (Results 1 – 2 of 2) sorted by relevance
410 struct force_array full_scale; /* offset 0x0080 */ member
854 unsigned int res, gain, full_scale, vref; in ad7124_write_raw() local873 full_scale = 1 << (chan->scan_type.realbits - 1); in ad7124_write_raw()875 full_scale = 1 << chan->scan_type.realbits; in ad7124_write_raw()878 res = DIV_ROUND_CLOSEST(vref, full_scale); in ad7124_write_raw()