Lines Matching refs:vref
55 struct regulator *vref; member
93 ret = regulator_get_voltage(info->vref); in rockchip_saradc_read_raw()
229 info->vref = devm_regulator_get(&pdev->dev, "vref"); in rockchip_saradc_probe()
230 if (IS_ERR(info->vref)) { in rockchip_saradc_probe()
232 PTR_ERR(info->vref)); in rockchip_saradc_probe()
233 return PTR_ERR(info->vref); in rockchip_saradc_probe()
246 ret = regulator_enable(info->vref); in rockchip_saradc_probe()
286 regulator_disable(info->vref); in rockchip_saradc_probe()
298 regulator_disable(info->vref); in rockchip_saradc_remove()
311 regulator_disable(info->vref); in rockchip_saradc_suspend()
322 ret = regulator_enable(info->vref); in rockchip_saradc_resume()