'\" t .\" Title: rio_add_outb_message .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: RapidIO driver interface .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "RIO_ADD_OUTB_MESSAGE" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "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 \fIstruct rio_mport * mport\fR .RS 4 RIO master port containing the outbound queue .RE .PP \fIstruct rio_dev * rdev\fR .RS 4 RIO device the message is be sent to .RE .PP \fIint mbox\fR .RS 4 The outbound mailbox queue .RE .PP \fIvoid * buffer\fR .RS 4 Pointer to the message buffer .RE .PP \fIsize_t len\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