---
name: "regulator_is_enabled"
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_is_enabled"
---

# regulator\_is\_enabled(9)

is the regulator output enabled

## NAME

regulator\_is\_enabled - is the regulator output enabled

## SYNOPSIS

**int regulator\_is\_enabled(struct regulator \*** *regulator***);**

## ARGUMENTS

*regulator*

regulator source

## DESCRIPTION

Returns positive if the regulator driver backing the source/client has requested that the device be enabled, zero if it hasn't, else a negative errno code.

Note that the device backing this regulator handle can have multiple users, so it might be enabled even if **regulator\_enable** was never called for this particular source.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
