Lines Matching refs:vref
34 struct regulator *vref;
174 if (!IS_ERR(info->vref)) {
175 vref_uv = regulator_get_voltage(info->vref);
260 info->vref = devm_regulator_get_optional(&pdev->dev, "vref");
261 if (!IS_ERR(info->vref)) {
262 ret = regulator_enable(info->vref);
275 if (PTR_ERR(info->vref) != -ENODEV) {
276 ret = PTR_ERR(info->vref);
315 if (!IS_ERR(info->vref))
316 regulator_disable(info->vref);
333 if (!IS_ERR(info->vref))
334 regulator_disable(info->vref);