other versions
CCW_DEVICE_HALT(9) | The ccw bus | CCW_DEVICE_HALT(9) |
NAME¶
ccw_device_halt - halt I/O request processingSYNOPSIS¶
int ccw_device_halt(struct ccw_device * cdev, unsigned long intparm);
ARGUMENTS¶
struct ccw_device * cdevtarget ccw device
unsigned long intparm
interruption parameter; value is only used if no I/O is
outstanding, otherwise the intparm associated with the I/O request is
returned
DESCRIPTION¶
ccw_device_halt calls hsch on cdev's subchannel.RETURN¶
0 on success, -ENODEV on device not operational, -EINVAL on invalid device state, -EBUSY on device busy or interrupt pending.CONTEXT¶
Interrupts disabled, ccw device lock heldAUTHOR¶
Cornelia Huck <cornelia.huck@de.ibm.com>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |