'\" t .\" Title: ccw_device_clear .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: The ccw bus .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CCW_DEVICE_CLEAR" "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_clear \- terminate I/O request processing .SH "SYNOPSIS" .HP \w'int\ ccw_device_clear('u .BI "int ccw_device_clear(struct\ ccw_device\ *\ " "cdev" ", unsigned\ long\ " "intparm" ");" .SH "ARGUMENTS" .PP \fIcdev\fR .RS 4 target ccw device .RE .PP \fIintparm\fR .RS 4 interruption parameter; value is only used if no I/O is outstanding, otherwise the intparm associated with the I/O request is returned .RE .SH "DESCRIPTION" .PP \fBccw_device_clear\fR calls csch on \fIcdev\fR\*(Aqs subchannel\&. .SH "RETURN" .PP \fB0\fR on success, \-\fBENODEV\fR on device not operational, \-\fBEINVAL\fR on invalid device state\&. .SH "CONTEXT" .PP Interrupts disabled, ccw device lock held .SH "AUTHOR" .PP \fBCornelia Huck\fR <\&cornelia.huck@de.ibm.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br