Searched refs:bipolar (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/iio/adc/ |
H A D | ad7124.c | 150 bool bipolar; member in struct:ad7124_channel_config 398 val = AD7124_CONFIG_BIPOLAR(cfg->bipolar) | AD7124_CONFIG_REF_SEL(cfg->refsel) | 596 if (st->channels[chan->address].cfg.bipolar) 605 if (st->channels[chan->address].cfg.bipolar) 654 if (st->channels[chan->address].cfg.bipolar) 864 cfg->bipolar = of_property_read_bool(child, "bipolar");
|
H A D | max11410.c | 128 bool bipolar; member in struct:max11410_channel_config 371 FIELD_PREP(MAX11410_CTRL_UNIPOLAR_BIT, cfg.bipolar ? 0 : 1); 447 if (cfg.bipolar) 467 if (cfg.bipolar) 782 cfg->bipolar = fwnode_property_read_bool(child, "bipolar");
|
H A D | ad7192.c | 392 bool buf_en, bipolar, burnout_curr_en; local 433 bipolar = of_property_read_bool(np, "bipolar"); 434 if (!bipolar)
|
H A D | ad4130.c | 291 bool bipolar; member in struct:ad4130_state 1091 *val = st->bipolar ? -BIT(chan->scan_type.realbits - 1) : 0; 1683 st->bipolar = device_property_read_bool(dev, "adi,bipolar"); 1715 unsigned int pow = ad4130_resolution(st) - st->bipolar; 1856 val |= FIELD_PREP(AD4130_ADC_CONTROL_BIPOLAR_MASK, st->bipolar);
|
/linux-master/drivers/comedi/drivers/ |
H A D | amplc_pci230.c | 107 * bipolar (ranges 0 to 3) or all unipolar (ranges 4 to 6). The channel 231 #define PCI230_DAC_OR_BIP PCI230_DAC_OR(1) /* Output bipolar */ 310 #define PCI230_ADC_IR_BIP PCI230_ADC_IR(1) /* Input bipolar */ 492 unsigned int ai_bipolar:1; /* Flag AI range is bipolar */ 493 unsigned int ao_bipolar:1; /* Flag AO range is bipolar */ 543 * If a bipolar range was specified, mangle it 564 * If a bipolar range was specified, mangle it 833 * 1 => bipolar +/-10V range scale 1316 * 1 => bipolar +/-10V range scale 1419 bool bipolar local [all...] |
Completed in 256 milliseconds