Lines Matching full:vdda
95 * @vdda: vdda analog supply reference
98 * @vdda_uv: vdda supply voltage (microvolts)
113 struct regulator *vdda; member
462 * supply is below 2.7V (vdda by default): in stm32_adc_core_switches_supply_en()
468 * - vdda < 2.7V but vdd > 2.7V: ANASWVDD = 1, EN_BOOSTER = 0 (stm32mp1) in stm32_adc_core_switches_supply_en()
469 * - vdda < 2.7V and vdd < 2.7V: ANASWVDD = 0, EN_BOOSTER = 1 in stm32_adc_core_switches_supply_en()
470 * - vdda >= 2.7V: ANASWVDD = 0, EN_BOOSTER = 0 (default) in stm32_adc_core_switches_supply_en()
509 /* Fallback using vdda (default), nothing to do */ in stm32_adc_core_switches_supply_en()
510 dev_dbg(dev, "analog switches supplied by vdda (%d uV)\n", in stm32_adc_core_switches_supply_en()
536 ret = regulator_enable(priv->vdda); in stm32_adc_core_hw_start()
538 dev_err(dev, "vdda enable failed %d\n", ret); in stm32_adc_core_hw_start()
542 ret = regulator_get_voltage(priv->vdda); in stm32_adc_core_hw_start()
544 dev_err(dev, "vdda get voltage failed, %d\n", ret); in stm32_adc_core_hw_start()
582 regulator_disable(priv->vdda); in stm32_adc_core_hw_start()
598 regulator_disable(priv->vdda); in stm32_adc_core_hw_stop()
733 priv->vdda = devm_regulator_get(&pdev->dev, "vdda"); in stm32_adc_probe()
734 if (IS_ERR(priv->vdda)) in stm32_adc_probe()
735 return dev_err_probe(&pdev->dev, PTR_ERR(priv->vdda), in stm32_adc_probe()
736 "vdda get failed\n"); in stm32_adc_probe()