diff options
Diffstat (limited to 'static/freebsd/man9/device_get_softc.9 4.html')
| -rw-r--r-- | static/freebsd/man9/device_get_softc.9 4.html | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/static/freebsd/man9/device_get_softc.9 4.html b/static/freebsd/man9/device_get_softc.9 4.html deleted file mode 100644 index 6fb8a6d9..00000000 --- a/static/freebsd/man9/device_get_softc.9 4.html +++ /dev/null @@ -1,62 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">DEVICE_GET_SOFTC(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">DEVICE_GET_SOFTC(9)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">device_get_softc</code> — - <span class="Nd">access driver private instance variables</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="In">#include - <<a class="In">sys/param.h</a>></code> - <br/> - <code class="In">#include <<a class="In">sys/bus.h</a>></code></p> -<p class="Pp"><var class="Ft">void *</var> - <br/> - <code class="Fn">device_get_softc</code>(<var class="Fa" style="white-space: nowrap;">device_t - dev</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">Return the driver-specific software context of - <var class="Fa">dev</var>. The softc is automatically allocated and zeroed - when the device is attached. The softc is also initialized and present when - a device is probed, but is subject to caveats as described in - <a class="Xr">DEVICE_PROBE(9)</a>. The size of the allocation is determined - by the device's <var class="Vt">driver_t</var> information used to define - the driver. The softc typically encapsulates the state of this instance of - the device.</p> -<p class="Pp">Driver writers are discouraged from using their own softc - management mechanisms. Driver writers should not copy such mechanisms found - in drivers in the tree that predate this function.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN - VALUES</a></h1> -<p class="Pp">The pointer to the driver-specific instance variable is - returned.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">device(9)</a>, <a class="Xr">DEVICE_PROBE(9)</a>, - <a class="Xr">device_set_softc(9)</a>, <a class="Xr">driver(9)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> -<p class="Pp">This manual page was written by <span class="An">Doug - Rabson</span>.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">January 21, 2015</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
