1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>rio_request_inb_pwrite</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="drivers.html#Functions" title="Functions"><link rel="prev" href="API-rio-release-outb-dbell.html" title="rio_release_outb_dbell"><link rel="next" href="API-rio-release-inb-pwrite.html" title="rio_release_inb_pwrite"></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_request_inb_pwrite</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-rio-release-outb-dbell.html">Prev</a> </td><th width="60%" align="center">Functions</th><td width="20%" align="right"> <a accesskey="n" href="API-rio-release-inb-pwrite.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-rio-request-inb-pwrite"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rio_request_inb_pwrite — 2 request inbound port-write message service 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_request_inb_pwrite </b>(</code></td><td>struct rio_dev * <var class="pdparam">rdev</var>, </td></tr><tr><td> </td><td>int (*<var class="pdparam">pwcback</var>) 4 <code>(</code>struct rio_dev *rdev, union rio_pw_msg *msg, int step<code>)</code><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1109425516"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>rdev</code></em></span></dt><dd><p> 5 RIO device to which register inbound port-write callback routine 6 </p></dd><dt><span class="term"><em class="parameter"><code>pwcback</code></em></span></dt><dd><p> 7 Callback routine to execute when port-write is received 8 </p></dd></dl></div></div><div class="refsect1"><a name="idp1109428148"></a><h2>Description</h2><p> 9 Binds a port-write callback function to the RapidIO device. 10 Returns 0 if the request has been satisfied. 11</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-release-outb-dbell.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-release-inb-pwrite.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">rio_release_outb_dbell</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_inb_pwrite</span></td></tr></table></div></body></html> 12