Searched refs:full_scale (Results 1 – 3 of 3) sorted by relevance
148 unsigned int full_scale, gain; in ad7780_write_raw() local159 full_scale = 1 << (chip_info->channel.scan_type.realbits - 1); in ad7780_write_raw()160 gain = DIV_ROUND_CLOSEST_ULL(vref, full_scale); in ad7780_write_raw()
855 unsigned int res, gain, full_scale, vref; in ad7124_write_raw() local874 full_scale = 1 << (chan->scan_type.realbits - 1); in ad7124_write_raw()876 full_scale = 1 << chan->scan_type.realbits; in ad7124_write_raw()879 res = DIV_ROUND_CLOSEST(vref, full_scale); in ad7124_write_raw()
410 struct force_array full_scale; /* offset 0x0080 */ member