'\" t .\" Title: rio_setup_inb_dbell .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "RIO_SETUP_INB_DBELL" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "Internals" .\" ----------------------------------------------------------------- .\" * 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_setup_inb_dbell \- bind inbound doorbell callback .SH "SYNOPSIS" .HP \w'int\ rio_setup_inb_dbell('u .BI "int rio_setup_inb_dbell(struct\ rio_mport\ *\ " "mport" ", void\ *\ " "dev_id" ", struct\ resource\ *\ " "res" ", 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 to bind the doorbell callback .RE .PP \fIvoid * dev_id\fR .RS 4 Device specific pointer to pass on event .RE .PP \fIstruct resource * res\fR .RS 4 Doorbell message resource .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 Adds a doorbell resource/callback pair into a port\*(Aqs doorbell event list\&. 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