1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct regulator_linear_range</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-init-data.html" title="struct regulator_init_data"><link rel="next" href="API-struct-regulator-ops.html" title="struct regulator_ops"></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_linear_range</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-regulator-init-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-regulator-ops.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-regulator-linear-range"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct regulator_linear_range — 2 specify linear voltage ranges 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct regulator_linear_range { 5 unsigned int min_uV; 6 unsigned int min_sel; 7 unsigned int max_sel; 8 unsigned int uV_step; 9}; </pre></div><div class="refsect1"><a name="idp1124831572"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">min_uV</span></dt><dd><p> 10Lowest voltage in range 11 </p></dd><dt><span class="term">min_sel</span></dt><dd><p> 12Lowest selector for range 13 </p></dd><dt><span class="term">max_sel</span></dt><dd><p> 14Highest selector for range 15 </p></dd><dt><span class="term">uV_step</span></dt><dd><p> 16Step size 17 </p></dd></dl></div></div><div class="refsect1"><a name="idp1124834828"></a><h2>Description</h2><p> 18 </p><p> 19 20 Specify a range of voltages for <code class="function">regulator_map_linar_range</code> and 21 <code class="function">regulator_list_linear_range</code>. 22</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-init-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-regulator-ops.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct regulator_init_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 regulator_ops</span></td></tr></table></div></body></html> 23