1. NAME▲

ccw_device_halt - halt I/O request processing

2. SYNOPSIS ▲

int ccw_device_halt(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_halt calls hsch on cdevAqs subchannel.

5. RETURNS ▲

0 on success, -ENODEV on device not operational, -EINVAL on invalid device state, -EBUSY on device busy or interrupt pending.

6. CONTEXT ▲

Interrupts disabled, ccw device lock held

7. AUTHOR ▲

Cornelia Huck <>
    Author.

8. COPYRIGHT ▲