'\" t .\" Title: ccw_device_halt .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: The ccw bus .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "CCW_DEVICE_HALT" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_halt \- halt I/O request processing .SH "SYNOPSIS" .HP \w'int\ ccw_device_halt('u .BI "int ccw_device_halt(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_halt\fR calls hsch on \fIcdev\fR\*(Aqs subchannel\&. .SH "RETURN" .PP \fB0\fR on success, \-\fBENODEV\fR on device not operational, \-\fBEINVAL\fR on invalid device state, \-\fBEBUSY\fR on device busy or interrupt pending\&. .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