---
name: "i2o_event_register"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/i2o_event_register"
---

# i2o\_event\_register(9)

Turn on/off event notification for a I2O device

## NAME

i2o\_event\_register - Turn on/off event notification for a I2O device

## SYNOPSIS

**int i2o\_event\_register(struct i2o\_device \*** *dev***, struct i2o\_driver \*** *drv***, int** *tcntxt***, u32** *evt\_mask***);**

## ARGUMENTS

*dev*

I2O device which should receive the event registration request

*drv*

driver which want to get notified

*tcntxt*

transaction context to use with this notifier

*evt\_mask*

mask of events

## DESCRIPTION

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.

Returns 0 on success or negative error code on failure.

## COPYRIGHT
