Lines Matching refs:vref
73 struct regulator *vref; member
352 regulator_disable(info->vref); in rockchip_saradc_regulator_disable()
411 regulator_unregister_notifier(info->vref, &info->nb); in rockchip_saradc_regulator_unreg_notifier()
473 info->vref = devm_regulator_get(&pdev->dev, "vref"); in rockchip_saradc_probe()
474 if (IS_ERR(info->vref)) in rockchip_saradc_probe()
475 return dev_err_probe(&pdev->dev, PTR_ERR(info->vref), in rockchip_saradc_probe()
490 ret = regulator_enable(info->vref); in rockchip_saradc_probe()
501 ret = regulator_get_voltage(info->vref); in rockchip_saradc_probe()
532 ret = regulator_register_notifier(info->vref, &info->nb); in rockchip_saradc_probe()
554 regulator_disable(info->vref); in rockchip_saradc_suspend()
565 ret = regulator_enable(info->vref); in rockchip_saradc_resume()