Home
last modified time | relevance | path

Searched full:bipolar (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v5.15/Documentation/devicetree/bindings/iio/adc/
Dxilinx-xadc.txt82 * xlnx,bipolar: If set the channel is used in bipolar
121 xlnx,bipolar;
138 xlnx,bipolar;
Dadc.yaml28 bipolar:
30 description: If provided, the channel is to be used in bipolar mode.
Dadi,ad7124.yaml93 bipolar: true
139 bipolar;
Dadi,ad7192.yaml82 bipolar:
/Linux-v5.15/drivers/comedi/drivers/
Ddt2815.c22 * [2] - Voltage unipolar/bipolar configuration
24 * 1 == bipolar 5V (-5V -- +5V)
119 * options[2] Voltage unipolar/bipolar configuration
121 * 1 == bipolar 5V (-5V -- +5V)
Dni_daq_700.c31 * 0 for -10 to 10V bipolar
32 * 1 for -5 to 5V bipolar
33 * 2 for -2.5 to 2.5V bipolar
176 /* Bipolar Offset Binary: 0 to 4095 for -10 to +10 */ in daq700_ai_rinsn()
Ddas1800.c66 * Unipolar and bipolar ranges cannot be mixed in the channel/gain list.
147 BIP_RANGE(5), /* bipolar gain = 1 */
148 BIP_RANGE(1), /* bipolar gain = 10 */
149 BIP_RANGE(0.1), /* bipolar gain = 50 */
150 BIP_RANGE(0.02), /* bipolar gain = 250 */
160 BIP_RANGE(10), /* bipolar gain = 1 */
161 BIP_RANGE(5), /* bipolar gain = 2 */
162 BIP_RANGE(2.5), /* bipolar gain = 4 */
163 BIP_RANGE(1.25), /* bipolar 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
34 * bipolar 0 2-3 (factory default)
Damplc_pci224.c135 /* (r/w) Polarity (PCI224 only, PCI234 always bipolar!). */
278 RANGE_ext(-1, 1), /* bipolar [-Vext,+Vext] */
317 RANGE_ext(-2, 2), /* bipolar [-2*Vext,+2*Vext] */
319 RANGE_ext(-1, 1), /* bipolar [-Vext,+Vext] */
404 * - bipolar: 16-bit 2's complement in pci224_ao_set_data()
928 /* Channels will be all bipolar or all unipolar. */ in pci224_ao_munge()
934 /* Bipolar */ in pci224_ao_munge()
Damplc_pci230.c107 * bipolar (ranges 0 to 3) or all unipolar (ranges 4 to 6). The channel
233 #define PCI230_DAC_OR_BIP PCI230_DAC_OR(1) /* Output bipolar */
312 #define PCI230_ADC_IR_BIP PCI230_ADC_IR(1) /* Input bipolar */
494 unsigned int ai_bipolar:1; /* Flag AI range is bipolar */
495 unsigned int ao_bipolar:1; /* Flag AO range is bipolar */
545 * If a bipolar range was specified, mangle it in pci230_ai_read()
566 * If a bipolar range was specified, mangle it in pci230_ao_mangle_datum()
835 * 1 => bipolar +/-10V range scale in pci230_ao_insn_write()
1318 * 1 => bipolar +/-10V range scale in pci230_ao_cmd()
1421 bool bipolar = comedi_range_is_bipolar(s, range); in pci230_ai_check_chanlist() local
[all …]
Daddi_apci_3501.c119 * 14-bit bipolar: 0-10V in apci3501_ao_insn_write()
283 /* Default all analog outputs to 0V (bipolar) */ in apci3501_reset()
Dicp_multi.c45 #define ICP_MULTI_ADC_CSR_BI BIT(4) /* Bipolar input range */
54 #define ICP_MULTI_DAC_CSR_BI BIT(4) /* Bipolar output range */
Drti802.c21 * [3,5,7,9,11,13,15,17] - dac#[0-7] 0=bipolar, 1=unipolar
Ddac02.c85 * Bipolar outputs are complementary offset binary in dac02_ao_insn_write()
Daio_aio12_8.c145 /* munge bipolar 2's complement data to offset binary */ in aio_aio12_8_ai_read()
Drtd520.c425 /* Note: we also setup the channel list bipolar flag array */ in rtd_convert_chan_gain()
564 /* convert bipolar data to comedi unsigned data */ in rtd_ai_rinsn()
595 /* convert bipolar data to comedi unsigned data */ in ai_read_n()
1025 /* bipolar uses 2's complement values with an extended sign */ in rtd_ao_insn_write()
/Linux-v5.15/drivers/iio/adc/
Dad7124.c148 bool bipolar; member
397 val = AD7124_CONFIG_BIPOLAR(cfg->bipolar) | AD7124_CONFIG_REF_SEL(cfg->refsel) | in ad7124_write_config()
551 if (st->channels[chan->address].cfg.bipolar) in ad7124_read_raw()
560 if (st->channels[chan->address].cfg.bipolar) in ad7124_read_raw()
609 if (st->channels[chan->address].cfg.bipolar) in ad7124_write_raw()
790 cfg->bipolar = of_property_read_bool(child, "bipolar"); in ad7124_of_parse_channel_config()
Dad7192.c99 #define AD7192_CONF_UNIPOLAR BIT(3) /* Unipolar/Bipolar Enable */
347 bool buf_en, bipolar, burnout_curr_en; in ad7192_setup() local
389 bipolar = of_property_read_bool(np, "bipolar"); in ad7192_setup()
390 if (!bipolar) in ad7192_setup()
Dstx104.c103 /* get ADC bipolar/unipolar configuration */ in stx104_read_raw()
110 /* get ADC bipolar/unipolar and gain configuration */ in stx104_read_raw()
/Linux-v5.15/include/linux/platform_data/
Dad7791.h10 * bipolar mode.
Dad7793.h92 * bipolar mode.
/Linux-v5.15/drivers/comedi/
Dcomedidev.h641 * comedi_range_is_bipolar() - Test if subdevice range is bipolar
645 * Tests whether a range is bipolar by checking whether its minimum value
652 * %true if the range is bipolar.
674 * %false if the range is bipolar.
704 * comedi_chan_range_is_bipolar() - Test if channel-specific range is bipolar
709 * Tests whether a range is bipolar by checking whether its minimum value
716 * %true if the range is bipolar.
740 * %false if the range is bipolar.
762 * %true if the range is bipolar.
/Linux-v5.15/Documentation/hwmon/
Dmax197.rst50 3 BIP Unipolar or Bipolar conversion mode
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml103 /* Single inductive button with bipolar dock/tablet-mode switch. */

123