---
name: "regulator_list_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_list_voltage"
---

# regulator\_list\_voltage(9)

enumerate supported voltages

## NAME

regulator\_list\_voltage - enumerate supported voltages

## SYNOPSIS

**int regulator\_list\_voltage(struct regulator \*** *regulator***, unsigned** *selector***);**

## ARGUMENTS

*regulator*

regulator source

*selector*

identify voltage to list

## CONTEXT

can sleep

## DESCRIPTION

Returns a voltage that can be passed to *regulator\_set\_voltage*(), zero if this selector code can't be used on this system, or a negative errno.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
