<?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>rio_init_dbell_res</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" title="RapidIO Subsystem Guide" /><link rel="up" href="drivers.html#Functions" title="Functions" /><link rel="prev" href="API-rio-init-mbox-res.html" title="rio_init_mbox_res" /><link rel="next" href="API-RIO-DEVICE.html" title="RIO_DEVICE" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>rio_init_dbell_res</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-rio-init-mbox-res.html">Prev</a> </td><th width="60%" align="center">Functions</th><td width="20%" align="right"> <a accesskey="n" href="API-RIO-DEVICE.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="rio_init_dbell_res"><a id="API-rio-init-dbell-res"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rio_init_dbell_res — Initialize a RIO doorbell resource </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">void <strong>fsfuncrio_init_dbell_res </strong>(</code></td><td>struct resource * <var class="pdparam">res</var>, </td></tr><tr><td> </td><td>u16 <var class="pdparam">start</var>, </td></tr><tr><td> </td><td>u16 <var class="pdparam">end</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1" title="Arguments"><a id="id2985709"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>res</code></em></span></dt><dd><p> resource struct </p></dd><dt><span class="term"><em class="parameter"><code>start</code></em></span></dt><dd><p> start of doorbell range </p></dd><dt><span class="term"><em class="parameter"><code>end</code></em></span></dt><dd><p> end of doorbell range </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2985768"></a><h2>Description</h2><p> This function is used to initialize the fields of a resource for use as a doorbell resource. It initializes a range of doorbell messages using the start and end arguments. </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-init-mbox-res.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="drivers.html#Functions">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-RIO-DEVICE.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>rio_init_mbox_res</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_DEVICE</span></td></tr></table></div></body></html>