Lines Matching refs:vref
51 struct regulator *vref; member
254 regulator_disable(info->vref); in rockchip_saradc_regulator_disable()
314 regulator_unregister_notifier(info->vref, &info->nb); in rockchip_saradc_regulator_unreg_notifier()
393 info->vref = devm_regulator_get(&pdev->dev, "vref"); in rockchip_saradc_probe()
394 if (IS_ERR(info->vref)) in rockchip_saradc_probe()
395 return dev_err_probe(&pdev->dev, PTR_ERR(info->vref), in rockchip_saradc_probe()
411 ret = regulator_enable(info->vref); in rockchip_saradc_probe()
424 ret = regulator_get_voltage(info->vref); in rockchip_saradc_probe()
471 ret = regulator_register_notifier(info->vref, &info->nb); in rockchip_saradc_probe()
492 regulator_disable(info->vref); in rockchip_saradc_suspend()
503 ret = regulator_enable(info->vref); in rockchip_saradc_resume()