Lines Matching full:vref
96 struct regulator *vref; member
250 ret = regulator_get_voltage(adc->vref); in imx8qxp_adc_read_raw()
343 adc->vref = devm_regulator_get(dev, "vref"); in imx8qxp_adc_probe()
344 if (IS_ERR(adc->vref)) in imx8qxp_adc_probe()
345 return dev_err_probe(dev, PTR_ERR(adc->vref), "Failed getting reference voltage\n"); in imx8qxp_adc_probe()
347 ret = regulator_enable(adc->vref); in imx8qxp_adc_probe()
402 regulator_disable(adc->vref); in imx8qxp_adc_probe()
421 regulator_disable(adc->vref); in imx8qxp_adc_remove()
436 regulator_disable(adc->vref); in imx8qxp_adc_runtime_suspend()
447 ret = regulator_enable(adc->vref); in imx8qxp_adc_runtime_resume()
473 regulator_disable(adc->vref); in imx8qxp_adc_runtime_resume()