'\" t .\" Title: rio_request_inb_mbox .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: RapidIO driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "RIO_REQUEST_INB_MBOX" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_inb_mbox \- request inbound mailbox service .SH "SYNOPSIS" .HP \w'int\ rio_request_inb_mbox('u .BI "int rio_request_inb_mbox(struct\ rio_mport\ *\ " "mport" ", void\ *\ " "dev_id" ", int\ " "mbox" ", int\ " "entries" ", void\ (*" "minb" ")\ (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 inbound mailbox queue .RE .PP \fIminb\fR .RS 4 Callback to execute when inbound message is received .RE .SH "DESCRIPTION" .PP Requests ownership of an inbound mailbox resource and binds a callback function to the resource\&. Returns \fB0\fR on success\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br