Lines Matching refs:vref
175 struct regulator *vref; member
857 info->vref = devm_regulator_get(&pdev->dev, "vref"); in vf610_adc_probe()
858 if (IS_ERR(info->vref)) in vf610_adc_probe()
859 return PTR_ERR(info->vref); in vf610_adc_probe()
861 ret = regulator_enable(info->vref); in vf610_adc_probe()
865 info->vref_uv = regulator_get_voltage(info->vref); in vf610_adc_probe()
917 regulator_disable(info->vref); in vf610_adc_probe()
929 regulator_disable(info->vref); in vf610_adc_remove()
948 regulator_disable(info->vref); in vf610_adc_suspend()
959 ret = regulator_enable(info->vref); in vf610_adc_resume()
972 regulator_disable(info->vref); in vf610_adc_resume()