1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>rio_device_has_destid</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="RapidIO Subsystem Guide"><link rel="up" href="Enumeration_and_Discovery.html" title="Enumeration and Discovery"><link rel="prev" href="API-rio-enum-host.html" title="rio_enum_host"><link rel="next" href="API-rio-release-dev.html" title="rio_release_dev"></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">rio_device_has_destid</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-rio-enum-host.html">Prev</a> </td><th width="60%" align="center">Enumeration and Discovery</th><td width="20%" align="right"> <a accesskey="n" href="API-rio-release-dev.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-rio-device-has-destid"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rio_device_has_destid — 2 Test if a device contains a destination ID register 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">rio_device_has_destid </b>(</code></td><td>struct rio_mport * <var class="pdparam">port</var>, </td></tr><tr><td> </td><td>int <var class="pdparam">src_ops</var>, </td></tr><tr><td> </td><td>int <var class="pdparam">dst_ops</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1109894284"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>port</code></em></span></dt><dd><p> 4 Master port to issue transaction 5 </p></dd><dt><span class="term"><em class="parameter"><code>src_ops</code></em></span></dt><dd><p> 6 RIO device source operations 7 </p></dd><dt><span class="term"><em class="parameter"><code>dst_ops</code></em></span></dt><dd><p> 8 RIO device destination operations 9 </p></dd></dl></div></div><div class="refsect1"><a name="idp1109897868"></a><h2>Description</h2><p> 10 Checks the provided <em class="parameter"><code>src_ops</code></em> and <em class="parameter"><code>dst_ops</code></em> for the necessary transaction 11 capabilities that indicate whether or not a device will implement a 12 destination ID register. Returns 1 if true or 0 if false. 13</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-rio-enum-host.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Enumeration_and_Discovery.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-rio-release-dev.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">rio_enum_host</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">rio_release_dev</span></td></tr></table></div></body></html> 14