Searched refs:unipolar (Results 1 – 6 of 6) sorted by relevance
263 bool unipolar = !!(st->mode & AD7791_MODE_UNIPOLAR); in ad7791_read_raw() local274 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()
303 if (pdata->unipolar) in ad7793_setup()405 bool unipolar = !!(st->conf & AD7793_CONF_UNIPOLAR); in ad7793_read_raw() local436 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()
606 static unsigned int ad7192_get_temp_scale(bool unipolar) in ad7192_get_temp_scale() argument608 return unipolar ? 2815 * 2 : 2815; in ad7192_get_temp_scale()687 bool unipolar = !!(st->conf & AD7192_CONF_UNIPOLAR); in ad7192_read_raw() local702 *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()
15 bool unipolar; member
103 bool unipolar; member
56 * Dual capacitive buttons with proximity-activated function, unipolar lid