'\" t .\" Title: rio_setup_inb_dbell .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "RIO_SETUP_INB_DBELL" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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 \fImport\fR .RS 4 RIO master port to bind the doorbell callback .RE .PP \fIdev_id\fR .RS 4 Device specific pointer to pass on event .RE .PP \fIres\fR .RS 4 Doorbell message resource .RE .PP \fIdinb\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