Lines Matching refs:refsel
139 enum ad7124_ref_sel refsel;
552 unsigned int refsel = st->channel_config[channel_number].refsel;
554 switch (refsel) {
558 if (IS_ERR(st->vref[refsel])) {
561 ad7124_ref_names[refsel]);
562 return PTR_ERR(st->vref[refsel]);
565 regulator_get_voltage(st->vref[refsel]);
576 dev_err(&st->sd.spi->dev, "Invalid reference %d\n", refsel);
637 st->channel_config[channel].refsel = AD7124_INT_REF;
639 st->channel_config[channel].refsel = tmp;
700 AD7124_CONFIG_REF_SEL(st->channel_config[i].refsel) |