'\" t .\" Title: ccw_device_get_ciw .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The ccw bus .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CCW_DEVICE_GET_CIW" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The ccw bus" .\" ----------------------------------------------------------------- .\" * 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" ccw_device_get_ciw \- Search for CIW command in extended sense data\&. .SH "SYNOPSIS" .HP \w'struct\ ciw\ *\ ccw_device_get_ciw('u .BI "struct ciw * ccw_device_get_ciw(struct\ ccw_device\ *\ " "cdev" ", __u32\ " "ct" ");" .SH "ARGUMENTS" .PP \fIcdev\fR .RS 4 ccw device to inspect .RE .PP \fIct\fR .RS 4 command type to look for .RE .SH "DESCRIPTION" .PP During SenseID, command information words (CIWs) describing special commands available to the device may have been stored in the extended sense data\&. This function searches for CIWs of a specified command type in the extended sense data\&. .SH "RETURN" .PP \fBNULL\fR if no extended sense data has been stored or if no CIW of the specified command type could be found, else a pointer to the CIW of the specified command type\&. .SH "AUTHOR" .PP \fBCornelia Huck\fR <\&cornelia.huck@de.ibm.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br