'\" t .\" Title: rio_request_inb_dbell .\" 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_REQUEST_INB_DBEL" "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_request_inb_dbell \- request inbound doorbell message service .SH "SYNOPSIS" .HP \w'int\ rio_request_inb_dbell('u .BI "int rio_request_inb_dbell(struct\ rio_mport\ *\ " "mport" ", void\ *\ " "dev_id" ", u16\ " "start" ", u16\ " "end" ", void\ (*" "dinb" ")\ (struct\ rio_mport\ *\ mport,\ void\ *dev_id,\ u16\ src,\ u16\ dst,\ u16\ info));" .SH "ARGUMENTS" .PP \fIstruct rio_mport * mport\fR .RS 4 RIO master port from which to allocate the doorbell resource .RE .PP \fIvoid * dev_id\fR .RS 4 Device specific pointer to pass on event .RE .PP \fIu16 start\fR .RS 4 Doorbell info range start .RE .PP \fIu16 end\fR .RS 4 Doorbell info range end .RE .PP \fIvoid (*) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info) dinb\fR .RS 4 Callback to execute when doorbell is received .RE .SH "DESCRIPTION" .PP Requests ownership of an inbound doorbell resource and binds a callback function to the resource\&. 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