Lines Matching refs:vref
68 struct regulator *vref[8];
181 unsigned int vref;
189 consumer = priv->vref[0];
191 consumer = priv->vref[chan->channel];
226 vref = regulator_get_voltage(consumer);
227 *val = vref / 1000;
322 struct regulator *vref;
394 vref = devm_regulator_get(dev, "vref");
396 if (IS_ERR(vref)) {
397 dev_dbg(dev, "Channel %i 'vref' supply not connected.\n",
399 ret = PTR_ERR(vref);
403 priv->vref[reg] = vref;
450 if (!priv->vref[i])
453 regulator_disable(priv->vref[i]);
465 if (!priv->vref[i])
468 ret = regulator_enable(priv->vref[i]);