Lines Matching full:vref
41 struct regulator *vref[4]; member
181 if (priv->vref[refp]) in mx25_gcq_ext_regulator_setup()
184 ret = snprintf(reg_name, sizeof(reg_name), "vref-%s", in mx25_gcq_ext_regulator_setup()
189 priv->vref[refp] = devm_regulator_get_optional(dev, reg_name); in mx25_gcq_ext_regulator_setup()
190 if (IS_ERR(priv->vref[refp])) in mx25_gcq_ext_regulator_setup()
191 return dev_err_probe(dev, PTR_ERR(priv->vref[refp]), in mx25_gcq_ext_regulator_setup()
251 regulator_get_voltage(priv->vref[refp]); in mx25_gcq_setup_cfgs()
332 if (!priv->vref[i]) in mx25_gcq_probe()
335 ret = regulator_enable(priv->vref[i]); in mx25_gcq_probe()
381 if (priv->vref[i]) in mx25_gcq_probe()
382 regulator_disable(priv->vref[i]); in mx25_gcq_probe()
397 if (priv->vref[i]) in mx25_gcq_remove()
398 regulator_disable(priv->vref[i]); in mx25_gcq_remove()