Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/adc/
Dad7791.c263 bool unipolar = !!(st->mode & AD7791_MODE_UNIPOLAR); in ad7791_read_raw() local
274 if (unipolar) in ad7791_read_raw()
296 if (unipolar) in ad7791_read_raw()
390 if ((st->info->flags & AD7791_FLAG_HAS_UNIPOLAR) && pdata->unipolar) in ad7791_setup()
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()
Dad7192.c606 static unsigned int ad7192_get_temp_scale(bool unipolar) in ad7192_get_temp_scale() argument
608 return unipolar ? 2815 * 2 : 2815; in ad7192_get_temp_scale()
687 bool unipolar = !!(st->conf & AD7192_CONF_UNIPOLAR); in ad7192_read_raw() local
702 *val2 = 1000000000 / ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
708 if (!unipolar) in ad7192_read_raw()
714 *val -= 273 * ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
/linux-5.19.10/include/linux/platform_data/
Dad7791.h15 bool unipolar; member
Dad7793.h103 bool unipolar; member
/linux-5.19.10/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml56 * Dual capacitive buttons with proximity-activated function, unipolar lid