Lines Matching refs:vref
68 struct regulator *vref[8];
186 unsigned int vref;
194 consumer = priv->vref[0];
196 consumer = priv->vref[chan->channel];
231 vref = regulator_get_voltage(consumer);
232 *val = vref / 1000;
327 struct regulator *vref;
399 vref = devm_regulator_get(dev, "vref");
401 if (IS_ERR(vref)) {
402 dev_dbg(dev, "Channel %i 'vref' supply not connected.\n",
404 ret = PTR_ERR(vref);
408 priv->vref[reg] = vref;
455 if (!priv->vref[i])
458 regulator_disable(priv->vref[i]);
470 if (!priv->vref[i])
473 ret = regulator_enable(priv->vref[i]);