---
name: "regulator_get_voltage"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/regulator_get_voltage"
---

# regulator\_get\_voltage(9)

get regulator output voltage

## NAME

regulator\_get\_voltage - get regulator output voltage

## SYNOPSIS

**int regulator\_get\_voltage(struct regulator \*** *regulator***);**

## ARGUMENTS

*regulator*

regulator source

## DESCRIPTION

This returns the current regulator voltage in uV.

## NOTE

If the regulator is disabled it will return the voltage value. This function should not be used to determine regulator state.

## AUTHORS

**Liam Girdwood** \<lrg@slimlogic.co.uk\>

Author.

**Mark Brown** \<broonie@opensource.wolfsonmicro.com\>\
 Wolfson Microelectronics,

Author.

## COPYRIGHT
