Searched refs:bipolar (Results 1 – 5 of 5) sorted by relevance
/drivers/iio/adc/ |
D | ad7124.c | 150 bool bipolar; member 398 val = AD7124_CONFIG_BIPOLAR(cfg->bipolar) | AD7124_CONFIG_REF_SEL(cfg->refsel) | in ad7124_write_config() 596 if (st->channels[chan->address].cfg.bipolar) in ad7124_read_raw() 605 if (st->channels[chan->address].cfg.bipolar) in ad7124_read_raw() 654 if (st->channels[chan->address].cfg.bipolar) in ad7124_write_raw() 864 cfg->bipolar = of_property_read_bool(child, "bipolar"); in ad7124_of_parse_channel_config()
|
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() 782 cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in max11410_parse_channels()
|
D | ad7192.c | 388 bool buf_en, bipolar, burnout_curr_en; in ad7192_setup() local 430 bipolar = of_property_read_bool(np, "bipolar"); in ad7192_setup() 431 if (!bipolar) in ad7192_setup()
|
D | ad4130.c | 291 bool bipolar; member 1103 *val = st->bipolar ? -BIT(chan->scan_type.realbits - 1) : 0; in ad4130_read_raw() 1710 st->bipolar = device_property_read_bool(dev, "adi,bipolar"); in ad4310_parse_fw() 1742 unsigned int pow = ad4130_resolution(st) - st->bipolar; in ad4130_fill_scale_tbls() 1892 val |= FIELD_PREP(AD4130_ADC_CONTROL_BIPOLAR_MASK, st->bipolar); in ad4130_setup()
|
/drivers/comedi/drivers/ |
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()
|