<?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>Enumeration and Discovery</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" title="Chapter 4. Internals" /><link rel="prev" href="re47.html" title="struct rio_route_ops" /><link rel="next" href="re48.html" title="rio_get_device_id" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Enumeration and Discovery</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re47.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Internals</th><td width="20%" align="right"> <a accesskey="n" href="re48.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="Enumeration and Discovery"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Enumeration_and_Discovery"></a>Enumeration and Discovery</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re48.html"><span>rio_get_device_id</span></a></span><span class="refpurpose"> — Get the base/extended device id for a device </span></dt><dt><span class="refentrytitle"><a href="re49.html"><span>rio_set_device_id</span></a></span><span class="refpurpose"> — Set the base/extended device id for a device </span></dt><dt><span class="refentrytitle"><a href="re50.html"><span>rio_local_set_device_id</span></a></span><span class="refpurpose"> — Set the base/extended device id for a port </span></dt><dt><span class="refentrytitle"><a href="re51.html"><span>rio_clear_locks</span></a></span><span class="refpurpose"> — Release all host locks and signal enumeration complete </span></dt><dt><span class="refentrytitle"><a href="re52.html"><span>rio_enum_host</span></a></span><span class="refpurpose"> — Set host lock and initialize host destination ID </span></dt><dt><span class="refentrytitle"><a href="re53.html"><span>rio_device_has_destid</span></a></span><span class="refpurpose"> — Test if a device contains a destination ID register </span></dt><dt><span class="refentrytitle"><a href="re54.html"><span>rio_release_dev</span></a></span><span class="refpurpose"> — Frees a RIO device struct </span></dt><dt><span class="refentrytitle"><a href="re55.html"><span>rio_is_switch</span></a></span><span class="refpurpose"> — Tests if a RIO device has switch capabilities </span></dt><dt><span class="refentrytitle"><a href="re56.html"><span>rio_route_set_ops</span></a></span><span class="refpurpose"> — Sets routing operations for a particular vendor switch </span></dt><dt><span class="refentrytitle"><a href="re57.html"><span>rio_add_device</span></a></span><span class="refpurpose"> — Adds a RIO device to the device model </span></dt><dt><span class="refentrytitle"><a href="re58.html"><span>rio_setup_device</span></a></span><span class="refpurpose"> — Allocates and sets up a RIO device </span></dt><dt><span class="refentrytitle"><a href="re59.html"><span>rio_sport_is_active</span></a></span><span class="refpurpose"> — Tests if a switch port has an active connection. </span></dt><dt><span class="refentrytitle"><a href="re60.html"><span>rio_route_add_entry</span></a></span><span class="refpurpose"> — Add a route entry to a switch routing table </span></dt><dt><span class="refentrytitle"><a href="re61.html"><span>rio_route_get_entry</span></a></span><span class="refpurpose"> — Read a route entry in a switch routing table </span></dt><dt><span class="refentrytitle"><a href="re62.html"><span>rio_get_host_deviceid_lock</span></a></span><span class="refpurpose"> — Reads the Host Device ID Lock CSR on a device </span></dt><dt><span class="refentrytitle"><a href="re63.html"><span>rio_get_swpinfo_inport</span></a></span><span class="refpurpose"> — Gets the ingress port number </span></dt><dt><span class="refentrytitle"><a href="re64.html"><span>rio_get_swpinfo_tports</span></a></span><span class="refpurpose"> — Gets total number of ports on the switch </span></dt><dt><span class="refentrytitle"><a href="re65.html"><span>rio_net_add_mport</span></a></span><span class="refpurpose"> — Add a master port to a RIO network </span></dt><dt><span class="refentrytitle"><a href="re66.html"><span>rio_enum_peer</span></a></span><span class="refpurpose"> — Recursively enumerate a RIO network through a master port </span></dt><dt><span class="refentrytitle"><a href="re67.html"><span>rio_enum_complete</span></a></span><span class="refpurpose"> — Tests if enumeration of a network is complete </span></dt><dt><span class="refentrytitle"><a href="re68.html"><span>rio_disc_peer</span></a></span><span class="refpurpose"> — Recursively discovers a RIO network through a master port </span></dt><dt><span class="refentrytitle"><a href="re69.html"><span>rio_mport_is_active</span></a></span><span class="refpurpose"> — Tests if master port link is active </span></dt><dt><span class="refentrytitle"><a href="re70.html"><span>rio_alloc_net</span></a></span><span class="refpurpose"> — Allocate and configure a new RIO network </span></dt><dt><span class="refentrytitle"><a href="re71.html"><span>rio_update_route_tables</span></a></span><span class="refpurpose"> — Updates route tables in switches </span></dt><dt><span class="refentrytitle"><a href="re72.html"><span>rio_enum_mport</span></a></span><span class="refpurpose"> — Start enumeration through a master port </span></dt><dt><span class="refentrytitle"><a href="re73.html"><span>rio_build_route_tables</span></a></span><span class="refpurpose"> — Generate route tables from switch route entries </span></dt><dt><span class="refentrytitle"><a href="re74.html"><span>rio_enum_timeout</span></a></span><span class="refpurpose"> — Signal that enumeration timed out </span></dt><dt><span class="refentrytitle"><a href="re75.html"><span>rio_disc_mport</span></a></span><span class="refpurpose"> — Start discovery through a master port </span></dt></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re47.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re48.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct rio_route_ops</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>rio_get_device_id</span></td></tr></table></div></body></html>