1. NAME

ccw_device_clear - terminate I/O request processing

2. SYNOPSIS

int ccw_device_clear(struct ccw_device *  cdev , unsigned long  intparm );

3. ARGUMENTS

cdev
    target ccw device

intparm
    interruption parameter; value is only used if no I/O is outstanding, otherwise the intparm associated with the I/O request is returned

4. DESCRIPTION

ccw_device_clear calls csch on cdevAqs subchannel.

5. RETURNS

0 on success, -ENODEV on device not operational, -EINVAL on invalid device state.

6. CONTEXT

Interrupts disabled, ccw device lock held

7. AUTHOR

Cornelia Huck <>
    Author.

8. COPYRIGHT