1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct uio_port</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-struct-uio-mem.html" title="struct uio_mem"><link rel="next" href="API-struct-uio-info.html" title="struct uio_info"></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">struct uio_port</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-uio-mem.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-info.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-uio-port"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct uio_port &#8212; 
2     description of a UIO port region
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct uio_port {
5  const char * name;
6  unsigned long start;
7  unsigned long size;
8  int porttype;
9  struct uio_portio * portio;
10};  </pre></div><div class="refsect1"><a name="idp1110863636"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">name</span></dt><dd><p>
11   name of the port region for identification
12      </p></dd><dt><span class="term">start</span></dt><dd><p>
13   start of port region
14      </p></dd><dt><span class="term">size</span></dt><dd><p>
15   size of port region
16      </p></dd><dt><span class="term">porttype</span></dt><dd><p>
17   type of port (see UIO_PORT_* below)
18      </p></dd><dt><span class="term">portio</span></dt><dd><p>
19   for use by the UIO core only.
20      </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-struct-uio-mem.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-info.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct uio_mem</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_info</span></td></tr></table></div></body></html>
21