Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > cf93d8a8acdcc6fe2225039da0502495 > files > 3422

kernel-doc-2.6.32-131.17.1.el6.centos.plus.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct regulation_constraints</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Voltage and current regulator API" /><link rel="up" href="ch05.html" title="Chapter&#160;5.&#160;API reference" /><link rel="prev" href="re02.html" title="struct regulator_state" /><link rel="next" href="re04.html" title="struct regulator_consumer_supply" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct regulation_constraints</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re02.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;5.&#160;API reference</th><td width="20%" align="right">&#160;<a accesskey="n" href="re04.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct regulation_constraints"><a id="API-struct-regulation-constraints"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct regulation_constraints &#8212; 
     regulator operating constraints.
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct regulation_constraints {
  char * name;
  int min_uV;
  int max_uV;
  int min_uA;
  int max_uA;
  unsigned int valid_modes_mask;
  unsigned int valid_ops_mask;
  int input_uV;
  struct regulator_state state_disk;
  struct regulator_state state_mem;
  struct regulator_state state_standby;
  suspend_state_t initial_state;
  unsigned int initial_mode;
  unsigned always_on:1;
  unsigned boot_on:1;
  unsigned apply_uV:1;
};  </pre></div><div class="refsect1" title="Members"><a id="id2863073"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">name</span></dt><dd><p>
   Descriptive name for the constraints, used for display purposes.
      </p></dd><dt><span class="term">min_uV</span></dt><dd><p>
   Smallest voltage consumers may set.
      </p></dd><dt><span class="term">max_uV</span></dt><dd><p>
   Largest voltage consumers may set.
      </p></dd><dt><span class="term">min_uA</span></dt><dd><p>
   Smallest consumers consumers may set.
      </p></dd><dt><span class="term">max_uA</span></dt><dd><p>
   Largest current consumers may set.
      </p></dd><dt><span class="term">valid_modes_mask</span></dt><dd><p>
   Mask of modes which may be configured by consumers.
      </p></dd><dt><span class="term">valid_ops_mask</span></dt><dd><p>
   Operations which may be performed by consumers.
      </p></dd><dt><span class="term">input_uV</span></dt><dd><p>
   Input voltage for regulator when supplied by another regulator.
      </p></dd><dt><span class="term">state_disk</span></dt><dd><p>
   State for regulator when system is suspended in disk mode.
      </p></dd><dt><span class="term">state_mem</span></dt><dd><p>
   State for regulator when system is suspended in mem mode.
      </p></dd><dt><span class="term">state_standby</span></dt><dd><p>
   State for regulator when system is suspended in standby
   mode.
      </p></dd><dt><span class="term">initial_state</span></dt><dd><p>
   Suspend state to set by default.
      </p></dd><dt><span class="term">initial_mode</span></dt><dd><p>
   Mode to set at startup.
      </p></dd><dt><span class="term">always_on</span></dt><dd><p>
   Set if the regulator should never be disabled.
      </p></dd><dt><span class="term">boot_on</span></dt><dd><p>
   Set if the regulator is enabled when the system is initially
   started.  If the regulator is not enabled by the hardware or
   bootloader then it will be enabled when the constraints are
   applied.
      </p></dd><dt><span class="term">apply_uV</span></dt><dd><p>
   Apply the voltage constraint when initialising.
      </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2911065"></a><h2>Description</h2><p>
   </p><p>

   This struct describes regulator and board/machine specific constraints.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re02.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct regulator_state</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>struct regulator_consumer_supply</span></td></tr></table></div></body></html>