1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>mdiobus_alloc_size</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Networking and Network Devices APIs"><link rel="up" href="ch02s02.html" title="PHY Support"><link rel="prev" href="API-phy-probe.html" title="phy_probe"><link rel="next" href="API-devm-mdiobus-alloc-size.html" title="devm_mdiobus_alloc_size"></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">mdiobus_alloc_size</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-phy-probe.html">Prev</a> </td><th width="60%" align="center">PHY Support</th><td width="20%" align="right"> <a accesskey="n" href="API-devm-mdiobus-alloc-size.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-mdiobus-alloc-size"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>mdiobus_alloc_size — 2 allocate a mii_bus structure 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">struct mii_bus * <b class="fsfunc">mdiobus_alloc_size </b>(</code></td><td>size_t <var class="pdparam">size</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1099466156"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>size</code></em></span></dt><dd><p> 4 extra amount of memory to allocate for private storage. 5 If non-zero, then bus->priv is points to that memory. 6 </p></dd></dl></div></div><div class="refsect1"><a name="idp1099467924"></a><h2>Description</h2><p> 7 called by a bus driver to allocate an mii_bus 8 structure to fill in. 9</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-phy-probe.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-devm-mdiobus-alloc-size.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">phy_probe</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">devm_mdiobus_alloc_size</span></td></tr></table></div></body></html> 10