'\" t .\" Title: rio_add_mport_pw_handler .\" 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_MPORT_PW_HAN" "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_mport_pw_handler \- add port\-write message handler into the list of mport specific pw handlers .SH "SYNOPSIS" .HP \w'int\ rio_add_mport_pw_handler('u .BI "int rio_add_mport_pw_handler(struct\ rio_mport\ *\ " "mport" ", void\ *\ " "context" ", int\ (*" "pwcback" ")\ (struct\ rio_mport\ *mport,\ void\ *context,\ union\ rio_pw_msg\ *msg,\ int\ step));" .SH "ARGUMENTS" .PP \fImport\fR .RS 4 RIO master port to bind the portwrite callback .RE .PP \fIcontext\fR .RS 4 Handler specific context to pass on event .RE .PP \fIpwcback\fR .RS 4 Callback to execute when portwrite is received .RE .SH "DESCRIPTION" .PP Returns 0 if the request has been satisfied\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br