<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: pci/pci.c File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('d1/de8/pci_8c.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">pci.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../d9/d97/pci_8h_source.html">pci/pci.h</a>></code><br /> <code>#include <<a class="el" href="../../dc/dac/io_8h_source.html">sys/io.h</a>></code><br /> <code>#include <<a class="el" href="../../da/d28/kprintf_8h_source.html">lib/kprintf.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for pci.c:</div> <div class="dyncontent"> <div class="center"><img src="../../d5/d83/pci_8c__incl.png" border="0" usemap="#pci_2pci_8c" alt=""/></div> <map name="pci_2pci_8c" id="pci_2pci_8c"> <area shape="rect" title=" " alt="" coords="99,5,169,32"/> <area shape="rect" href="../../d9/d97/pci_8h.html" title=" " alt="" coords="5,80,76,107"/> <area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="100,80,168,107"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="193,80,278,107"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="41,155,131,181"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="232,379,329,405"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="170,229,263,256"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="108,304,197,331"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="221,304,340,331"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="364,304,469,331"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="493,304,593,331"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="201,155,270,181"/> </map> </div> </div> <p><a href="../../d1/de8/pci_8c_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a5c450b9e2534226b162a16de0ef6b434"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/pci_8c.html#a5c450b9e2534226b162a16de0ef6b434">pci_init</a> ()</td></tr> <tr class="separator:a5c450b9e2534226b162a16de0ef6b434"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9a16d3ca1d4538415b752ab0c58e72ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/pci_8c.html#a9a16d3ca1d4538415b752ab0c58e72ba">pciProbe</a> (int bus, int dev, int func)</td></tr> <tr class="separator:a9a16d3ca1d4538415b752ab0c58e72ba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a09d5fac523ec602b928a2eeb2dc3eee6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/pci_8c.html#a09d5fac523ec602b928a2eeb2dc3eee6">pciRead</a> (int bus, int dev, int func, int reg, int bytes)</td></tr> <tr class="separator:a09d5fac523ec602b928a2eeb2dc3eee6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a562e38dfaaab5bd65c08f7ee9769235d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/pci_8c.html#a562e38dfaaab5bd65c08f7ee9769235d">pciWrite</a> (int bus, int dev, int func, int reg, <a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> v, int bytes)</td></tr> <tr class="separator:a562e38dfaaab5bd65c08f7ee9769235d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:a06d7d37b951914590189751cececa69f"><td class="memItemLeft" >struct {</td></tr> <tr class="memitem:a4ee8f525918851dea33eef2affb73ead"><td class="memItemLeft" >   <a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>   <a class="el" href="../../d1/de8/pci_8c.html#a293d57c5df3007d82a1bb7d2ae6bcd73">baseClass</a></td></tr> <tr class="separator:a4ee8f525918851dea33eef2affb73ead"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2ca86b334c5440bc5294acd340bf0cca"><td class="memItemLeft" >   <a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>   <a class="el" href="../../d1/de8/pci_8c.html#ac623cf08a42340d79da60f5c0890b03b">interface</a></td></tr> <tr class="separator:a2ca86b334c5440bc5294acd340bf0cca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad5e28d09e5149c67c988227b9a85461c"><td class="memItemLeft" >   <a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *   <a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a></td></tr> <tr class="separator:ad5e28d09e5149c67c988227b9a85461c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6fc6af3a6148d92ac0c350eb5d143e64"><td class="memItemLeft" >   <a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>   <a class="el" href="../../d1/de8/pci_8c.html#a8546d58b91ffd977d28677bb84a92e18">subClass</a></td></tr> <tr class="separator:a6fc6af3a6148d92ac0c350eb5d143e64"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a06d7d37b951914590189751cececa69f"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/de8/pci_8c.html#a06d7d37b951914590189751cececa69f">pciClasses</a> []</td></tr> <tr class="separator:a06d7d37b951914590189751cececa69f"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a5c450b9e2534226b162a16de0ef6b434"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5c450b9e2534226b162a16de0ef6b434">◆ </a></span>pci_init()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int pci_init </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00244">244</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d97/pci_8h_source.html#l00083">pciConfig::bus</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00044">pciConfig::classCode</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00098">countof</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00084">pciConfig::dev</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00085">pciConfig::func</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00065">pciConfig::intLine</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00066">pciConfig::intPin</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../d1/de8/pci_8c_source.html#l00037">name</a>, <a class="el" href="../../d1/de8/pci_8c.html#a06d7d37b951914590189751cececa69f">pciClasses</a>, <a class="el" href="../../d1/de8/pci_8c_source.html#l00139">pciProbe()</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00042">pciConfig::progIf</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00043">pciConfig::subClass</a>, and <a class="el" href="../../d9/d97/pci_8h_source.html#l00035">pciConfig::vendorID</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d1/de8/pci_8c_a5c450b9e2534226b162a16de0ef6b434_cgraph.png" border="0" usemap="#d1/de8/pci_8c_a5c450b9e2534226b162a16de0ef6b434_cgraph" alt=""/></div> <map name="d1/de8/pci_8c_a5c450b9e2534226b162a16de0ef6b434_cgraph" id="d1/de8/pci_8c_a5c450b9e2534226b162a16de0ef6b434_cgraph"> <area shape="rect" title=" " alt="" coords="5,221,68,248"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="244,107,301,133"/> <area shape="rect" href="../../d1/de8/pci_8c.html#a9a16d3ca1d4538415b752ab0c58e72ba" title=" " alt="" coords="116,284,189,311"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="380,56,435,83"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="376,107,439,133"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="374,5,441,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="511,196,592,223"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="507,304,596,331"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="519,56,583,83"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="517,132,586,159"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="644,231,719,257"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="767,205,858,232"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="767,256,859,283"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="247,385,298,412"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="518,408,585,435"/> <area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="238,284,307,311"/> <area shape="rect" href="../../d1/de8/pci_8c.html#a09d5fac523ec602b928a2eeb2dc3eee6" title=" " alt="" coords="238,233,307,260"/> <area shape="rect" href="../../d1/de8/pci_8c.html#a562e38dfaaab5bd65c08f7ee9769235d" title=" " alt="" coords="237,335,308,361"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8d6617406b264c7f9e143adab8406791" title="input one double word from specified port" alt="" coords="360,259,455,285"/> <area shape="rect" href="../../dc/dac/io_8h.html#afb703b187feb4b92444454df6c3dd9e6" title="input one word from specified port" alt="" coords="365,157,450,184"/> <area shape="rect" href="../../dc/dac/io_8h.html#a2e2ad8d744ae4b35ea37d39dcfea1296" title="outputut one double word to specified port" alt="" coords="356,309,459,336"/> <area shape="rect" href="../../dc/dac/io_8h.html#a243f6b6d22cc5948908b764d58efc2b0" title="outputut one word to specified port" alt="" coords="361,411,454,437"/> </map> </div> </div> </div> <a id="a9a16d3ca1d4538415b752ab0c58e72ba"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9a16d3ca1d4538415b752ab0c58e72ba">◆ </a></span>pciProbe()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> pciProbe </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>bus</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>dev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>func</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00139">139</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d97/pci_8h_source.html#l00051">pciConfig::bar</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00049">pciConfig::bist</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00083">pciConfig::bus</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00046">pciConfig::cacheLineSize</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00044">pciConfig::classCode</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00038">pciConfig::command</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00084">pciConfig::dev</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00036">pciConfig::deviceID</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00085">pciConfig::func</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00048">pciConfig::headerType</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00065">pciConfig::intLine</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00066">pciConfig::intPin</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00047">pciConfig::latencyTimer</a>, <a class="el" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23">memset()</a>, <a class="el" href="../../d1/de8/pci_8c_source.html#l00076">pciRead()</a>, <a class="el" href="../../d1/de8/pci_8c_source.html#l00108">pciWrite()</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00042">pciConfig::progIf</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00039">pciConfig::status</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00043">pciConfig::subClass</a>, and <a class="el" href="../../d9/d97/pci_8h_source.html#l00035">pciConfig::vendorID</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d1/de8/pci_8c_source.html#l00244">pci_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d1/de8/pci_8c_a9a16d3ca1d4538415b752ab0c58e72ba_cgraph.png" border="0" usemap="#d1/de8/pci_8c_a9a16d3ca1d4538415b752ab0c58e72ba_cgraph" alt=""/></div> <map name="d1/de8/pci_8c_a9a16d3ca1d4538415b752ab0c58e72ba_cgraph" id="d1/de8/pci_8c_a9a16d3ca1d4538415b752ab0c58e72ba_cgraph"> <area shape="rect" title=" " alt="" coords="5,183,79,209"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="137,5,187,32"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="407,56,474,83"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="133,157,191,184"/> <area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="127,208,197,235"/> <area shape="rect" href="../../d1/de8/pci_8c.html#a09d5fac523ec602b928a2eeb2dc3eee6" title=" " alt="" coords="127,309,197,336"/> <area shape="rect" href="../../d1/de8/pci_8c.html#a562e38dfaaab5bd65c08f7ee9769235d" title=" " alt="" coords="127,436,197,463"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="533,81,608,108"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="657,56,747,83"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="656,107,748,133"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="269,107,324,133"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="265,157,328,184"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="263,208,330,235"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="400,233,481,260"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="396,360,485,387"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="409,157,473,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="406,107,475,133"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8d6617406b264c7f9e143adab8406791" title="input one double word from specified port" alt="" coords="249,309,344,336"/> <area shape="rect" href="../../dc/dac/io_8h.html#afb703b187feb4b92444454df6c3dd9e6" title="input one word from specified port" alt="" coords="254,360,339,387"/> <area shape="rect" href="../../dc/dac/io_8h.html#a2e2ad8d744ae4b35ea37d39dcfea1296" title="outputut one double word to specified port" alt="" coords="245,411,348,437"/> <area shape="rect" href="../../dc/dac/io_8h.html#a243f6b6d22cc5948908b764d58efc2b0" title="outputut one word to specified port" alt="" coords="250,512,343,539"/> </map> </div> </div> </div> <a id="a09d5fac523ec602b928a2eeb2dc3eee6"></a> <h2 class="memtitle"><span class="permalink"><a href="#a09d5fac523ec602b928a2eeb2dc3eee6">◆ </a></span>pciRead()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> pciRead </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>bus</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>dev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>func</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>reg</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bytes</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00076">76</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d97/pci_8h_source.html#l00093">confadd::bus</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00092">confadd::dev</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00095">confadd::enable</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00091">confadd::func</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00038">inportByte()</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00133">inportDWord()</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00055">inportWord()</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00118">outportDWord()</a>, and <a class="el" href="../../d9/d97/pci_8h_source.html#l00090">confadd::reg</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d1/de8/pci_8c_source.html#l00139">pciProbe()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d1/de8/pci_8c_a09d5fac523ec602b928a2eeb2dc3eee6_cgraph.png" border="0" usemap="#d1/de8/pci_8c_a09d5fac523ec602b928a2eeb2dc3eee6_cgraph" alt=""/></div> <map name="d1/de8/pci_8c_a09d5fac523ec602b928a2eeb2dc3eee6_cgraph" id="d1/de8/pci_8c_a09d5fac523ec602b928a2eeb2dc3eee6_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,75,108"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="133,5,215,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8d6617406b264c7f9e143adab8406791" title="input one double word from specified port" alt="" coords="127,56,221,83"/> <area shape="rect" href="../../dc/dac/io_8h.html#afb703b187feb4b92444454df6c3dd9e6" title="input one word from specified port" alt="" coords="131,107,217,133"/> <area shape="rect" href="../../dc/dac/io_8h.html#a2e2ad8d744ae4b35ea37d39dcfea1296" title="outputut one double word to specified port" alt="" coords="123,157,225,184"/> </map> </div> </div> </div> <a id="a562e38dfaaab5bd65c08f7ee9769235d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a562e38dfaaab5bd65c08f7ee9769235d">◆ </a></span>pciWrite()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void pciWrite </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>bus</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>dev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>func</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>reg</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td> <td class="paramname"><em>v</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bytes</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00108">108</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d97/pci_8h_source.html#l00093">confadd::bus</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00092">confadd::dev</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00095">confadd::enable</a>, <a class="el" href="../../d9/d97/pci_8h_source.html#l00091">confadd::func</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00072">outportByte()</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00118">outportDWord()</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00103">outportWord()</a>, and <a class="el" href="../../d9/d97/pci_8h_source.html#l00090">confadd::reg</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d1/de8/pci_8c_source.html#l00139">pciProbe()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d1/de8/pci_8c_a562e38dfaaab5bd65c08f7ee9769235d_cgraph.png" border="0" usemap="#d1/de8/pci_8c_a562e38dfaaab5bd65c08f7ee9769235d_cgraph" alt=""/></div> <map name="d1/de8/pci_8c_a562e38dfaaab5bd65c08f7ee9769235d_cgraph" id="d1/de8/pci_8c_a562e38dfaaab5bd65c08f7ee9769235d_cgraph"> <area shape="rect" title=" " alt="" coords="5,56,76,83"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="131,5,220,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a2e2ad8d744ae4b35ea37d39dcfea1296" title="outputut one double word to specified port" alt="" coords="124,56,227,83"/> <area shape="rect" href="../../dc/dac/io_8h.html#a243f6b6d22cc5948908b764d58efc2b0" title="outputut one word to specified port" alt="" coords="129,107,222,133"/> </map> </div> </div> </div> <h2 class="groupheader">Variable Documentation</h2> <a id="a293d57c5df3007d82a1bb7d2ae6bcd73"></a> <h2 class="memtitle"><span class="permalink"><a href="#a293d57c5df3007d82a1bb7d2ae6bcd73">◆ </a></span>baseClass</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> baseClass</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00034">34</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> </div> </div> <a id="ac623cf08a42340d79da60f5c0890b03b"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac623cf08a42340d79da60f5c0890b03b">◆ </a></span>interface</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> interface</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00036">36</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> </div> </div> <a id="a8f8f80d37794cde9472343e4487ba3eb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8f8f80d37794cde9472343e4487ba3eb">◆ </a></span>name</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char* name</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00037">37</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d3/dfa/hd_8c_source.html#l00047">_initHardDisk()</a>, <a class="el" href="../../df/d8a/fat__format_8c_source.html#l00524">fatfs_format()</a>, <a class="el" href="../../d6/de3/namei_8c_source.html#l00068">lookup()</a>, <a class="el" href="../../df/d02/netif_8c_source.html#l00472">netif_find()</a>, <a class="el" href="../../d1/de8/pci_8c_source.html#l00244">pci_init()</a>, <a class="el" href="../../d0/d6d/message_8c_source.html#l00043">sysMpiPostMessage()</a>, and <a class="el" href="../../db/dff/dirCache_8c_source.html#l00193">ubixfs_cacheNew()</a>.</p> </div> </div> <a id="a06d7d37b951914590189751cececa69f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a06d7d37b951914590189751cececa69f">◆ </a></span>pciClasses</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const { ... } pciClasses[]</td> </tr> </table> </div><div class="memdoc"> <p class="reference">Referenced by <a class="el" href="../../d1/de8/pci_8c_source.html#l00244">pci_init()</a>.</p> </div> </div> <a id="a8546d58b91ffd977d28677bb84a92e18"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8546d58b91ffd977d28677bb84a92e18">◆ </a></span>subClass</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> subClass</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d1/de8/pci_8c_source.html#l00035">35</a> of file <a class="el" href="../../d1/de8/pci_8c_source.html">pci.c</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_ab7b8fdcdcf09b494f20e7e7a4ee1a95.html">pci</a></li><li class="navelem"><a class="el" href="../../d1/de8/pci_8c.html">pci.c</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>