<?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 rio_dev</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="RapidIO Subsystem Guide" /><link rel="up" href="ch04.html#Structures" title="Structures" /><link rel="prev" href="ch04.html" title="Chapter 4. Internals" /><link rel="next" href="re39.html" title="struct rio_msg" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct rio_dev</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04.html">Prev</a> </td><th width="60%" align="center">Structures</th><td width="20%" align="right"> <a accesskey="n" href="re39.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct rio_dev"><a id="API-struct-rio-dev"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct rio_dev — RIO device info </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting"> struct rio_dev { struct list_head global_list; struct list_head net_list; struct rio_net * net; u16 did; u16 vid; u32 device_rev; u16 asm_did; u16 asm_vid; u16 asm_rev; u16 efptr; u32 pef; u32 swpinfo; u32 src_ops; u32 dst_ops; u64 dma_mask; struct rio_switch * rswitch; struct rio_driver * driver; struct device dev; struct resource riores[RIO_MAX_DEV_RESOURCES]; u16 destid; }; </pre></div><div class="refsect1" title="Members"><a id="id2851524"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">global_list</span></dt><dd><p> Node in list of all RIO devices </p></dd><dt><span class="term">net_list</span></dt><dd><p> Node in list of RIO devices in a network </p></dd><dt><span class="term">net</span></dt><dd><p> Network this device is a part of </p></dd><dt><span class="term">did</span></dt><dd><p> Device ID </p></dd><dt><span class="term">vid</span></dt><dd><p> Vendor ID </p></dd><dt><span class="term">device_rev</span></dt><dd><p> Device revision </p></dd><dt><span class="term">asm_did</span></dt><dd><p> Assembly device ID </p></dd><dt><span class="term">asm_vid</span></dt><dd><p> Assembly vendor ID </p></dd><dt><span class="term">asm_rev</span></dt><dd><p> Assembly revision </p></dd><dt><span class="term">efptr</span></dt><dd><p> Extended feature pointer </p></dd><dt><span class="term">pef</span></dt><dd><p> Processing element features </p></dd><dt><span class="term">swpinfo</span></dt><dd><p> Switch port info </p></dd><dt><span class="term">src_ops</span></dt><dd><p> Source operation capabilities </p></dd><dt><span class="term">dst_ops</span></dt><dd><p> Destination operation capabilities </p></dd><dt><span class="term">dma_mask</span></dt><dd><p> Mask of bits of RIO address this device implements </p></dd><dt><span class="term">rswitch</span></dt><dd><p> Pointer to <span class="structname">struct rio_switch</span> if valid for this device </p></dd><dt><span class="term">driver</span></dt><dd><p> Driver claiming this device </p></dd><dt><span class="term">dev</span></dt><dd><p> Device model device </p></dd><dt><span class="term">riores[RIO_MAX_DEV_RESOURCES]</span></dt><dd><p> RIO resources this device owns </p></dd><dt><span class="term">destid</span></dt><dd><p> Network destination ID </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="ch04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html#Structures">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re39.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 4. Internals </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>struct rio_msg</span></td></tr></table></div></body></html>