Lines Matching refs:vref
141 struct regulator *vref; member
644 info->vref = devm_regulator_get(&pdev->dev, "vref"); in vf610_adc_probe()
645 if (IS_ERR(info->vref)) in vf610_adc_probe()
646 return PTR_ERR(info->vref); in vf610_adc_probe()
648 ret = regulator_enable(info->vref); in vf610_adc_probe()
652 info->vref_uv = regulator_get_voltage(info->vref); in vf610_adc_probe()
688 regulator_disable(info->vref); in vf610_adc_probe()
699 regulator_disable(info->vref); in vf610_adc_remove()
718 regulator_disable(info->vref); in vf610_adc_suspend()
729 ret = regulator_enable(info->vref); in vf610_adc_resume()
742 regulator_disable(info->vref); in vf610_adc_resume()