Lines Matching refs:vdd
112 struct regulator *vdd; member
473 ret = regulator_enable(priv->vdd); in stm32_adc_core_switches_supply_en()
483 regulator_disable(priv->vdd); in stm32_adc_core_switches_supply_en()
521 regulator_disable(priv->vdd); in stm32_adc_core_switches_supply_dis()
630 priv->vdd = devm_regulator_get_optional(dev, "vdd"); in stm32_adc_core_switches_probe()
631 if (IS_ERR(priv->vdd)) { in stm32_adc_core_switches_probe()
632 ret = PTR_ERR(priv->vdd); in stm32_adc_core_switches_probe()
636 priv->vdd = NULL; in stm32_adc_core_switches_probe()
640 if (priv->vdd) { in stm32_adc_core_switches_probe()
641 ret = regulator_enable(priv->vdd); in stm32_adc_core_switches_probe()
647 ret = regulator_get_voltage(priv->vdd); in stm32_adc_core_switches_probe()
650 regulator_disable(priv->vdd); in stm32_adc_core_switches_probe()
655 regulator_disable(priv->vdd); in stm32_adc_core_switches_probe()