1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct regulator_state</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Voltage and current regulator API"><link rel="up" href="api.html" title="Chapter 5. API reference"><link rel="prev" href="API-struct-regulator-bulk-data.html" title="struct regulator_bulk_data"><link rel="next" href="API-struct-regulation-constraints.html" title="struct regulation_constraints"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct regulator_state</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-regulator-bulk-data.html">Prev</a> </td><th width="60%" align="center">Chapter 5. API reference</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-regulation-constraints.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-regulator-state"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct regulator_state — 2 regulator state during low power system states 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct regulator_state { 5 int uV; 6 unsigned int mode; 7 int enabled; 8 int disabled; 9}; </pre></div><div class="refsect1"><a name="idp1121892676"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">uV</span></dt><dd><p> 10Operating voltage during suspend. 11 </p></dd><dt><span class="term">mode</span></dt><dd><p> 12Operating mode during suspend. 13 </p></dd><dt><span class="term">enabled</span></dt><dd><p> 14Enabled during suspend. 15 </p></dd><dt><span class="term">disabled</span></dt><dd><p> 16Disabled during suspend. 17 </p></dd></dl></div></div><div class="refsect1"><a name="idp1121895996"></a><h2>Description</h2><p> 18 </p><p> 19 20 This describes a regulators state during a system wide low power 21 state. One of enabled or disabled must be set for the 22 configuration to be applied. 23</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-regulator-bulk-data.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="api.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-regulation-constraints.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct regulator_bulk_data</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct regulation_constraints</span></td></tr></table></div></body></html> 24