Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 1a595394b241504ff370a8d12ebfcea7 > files > 1546

kernel-doc-3.11.10-100.fc18.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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/html; charset=ANSI_X3.4-1968" /><title>struct uio_mem</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Linux Device Drivers" /><link rel="up" href="ch02s07.html" title="Userspace IO devices" /><link rel="prev" href="API-uio-unregister-device.html" title="uio_unregister_device" /><link rel="next" href="API-struct-uio-port.html" title="struct uio_port" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct uio_mem</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-uio-unregister-device.html">Prev</a>&#160;</td><th width="60%" align="center">Userspace IO devices</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-uio-port.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="API-struct-uio-mem"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct uio_mem &#8212; 
  description of a UIO memory region
 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
struct uio_mem {
  const char * name;
  phys_addr_t addr;
  unsigned long size;
  int memtype;
  void __iomem * internal_addr;
  struct uio_map * map;
};  </pre></div><div class="refsect1"><a id="idm140404962457664"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">name</span></dt><dd><p>
name of the memory region for identification
      </p></dd><dt><span class="term">addr</span></dt><dd><p>
address of the device's memory (phys_addr is used since
addr can be logical, virtual, or physical &amp; phys_addr_t
should always be large enough to handle any of the
address types)
      </p></dd><dt><span class="term">size</span></dt><dd><p>
size of IO
      </p></dd><dt><span class="term">memtype</span></dt><dd><p>
type of memory addr points to
      </p></dd><dt><span class="term">internal_addr</span></dt><dd><p>
ioremap-ped version of addr, for driver internal use
      </p></dd><dt><span class="term">map</span></dt><dd><p>
for use by the UIO core only.
      </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-uio-unregister-device.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02s07.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-uio-port.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">uio_unregister_device</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct uio_port</span></td></tr></table></div></body></html>