Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/comedi/drivers/
Djr3_pci.c177 struct six_axis_t full_scale) in set_full_scales() argument
179 set_s16(&sensor->full_scale.fx, full_scale.fx); in set_full_scales()
180 set_s16(&sensor->full_scale.fy, full_scale.fy); in set_full_scales()
181 set_s16(&sensor->full_scale.fz, full_scale.fz); in set_full_scales()
182 set_s16(&sensor->full_scale.mx, full_scale.mx); in set_full_scales()
183 set_s16(&sensor->full_scale.my, full_scale.my); in set_full_scales()
184 set_s16(&sensor->full_scale.mz, full_scale.mz); in set_full_scales()
507 struct force_array __iomem *fs = &sensor->full_scale; in jr3_pci_poll_subdevice()
Djr3_pci.h410 struct force_array full_scale; /* offset 0x0080 */ member
/linux-6.12.1/drivers/iio/adc/
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()
Dad7124.c633 unsigned int res, gain, full_scale, vref; in ad7124_write_raw() local
654 full_scale = 1 << (chan->scan_type.realbits - 1); in ad7124_write_raw()
656 full_scale = 1 << chan->scan_type.realbits; in ad7124_write_raw()
659 res = DIV_ROUND_CLOSEST(vref, full_scale); in ad7124_write_raw()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-ad719243 "full_scale" - calibrate to full scale