<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>UbixOS V2: device_t Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="classes.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul></div> <h1>device_t Struct Reference</h1><!-- doxytag: class="device_t" --><code>#include <<a class="el" href="ubixfsv2_2device_8h-source.html">device.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#39cbbf79bddb63ef5d02d8694f636965">info</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#665edd8141f55340e3c687ae0902e342">init</a> )(<a class="el" href="structdevice__t.html">device_t</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#e45ce7925f01ccb40f473dfe3e34de37">ioctl</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#d03b23eb98c9f6f3befb7e3cdb015738">major</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#9d3cb5a5fdcf892fe1a9683142174f7f">read</a> )(<a class="el" href="structdevice__t.html">device_t</a> *, void *, <a class="el" href="include_2ubixos_2types_8h.html#fa178be408981cc5edd64227b6332fc6">off_t</a>, <a class="el" href="include_2ubixos_2types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a>)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#93774f38e97c7c4549f197aa4cf1bd67">reset</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ubixfsv2_2types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#2f31531436aa42b8c47bd26d38f5247d">sectors</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#6408ad39168943b716db4be50fdaac07">standby</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#bcb4c8c9de98446599c10d8549f7fd93">start</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#d963baa17236fe4a29b1fbcbaf348022">stop</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__t.html#3bbbd39c26ac540dbbb934faffe752fb">write</a> )(<a class="el" href="structdevice__t.html">device_t</a> *, void *, <a class="el" href="include_2ubixos_2types_8h.html#fa178be408981cc5edd64227b6332fc6">off_t</a>, <a class="el" href="include_2ubixos_2types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a>)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <p> Definition at line <a class="el" href="ubixfsv2_2device_8h-source.html#l00050">50</a> of file <a class="el" href="ubixfsv2_2device_8h-source.html">device.h</a>.<hr><h2>Field Documentation</h2> <a class="anchor" name="39cbbf79bddb63ef5d02d8694f636965"></a><!-- doxytag: member="device_t::info" ref="39cbbf79bddb63ef5d02d8694f636965" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* <a class="el" href="structdevice__t.html#39cbbf79bddb63ef5d02d8694f636965">device_t::info</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfsv2_2device_8h-source.html#l00052">52</a> of file <a class="el" href="ubixfsv2_2device_8h-source.html">device.h</a>. </div> </div><p> <a class="anchor" name="665edd8141f55340e3c687ae0902e342"></a><!-- doxytag: member="device_t::init" ref="665edd8141f55340e3c687ae0902e342" args=")(device_t *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int(* <a class="el" href="structdevice__t.html#665edd8141f55340e3c687ae0902e342">device_t::init</a>)(<a class="el" href="structdevice__t.html">device_t</a> *) </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e45ce7925f01ccb40f473dfe3e34de37"></a><!-- doxytag: member="device_t::ioctl" ref="e45ce7925f01ccb40f473dfe3e34de37" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__t.html#e45ce7925f01ccb40f473dfe3e34de37">device_t::ioctl</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d03b23eb98c9f6f3befb7e3cdb015738"></a><!-- doxytag: member="device_t::major" ref="d03b23eb98c9f6f3befb7e3cdb015738" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structdevice__t.html#d03b23eb98c9f6f3befb7e3cdb015738">device_t::major</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfsv2_2device_8h-source.html#l00051">51</a> of file <a class="el" href="ubixfsv2_2device_8h-source.html">device.h</a>. <p> Referenced by <a class="el" href="ramdrive_8cpp-source.html#l00066">dev_ramDrive()</a>. </div> </div><p> <a class="anchor" name="9d3cb5a5fdcf892fe1a9683142174f7f"></a><!-- doxytag: member="device_t::read" ref="9d3cb5a5fdcf892fe1a9683142174f7f" args=")(device_t *, void *, off_t, size_t)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int(* <a class="el" href="structdevice__t.html#9d3cb5a5fdcf892fe1a9683142174f7f">device_t::read</a>)(<a class="el" href="structdevice__t.html">device_t</a> *, void *, <a class="el" href="include_2ubixos_2types_8h.html#fa178be408981cc5edd64227b6332fc6">off_t</a>, <a class="el" href="include_2ubixos_2types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a>) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="ramdrive_8cpp-source.html#l00066">dev_ramDrive()</a>. </div> </div><p> <a class="anchor" name="93774f38e97c7c4549f197aa4cf1bd67"></a><!-- doxytag: member="device_t::reset" ref="93774f38e97c7c4549f197aa4cf1bd67" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int(* <a class="el" href="structdevice__t.html#93774f38e97c7c4549f197aa4cf1bd67">device_t::reset</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="2f31531436aa42b8c47bd26d38f5247d"></a><!-- doxytag: member="device_t::sectors" ref="2f31531436aa42b8c47bd26d38f5247d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ubixfsv2_2types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> <a class="el" href="structdevice__t.html#2f31531436aa42b8c47bd26d38f5247d">device_t::sectors</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="ubixfsv2_2device_8h-source.html#l00053">53</a> of file <a class="el" href="ubixfsv2_2device_8h-source.html">device.h</a>. <p> Referenced by <a class="el" href="ramdrive_8cpp-source.html#l00066">dev_ramDrive()</a>. </div> </div><p> <a class="anchor" name="6408ad39168943b716db4be50fdaac07"></a><!-- doxytag: member="device_t::standby" ref="6408ad39168943b716db4be50fdaac07" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__t.html#6408ad39168943b716db4be50fdaac07">device_t::standby</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="bcb4c8c9de98446599c10d8549f7fd93"></a><!-- doxytag: member="device_t::start" ref="bcb4c8c9de98446599c10d8549f7fd93" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__t.html#bcb4c8c9de98446599c10d8549f7fd93">device_t::start</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d963baa17236fe4a29b1fbcbaf348022"></a><!-- doxytag: member="device_t::stop" ref="d963baa17236fe4a29b1fbcbaf348022" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__t.html#d963baa17236fe4a29b1fbcbaf348022">device_t::stop</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3bbbd39c26ac540dbbb934faffe752fb"></a><!-- doxytag: member="device_t::write" ref="3bbbd39c26ac540dbbb934faffe752fb" args=")(device_t *, void *, off_t, size_t)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int(* <a class="el" href="structdevice__t.html#3bbbd39c26ac540dbbb934faffe752fb">device_t::write</a>)(<a class="el" href="structdevice__t.html">device_t</a> *, void *, <a class="el" href="include_2ubixos_2types_8h.html#fa178be408981cc5edd64227b6332fc6">off_t</a>, <a class="el" href="include_2ubixos_2types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a>) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="ramdrive_8cpp-source.html#l00066">dev_ramDrive()</a>. </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>src/sys/ubixfsv2/<a class="el" href="ubixfsv2_2device_8h-source.html">device.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>