'\" t .\" Title: rio_request_outb_mbox .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: RapidIO driver interface .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "RIO_REQUEST_OUTB_MBO" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "RapidIO driver interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" rio_request_outb_mbox \- request outbound mailbox service .SH "SYNOPSIS" .HP \w'int\ rio_request_outb_mbox('u .BI "int rio_request_outb_mbox(struct\ rio_mport\ *\ " "mport" ", void\ *\ " "dev_id" ", int\ " "mbox" ", int\ " "entries" ", void\ (*" "moutb" ")\ (struct\ rio_mport\ *\ mport,\ void\ *dev_id,\ int\ mbox,\ int\ slot));" .SH "ARGUMENTS" .PP \fImport\fR .RS 4 RIO master port from which to allocate the mailbox resource .RE .PP \fIdev_id\fR .RS 4 Device specific pointer to pass on event .RE .PP \fImbox\fR .RS 4 Mailbox number to claim .RE .PP \fIentries\fR .RS 4 Number of entries in outbound mailbox queue .RE .PP \fImoutb\fR .RS 4 Callback to execute when outbound message is sent .RE .SH "DESCRIPTION" .PP Requests ownership of an outbound mailbox resource and binds a callback function to the resource\&. Returns 0 on success\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br