Home
last modified time | relevance | path

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

12

/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()
Drti802.c21 * [3,5,7,9,11,13,15,17] - dac#[0-7] 0=bipolar, 1=unipolar
Ddac02.c84 * Unipolar outputs are true binary encoding. in dac02_ao_insn_write()
Dadv_pci1720.c32 * unipolar 5V range must be used. The voltage output and sink output for
Damplc_pci224.c279 RANGE_ext(0, 1), /* unipolar [0,+Vext] */
405 * - unipolar: 16-bit unsigned in pci224_ao_set_data()
928 /* Channels will be all bipolar or all unipolar. */ in pci224_ao_munge()
931 /* Unipolar */ in pci224_ao_munge()
Ddmm32at.c103 #define DMM32AT_AI_CFG_ADBU BIT(2) /* 0=bipolar 1=unipolar */
516 /* set the range at 10v unipolar */ in dmm32at_reset()
Ddas6402.c528 /* default ADC to single-ended unipolar 10V inputs */ in das6402_reset()
538 /* set both DAC's for unipolar 5V output range */ in das6402_reset()
Dadl_pci9118.c31 * (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
104 #define PCI9118_AI_CTRL_UNIP BIT(7) /* 1=unipolar */
313 "Bipolar and unipolar ranges can't be mixed!\n"); in pci9118_ai_check_chanlist()
342 * All entries are either unipolar or bipolar and single-ended in pci9118_set_chanlist()
Dpcl812.c102 * 1= unipolar inputs
107 * 1= 10V unipolar inputs
109 * 3= 20V unipolar inputs
Damplc_pci230.c107 * bipolar (ranges 0 to 3) or all unipolar (ranges 4 to 6). The channel
232 #define PCI230_DAC_OR_UNI PCI230_DAC_OR(0) /* Output unipolar */
311 #define PCI230_ADC_IR_UNI PCI230_ADC_IR(0) /* Input unipolar */
834 * Set range - see analogue output range table; 0 => unipolar 10V, in pci230_ao_insn_write()
1317 * Set range - see analogue output range table; 0 => unipolar 10V, in pci230_ao_cmd()
1455 "%s: channel sequence ranges must be all bipolar or all unipolar\n", in pci230_ai_check_chanlist()
Dcb_pcidas.c102 #define PCIDAS_AI_UNIP BIT(11) /* Analog front-end unipolar mode */
348 /* set unipolar/bipolar */ in cb_pcidas_ai_insn_read()
807 /* set unipolar/bipolar */ in cb_pcidas_ai_cmd()
Dcb_pcidda.c51 #define CB_DDA_DA_CTRL_UNIP BIT(8) /* Unipolar range */
/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.c103 /* get ADC bipolar/unipolar configuration */ in stx104_read_raw()
110 /* 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-5.10/Documentation/hwmon/
Dmax197.rst50 3 BIP Unipolar or Bipolar conversion mode
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml56 * Dual capacitive buttons with proximity-activated function, unipolar lid

12