Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dad7780.c148 unsigned int full_scale, gain; in ad7780_write_raw() local
159 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()
H A Dad7124.c855 unsigned int res, gain, full_scale, vref; in ad7124_write_raw() local
874 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()
/linux/drivers/comedi/drivers/
H A Djr3_pci.h410 struct force_array full_scale; /* offset 0x0080 */ member