Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/adc/
Dad7791.c215 bool unipolar = !!(st->mode & AD7791_MODE_UNIPOLAR); in ad7791_read_raw() local
226 if (unipolar) in ad7791_read_raw()
248 if (unipolar) in ad7791_read_raw()
342 if ((st->info->flags & AD7791_FLAG_HAS_UNIPOLAR) && pdata->unipolar) in ad7791_setup()
Dad7793.c303 if (pdata->unipolar) in ad7793_setup()
406 bool unipolar = !!(st->conf & AD7793_CONF_UNIPOLAR); in ad7793_read_raw() local
437 scale_uv >>= (chan->scan_type.realbits - (unipolar ? 0 : 1)); in ad7793_read_raw()
442 if (!unipolar) in ad7793_read_raw()
452 shift = chan->scan_type.realbits - (unipolar ? 0 : 1); in ad7793_read_raw()
/linux-4.19.296/include/linux/platform_data/
Dad7791.h15 bool unipolar; member
Dad7793.h104 bool unipolar; member