'\" t .\" Title: i2o_event_register .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I2O_EVENT_REGISTER" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Message-based devices" .\" ----------------------------------------------------------------- .\" * 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" i2o_event_register \- Turn on/off event notification for a I2O device .SH "SYNOPSIS" .HP \w'int\ i2o_event_register('u .BI "int i2o_event_register(struct\ i2o_device\ *\ " "dev" ", struct\ i2o_driver\ *\ " "drv" ", int\ " "tcntxt" ", u32\ " "evt_mask" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 I2O device which should receive the event registration request .RE .PP \fIdrv\fR .RS 4 driver which want to get notified .RE .PP \fItcntxt\fR .RS 4 transaction context to use with this notifier .RE .PP \fIevt_mask\fR .RS 4 mask of events .RE .SH "DESCRIPTION" .PP Create and posts an event registration message to the task\&. No reply is waited for, or expected\&. If you do not want further notifications, call the i2o_event_register again with a evt_mask of 0\&. .PP Returns 0 on success or negative error code on failure\&. .SH "COPYRIGHT" .br