'\" t .\" Title: rio_add_outb_message .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: RapidIO driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "RIO_ADD_OUTB_MESSAGE" "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_add_outb_message \- Add RIO message to an outbound mailbox queue .SH "SYNOPSIS" .HP \w'int\ rio_add_outb_message('u .BI "int rio_add_outb_message(struct\ rio_mport\ *\ " "mport" ", struct\ rio_dev\ *\ " "rdev" ", int\ " "mbox" ", void\ *\ " "buffer" ", size_t\ " "len" ");" .SH "ARGUMENTS" .PP \fImport\fR .RS 4 RIO master port containing the outbound queue .RE .PP \fIrdev\fR .RS 4 RIO device the message is be sent to .RE .PP \fImbox\fR .RS 4 The outbound mailbox queue .RE .PP \fIbuffer\fR .RS 4 Pointer to the message buffer .RE .PP \fIlen\fR .RS 4 Length of the message buffer .RE .SH "DESCRIPTION" .PP Adds a RIO message buffer to an outbound mailbox queue for transmission\&. Returns 0 on success\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br