Home
last modified time | relevance | path

Searched full:unipolar (Results 1 – 25 of 73) sorted by relevance

123

/kernel/linux/linux-6.6/include/linux/platform_data/
Dad7791.h9 * @unipolar: If set to true sample in unipolar mode, if set to false sample in
15 bool unipolar; member
Dad7793.h91 * @unipolar: If set to true sample in unipolar mode, if set to false sample in
103 bool unipolar; member
/kernel/linux/linux-5.10/include/linux/platform_data/
Dad7791.h9 * @unipolar: If set to true sample in unipolar mode, if set to false sample in
15 bool unipolar; member
Dad7793.h91 * @unipolar: If set to true sample in unipolar mode, if set to false sample in
103 bool unipolar; member
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ddt2815.c22 * [2] - Voltage unipolar/bipolar configuration
23 * 0 == unipolar 5V (0V -- +5V)
119 * options[2] Voltage unipolar/bipolar configuration
120 * 0 == unipolar 5V (0V -- +5V)
Ddas1800.c66 * Unipolar and bipolar ranges cannot be mixed in the channel/gain list.
151 UNI_RANGE(5), /* unipolar gain = 1 */
152 UNI_RANGE(1), /* unipolar gain = 10 */
153 UNI_RANGE(0.1), /* unipolar gain = 50 */
154 UNI_RANGE(0.02) /* unipolar gain = 250 */
164 UNI_RANGE(10), /* unipolar gain = 1 */
165 UNI_RANGE(5), /* unipolar gain = 2 */
166 UNI_RANGE(2.5), /* unipolar gain = 4 */
167 UNI_RANGE(1.25) /* unipolar gain = 8 */
626 "unipolar and bipolar ranges cannot be mixed in the chanlist\n"); in das1800_ai_check_chanlist()
Dcb_pcimdda.c25 * 5 Volt unipolar, 5V bipolar, 10 Volt unipolar or 10V bipolar.
Dadq12b.c32 * [1] - Analog Input unipolar/bipolar selection
35 * unipolar 1 1-2
Daddi_apci_3501.c120 * 13-bit unipolar: +/-10V in apci3501_ao_insn_write()
137 "Unipolar resolution is only 13-bits\n"); in apci3501_ao_insn_write()
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Ddt2815.c22 * [2] - Voltage unipolar/bipolar configuration
23 * 0 == unipolar 5V (0V -- +5V)
118 * options[2] Voltage unipolar/bipolar configuration
119 * 0 == unipolar 5V (0V -- +5V)
Ddas1800.c66 * Unipolar and bipolar ranges cannot be mixed in the channel/gain list.
149 UNI_RANGE(5), /* unipolar gain = 1 */
150 UNI_RANGE(1), /* unipolar gain = 10 */
151 UNI_RANGE(0.1), /* unipolar gain = 50 */
152 UNI_RANGE(0.02) /* unipolar gain = 250 */
162 UNI_RANGE(10), /* unipolar gain = 1 */
163 UNI_RANGE(5), /* unipolar gain = 2 */
164 UNI_RANGE(2.5), /* unipolar gain = 4 */
165 UNI_RANGE(1.25) /* unipolar gain = 8 */
624 "unipolar and bipolar ranges cannot be mixed in the chanlist\n"); in das1800_ai_check_chanlist()
Dcb_pcimdda.c25 * 5 Volt unipolar, 5V bipolar, 10 Volt unipolar or 10V bipolar.
Dadq12b.c32 * [1] - Analog Input unipolar/bipolar selection
35 * unipolar 1 1-2
Daddi_apci_3501.c120 * 13-bit unipolar: +/-10V in apci3501_ao_insn_write()
137 "Unipolar resolution is only 13-bits\n"); in apci3501_ao_insn_write()
Drti802.c21 * [3,5,7,9,11,13,15,17] - dac#[0-7] 0=bipolar, 1=unipolar
/kernel/linux/linux-6.6/drivers/iio/adc/
Dad7791.c263 bool unipolar = !!(st->mode & AD7791_MODE_UNIPOLAR); in ad7791_read_raw() local
271 * Unipolar: 0 to VREF in ad7791_read_raw()
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()
Dad7192.c102 #define AD7192_CONF_UNIPOLAR BIT(3) /* Unipolar/Bipolar Enable */
607 static unsigned int ad7192_get_temp_scale(bool unipolar) in ad7192_get_temp_scale() argument
609 return unipolar ? 2815 * 2 : 2815; in ad7192_get_temp_scale()
688 bool unipolar = !!(st->conf & AD7192_CONF_UNIPOLAR); in ad7192_read_raw() local
703 *val2 = 1000000000 / ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
709 if (!unipolar) in ad7192_read_raw()
715 *val -= 273 * ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
Dad7793.c82 #define AD7793_CONF_UNIPOLAR (1 << 12) /* Unipolar/Bipolar Enable */
303 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()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7791.c263 bool unipolar = !!(st->mode & AD7791_MODE_UNIPOLAR); in ad7791_read_raw() local
271 * Unipolar: 0 to VREF in ad7791_read_raw()
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()
Dad7192.c99 #define AD7192_CONF_UNIPOLAR BIT(3) /* Unipolar/Bipolar Enable */
565 static unsigned int ad7192_get_temp_scale(bool unipolar) in ad7192_get_temp_scale() argument
567 return unipolar ? 2815 * 2 : 2815; in ad7192_get_temp_scale()
646 bool unipolar = !!(st->conf & AD7192_CONF_UNIPOLAR); in ad7192_read_raw() local
661 *val2 = 1000000000 / ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
667 if (!unipolar) in ad7192_read_raw()
673 *val -= 273 * ad7192_get_temp_scale(unipolar); in ad7192_read_raw()
Dad7793.c82 #define AD7793_CONF_UNIPOLAR (1 << 12) /* Unipolar/Bipolar Enable */
303 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()
Dstx104.c136 /* get ADC bipolar/unipolar configuration */ in stx104_read_raw()
143 /* get ADC bipolar/unipolar and gain configuration */ in stx104_read_raw()
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedidev.h653 * %false if the range is unipolar.
662 * comedi_range_is_unipolar() - Test if subdevice range is unipolar
666 * Tests whether a range is unipolar by checking whether its minimum value
673 * %true if the range is unipolar.
717 * %false if the range is unipolar.
727 * comedi_chan_range_is_unipolar() - Test if channel-specific range is unipolar
732 * Tests whether a range is unipolar by checking whether its minimum value
739 * %true if the range is unipolar.
763 * %false if the range is unipolar.
/kernel/linux/linux-6.6/include/linux/comedi/
Dcomedidev.h652 * %false if the range is unipolar.
661 * comedi_range_is_unipolar() - Test if subdevice range is unipolar
665 * Tests whether a range is unipolar by checking whether its minimum value
672 * %true if the range is unipolar.
716 * %false if the range is unipolar.
726 * comedi_chan_range_is_unipolar() - Test if channel-specific range is unipolar
731 * Tests whether a range is unipolar by checking whether its minimum value
738 * %true if the range is unipolar.
762 * %false if the range is unipolar.
/kernel/linux/linux-5.10/Documentation/hwmon/
Dmax197.rst50 3 BIP Unipolar or Bipolar conversion mode

123