/openbmc/linux/include/linux/platform_data/ |
H A D | ad7791.h | 9 * @unipolar: If set to true sample in unipolar mode, if set to false sample in 15 bool unipolar; member
|
H A D | ad7793.h | 91 * @unipolar: If set to true sample in unipolar mode, if set to false sample in 103 bool unipolar; member
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | dt2815.c | 22 * [2] - Voltage unipolar/bipolar configuration 23 * 0 == unipolar 5V (0V -- +5V) 118 * options[2] Voltage unipolar/bipolar configuration 119 * 0 == unipolar 5V (0V -- +5V)
|
H A D | das1800.c | 66 * 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()
|
H A D | cb_pcimdda.c | 25 * 5 Volt unipolar, 5V bipolar, 10 Volt unipolar or 10V bipolar.
|
H A D | adq12b.c | 32 * [1] - Analog Input unipolar/bipolar selection 35 * unipolar 1 1-2
|
H A D | addi_apci_3501.c | 120 * 13-bit unipolar: +/-10V in apci3501_ao_insn_write() 137 "Unipolar resolution is only 13-bits\n"); in apci3501_ao_insn_write()
|
H A D | rti802.c | 21 * [3,5,7,9,11,13,15,17] - dac#[0-7] 0=bipolar, 1=unipolar
|
H A D | dac02.c | 83 * Unipolar outputs are true binary encoding. in dac02_ao_insn_write()
|
H A D | adv_pci1720.c | 32 * unipolar 5V range must be used. The voltage output and sink output for
|
H A D | amplc_pci224.c | 277 RANGE_ext(0, 1), /* unipolar [0,+Vext] */ 403 * - unipolar: 16-bit unsigned in pci224_ao_set_data() 926 /* Channels will be all bipolar or all unipolar. */ in pci224_ao_munge() 929 /* Unipolar */ in pci224_ao_munge()
|
H A D | dmm32at.c | 102 #define DMM32AT_AI_CFG_ADBU BIT(2) /* 0=bipolar 1=unipolar */ 515 /* set the range at 10v unipolar */ in dmm32at_reset()
|
H A D | das6402.c | 526 /* default ADC to single-ended unipolar 10V inputs */ in das6402_reset() 536 /* set both DAC's for unipolar 5V output range */ in das6402_reset()
|
H A D | adl_pci9118.c | 31 * (it isn't possible mixture S.E. and DIFF inputs or bipolar and unipolar 35 * a) You cann't use mixture of unipolar/bipoar ranges or differencial/single 103 #define PCI9118_AI_CTRL_UNIP BIT(7) /* 1=unipolar */ 312 "Bipolar and unipolar ranges can't be mixed!\n"); in pci9118_ai_check_chanlist() 341 * All entries are either unipolar or bipolar and single-ended in pci9118_set_chanlist()
|
H A D | pcl812.c | 102 * 1= unipolar inputs 107 * 1= 10V unipolar inputs 109 * 3= 20V unipolar inputs
|
H A D | amplc_pci230.c | 107 * bipolar (ranges 0 to 3) or all unipolar (ranges 4 to 6). The channel 230 #define PCI230_DAC_OR_UNI PCI230_DAC_OR(0) /* Output unipolar */ 309 #define PCI230_ADC_IR_UNI PCI230_ADC_IR(0) /* Input unipolar */ 832 * Set range - see analogue output range table; 0 => unipolar 10V, in pci230_ao_insn_write() 1315 * Set range - see analogue output range table; 0 => unipolar 10V, in pci230_ao_cmd() 1453 "%s: channel sequence ranges must be all bipolar or all unipolar\n", in pci230_ai_check_chanlist()
|
H A D | cb_pcidas.c | 101 #define PCIDAS_AI_UNIP BIT(11) /* Analog front-end unipolar mode */ 347 /* set unipolar/bipolar */ in cb_pcidas_ai_insn_read() 806 /* set unipolar/bipolar */ in cb_pcidas_ai_cmd()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7791.c | 263 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()
|
H A D | ad7192.c | 102 #define AD7192_CONF_UNIPOLAR BIT(3) /* Unipolar/Bipolar Enable */ 607 static unsigned int ad7192_get_temp_scale(bool unipolar) in ad7192_get_temp_scale() 609 return unipolar ? 2815 * 2 : 2815; 688 bool unipolar = !!(st->conf & AD7192_CONF_UNIPOLAR); in ad7192_read_raw() 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() 605 ad7192_get_temp_scale(bool unipolar) ad7192_get_temp_scale() argument 686 bool unipolar = !!(st->conf & AD7192_CONF_UNIPOLAR); ad7192_read_raw() local
|
H A D | ad7793.c | 82 #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()
|
/openbmc/linux/include/linux/comedi/ |
H A D | comedidev.h | 652 * %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.
|
/openbmc/linux/Documentation/hwmon/ |
H A D | max197.rst | 50 3 BIP Unipolar or Bipolar conversion mode
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | iqs62x.yaml | 56 * Dual capacitive buttons with proximity-activated function, unipolar lid
|
/openbmc/linux/drivers/iio/addac/ |
H A D | stx104.c | 238 /* get ADC bipolar/unipolar configuration */ in stx104_read_raw() 246 /* get ADC bipolar/unipolar and gain configuration */ in stx104_read_raw()
|
/openbmc/linux/drivers/hwmon/ |
H A D | max127.c | 99 * MAX127's data coding is binary in unipolar mode with 1 LSB = in max127_process_raw()
|