'\" t .\" Title: i2o_device_issue_claim .\" 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_DEVICE_ISSUE_CLA" "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_device_issue_claim \- claim or release a device .SH "SYNOPSIS" .HP \w'int\ i2o_device_issue_claim('u .BI "int i2o_device_issue_claim(struct\ i2o_device\ *\ " "dev" ", u32\ " "cmd" ", u32\ " "type" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 I2O device to claim or release .RE .PP \fIcmd\fR .RS 4 claim or release command .RE .PP \fItype\fR .RS 4 type of claim .RE .SH "DESCRIPTION" .PP Issue I2O UTIL_CLAIM or UTIL_RELEASE messages\&. The message to be sent is set by cmd\&. dev is the I2O device which should be claim or released and the type is the claim type (see the I2O spec)\&. .PP Returs 0 on success or negative error code on failure\&. .SH "COPYRIGHT" .br