Lines Matching full:vref
23 * @vref: regulator reference
28 struct regulator *vref; member
58 ret = regulator_enable(priv->vref); in stm32_dac_core_hw_start()
60 dev_err(dev, "vref enable failed: %d\n", ret); in stm32_dac_core_hw_start()
73 regulator_disable(priv->vref); in stm32_dac_core_hw_start()
84 regulator_disable(priv->vref); in stm32_dac_core_hw_stop()
127 priv->vref = devm_regulator_get(dev, "vref"); in stm32_dac_probe()
128 if (IS_ERR(priv->vref)) { in stm32_dac_probe()
129 ret = PTR_ERR(priv->vref); in stm32_dac_probe()
130 dev_err(dev, "vref get failed, %d\n", ret); in stm32_dac_probe()
142 ret = regulator_get_voltage(priv->vref); in stm32_dac_probe()
144 dev_err(dev, "vref get voltage failed, %d\n", ret); in stm32_dac_probe()
148 dev_dbg(dev, "vref+=%dmV\n", priv->common.vref_mv); in stm32_dac_probe()