Home
last modified time | relevance | path

Searched refs:unipolar (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/Documentation/iio/
H A Diio_adc.rst33 pseudo-differential) and two possible polarities (unipolar, bipolar). The input
35 characteristic, and is completely independent of the polarity (unipolar,
44 can be either unipolar or bipolar.
62 The input voltage to a **single-ended unipolar** channel is allowed to swing
69 A single-ended unipolar channel could be described in device tree like the
198 differential unipolar setups can often be supported as pseudo-differential
199 unipolar channels.
236 A **pseudo-differential unipolar** input has the limitations a differential
237 unipolar channel would have, meaning the analog voltage to the positive input
250 Device tree example for pseudo-differential unipolar channel::
[all …]
/linux-6.15/drivers/iio/adc/
H A Dad7791.c264 bool unipolar = !!(st->mode & AD7791_MODE_UNIPOLAR); in ad7791_read_raw() local
275 if (unipolar) in ad7791_read_raw()
297 if (unipolar) in ad7791_read_raw()
396 if ((st->info->flags & AD7791_FLAG_HAS_UNIPOLAR) && pdata->unipolar) in ad7791_setup()
H A Dad7793.c303 if (pdata->unipolar) in ad7793_setup()
405 bool unipolar = !!(st->conf & AD7793_CONF_UNIPOLAR); in ad7793_read_raw() local
436 scale_uv >>= (chan->scan_type.realbits - (unipolar ? 0 : 1)); in ad7793_read_raw()
441 if (!unipolar) in ad7793_read_raw()
451 shift = chan->scan_type.realbits - (unipolar ? 0 : 1); in ad7793_read_raw()
H A Dad7192.c820 static unsigned int ad7192_get_temp_scale(bool unipolar) in ad7192_get_temp_scale() argument
822 return unipolar ? 2815 * 2 : 2815; in ad7192_get_temp_scale()
894 bool unipolar = FIELD_GET(AD7192_CONF_UNIPOLAR, st->conf); in ad7192_read_raw() local
910 *val2 = 1000000000 / ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
916 if (!unipolar) in ad7192_read_raw()
933 *val -= 273 * ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
/linux-6.15/include/linux/platform_data/
H A Dad7791.h15 bool unipolar; member
H A Dad7793.h103 bool unipolar; member
/linux-6.15/Documentation/devicetree/bindings/mfd/
H A Diqs62x.yaml56 * Dual capacitive buttons with proximity-activated function, unipolar lid
/linux-6.15/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7606.yaml194 'unipolar single-ended'. So for the other configurations the 'bipolar'