1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>rio_request_outb_mbox</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-inb-mbox.html" title="rio_release_inb_mbox"><link rel="next" href="API-rio-release-outb-mbox.html" title="rio_release_outb_mbox"></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_outb_mbox</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-rio-release-inb-mbox.html">Prev</a> </td><th width="60%" align="center">Functions</th><td width="20%" align="right"> <a accesskey="n" href="API-rio-release-outb-mbox.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-rio-request-outb-mbox"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rio_request_outb_mbox — 
2     request outbound mailbox 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_outb_mbox </b>(</code></td><td><a class="link" href="API-struct-rio-mport.html" title="struct rio_mport">struct rio_mport</a> * <var class="pdparam">mport</var>, </td></tr><tr><td> </td><td>void * <var class="pdparam">dev_id</var>, </td></tr><tr><td> </td><td>int <var class="pdparam">mbox</var>, </td></tr><tr><td> </td><td>int <var class="pdparam">entries</var>, </td></tr><tr><td> </td><td>void (*<var class="pdparam">moutb</var>)
4     <code>(</code>struct rio_mport * mport, void *dev_id, int mbox, int slot<code>)</code><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="id-1.5.3.32.5"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>mport</code></em></span></dt><dd><p>
5     RIO master port from which to allocate the mailbox resource
6    </p></dd><dt><span class="term"><em class="parameter"><code>dev_id</code></em></span></dt><dd><p>
7     Device specific pointer to pass on event
8    </p></dd><dt><span class="term"><em class="parameter"><code>mbox</code></em></span></dt><dd><p>
9     Mailbox number to claim
10    </p></dd><dt><span class="term"><em class="parameter"><code>entries</code></em></span></dt><dd><p>
11     Number of entries in outbound mailbox queue
12    </p></dd><dt><span class="term"><em class="parameter"><code>moutb</code></em></span></dt><dd><p>
13     Callback to execute when outbound message is sent
14    </p></dd></dl></div></div><div class="refsect1"><a name="id-1.5.3.32.6"></a><h2>Description</h2><p>
15   Requests ownership of an outbound mailbox resource and binds
16   a callback function to the resource. Returns 0 on success.
17</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-inb-mbox.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-outb-mbox.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">rio_release_inb_mbox</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_outb_mbox</span></td></tr></table></div></body></html>
18