| /linux-6.15/Documentation/iio/ |
| H A D | iio_adc.rst | 33 pseudo-differential) and two possible polarities (unipolar, bipolar). The input 36 bipolar) aspect. A comprehensive article about ADC input types (on which this 44 can be either unipolar or bipolar. 111 For a **single-ended bipolar** channel, the analog voltage input can go from 117 true bipolar. Also, while there is a relevant difference between bipolar and 130 bipolar; 165 system GND, these are also called differential true bipolar inputs. 167 Device tree example of a differential bipolar channel:: 176 bipolar; 292 Device tree example for pseudo-differential bipolar channel:: [all …]
|
| H A D | ad4695.rst | 123 bipolar; 150 bipolar;
|
| /linux-6.15/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad4851.yaml | 93 Each channel can be configured as a bipolar differential channel. 97 Since the configuration is bipolar differential, the 'bipolar' 103 bipolar: true 145 bipolar;
|
| H A D | adi,ad7606.yaml | 177 Each channel can be configured as a bipolar differential channel. 181 Since the configuration is bipolar differential, the 'bipolar' 187 bipolar: 194 'unipolar single-ended'. So for the other configurations the 'bipolar' 196 considered a bipolar differential channel. Otherwise it is bipolar 201 - bipolar 381 bipolar; 386 bipolar; 392 bipolar;
|
| H A D | adi,ad4695.yaml | 140 below, bipolar from adc.yaml is also supported. 166 # bipolar mode can't be used with REFGND 173 bipolar: false 258 bipolar; 265 bipolar;
|
| H A D | xilinx-xadc.txt | 82 * xlnx,bipolar: If set the channel is used in bipolar 121 xlnx,bipolar; 138 xlnx,bipolar;
|
| H A D | xlnx,zynqmp-ams.yaml | 175 xlnx,bipolar: 179 If the set channel is used in bipolar mode. 224 xlnx,bipolar; 231 xlnx,bipolar;
|
| H A D | microchip,pac1934.yaml | 108 bipolar; 115 bipolar;
|
| H A D | adi,ad7173.yaml | 26 fully differential/single-ended and bipolar voltage inputs. 408 bipolar; 420 bipolar; 426 bipolar; 465 bipolar; 472 bipolar;
|
| H A D | adc.yaml | 27 bipolar: 29 description: If provided, the channel is to be used in bipolar mode.
|
| H A D | adi,max11410.yaml | 107 bipolar: true 165 bipolar;
|
| H A D | adi,ad7124.yaml | 102 bipolar: true 153 bipolar;
|
| H A D | adi,ad4130.yaml | 79 adi,bipolar: 80 description: Specify if the device should be used in bipolar mode.
|
| H A D | adi,ad7192.yaml | 105 bipolar:
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | ad7124.c | 166 bool bipolar; 351 bool bipolar; in ad7124_find_similar_live_cfg() 368 cfg->bipolar == cfg_aux->bipolar && in ad7124_find_similar_live_cfg() 442 val = AD7124_CONFIG_BIPOLAR(cfg->bipolar) | AD7124_CONFIG_REF_SEL(cfg->refsel) | in ad7124_write_config() 638 if (st->channels[chan->address].cfg.bipolar) in ad7124_read_raw() 668 if (st->channels[chan->address].cfg.bipolar) in ad7124_read_raw() 727 if (st->channels[chan->address].cfg.bipolar) in ad7124_write_raw() 1103 cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in ad7124_parse_channel_config() 1129 .bipolar = true, in ad7124_parse_channel_config()
|
| H A D | ad7606.c | 361 bool *bipolar, bool *differential) in ad7606_get_chan_config() argument 369 *bipolar = false; in ad7606_get_chan_config() 390 *bipolar = fwnode_property_read_bool(child, "bipolar"); in ad7606_get_chan_config() 403 if (*differential && !*bipolar) { in ad7606_get_chan_config() 421 bool bipolar, differential; in ad7606c_18bit_chan_scale_setup() local 431 ret = ad7606_get_chan_config(indio_dev, ch, &bipolar, &differential); in ad7606c_18bit_chan_scale_setup() 450 if (bipolar) { in ad7606c_18bit_chan_scale_setup() 478 bool bipolar, differential; in ad7606c_16bit_chan_scale_setup() local 488 ret = ad7606_get_chan_config(indio_dev, ch, &bipolar, &differential); in ad7606c_16bit_chan_scale_setup() 508 if (bipolar) { in ad7606c_16bit_chan_scale_setup()
|
| H A D | ad7173.c | 206 bool bipolar; 588 bool bipolar; in ad7173_find_live_config() 598 cfg->bipolar == cfg_aux->bipolar && in ad7173_find_live_config() 639 if (cfg->bipolar) in ad7173_load_config() 1130 *val2 = chan->scan_type.realbits - !!(ch->cfg.bipolar); in ad7173_read_raw() 1138 *val2 = chan->scan_type.realbits - ch->cfg.bipolar; in ad7173_read_raw() 1537 BIT(chan->scan_type.realbits - !!(chan_st_priv->cfg.bipolar)) in ad7173_calc_openwire_thrsh_raw() 1590 chan_st_priv->cfg.bipolar = false; in ad7173_fw_parse_channel_config() 1662 chan_st_priv->cfg.bipolar = fwnode_property_read_bool(child, "bipolar"); in ad7173_fw_parse_channel_config() 1663 if (chan_st_priv->cfg.bipolar) in ad7173_fw_parse_channel_config()
|
| H A D | max11410.c | 128 bool bipolar; member 371 FIELD_PREP(MAX11410_CTRL_UNIPOLAR_BIT, cfg.bipolar ? 0 : 1); in max11410_configure_channel() 447 if (cfg.bipolar) in max11410_get_scale() 467 if (cfg.bipolar) in max11410_read_raw() 771 cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in max11410_parse_channels()
|
| H A D | ad4695.c | 128 bool bipolar; member 616 val = FIELD_PREP(AD4695_REG_CONFIG_IN_MODE, cfg->bipolar ? 1 : 0); in ad4695_write_chn_cfg() 1560 chan_cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in ad4695_parse_channel_cfg() 1602 if (chan_cfg->bipolar && in ad4695_parse_channel_cfg() 1608 if (chan_cfg->bipolar) in ad4695_parse_channel_cfg() 1780 if (cfg->bipolar) { in ad4695_probe_spi_offload()
|
| H A D | ad4130.c | 296 bool bipolar; member 1140 *val = st->bipolar ? -BIT(chan->scan_type.realbits - 1) : 0; in ad4130_read_raw() 1729 st->bipolar = device_property_read_bool(dev, "adi,bipolar"); in ad4310_parse_fw() 1761 unsigned int pow = ad4130_resolution(st) - st->bipolar; in ad4130_fill_scale_tbls() 1902 val |= FIELD_PREP(AD4130_ADC_CONTROL_BIPOLAR_MASK, st->bipolar); in ad4130_setup()
|
| H A D | ad7192.c | 571 bool buf_en, bipolar, burnout_curr_en; in ad7192_setup() local 612 bipolar = device_property_read_bool(dev, "bipolar"); in ad7192_setup() 613 if (!bipolar) in ad7192_setup()
|
| /linux-6.15/Documentation/devicetree/bindings/mfd/ |
| H A D | iqs62x.yaml | 103 /* Single inductive button with bipolar dock/tablet-mode switch. */
|
| /linux-6.15/Documentation/devicetree/bindings/iio/addac/ |
| H A D | adi,ad74115.yaml | 178 adi,dac-bipolar: 368 adi,dac-bipolar;
|
| /linux-6.15/drivers/comedi/drivers/ |
| H A D | amplc_pci230.c | 1419 bool bipolar = comedi_range_is_bipolar(s, range); in pci230_ai_check_chanlist() local 1451 if (bipolar != prev_bipolar) { in pci230_ai_check_chanlist() 1469 prev_bipolar = bipolar; in pci230_ai_check_chanlist()
|