1CCW_DEVICE_CLEAR(9)               The ccw bus              CCW_DEVICE_CLEAR(9)
2
3
4

NAME

6       ccw_device_clear - terminate I/O request processing
7

SYNOPSIS

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

ARGUMENTS

12       cdev
13           target ccw device
14
15       intparm
16           interruption parameter; value is only used if no I/O is
17           outstanding, otherwise the intparm associated with the I/O request
18           is returned
19

DESCRIPTION

21       ccw_device_clear calls csch on cdev´s subchannel.
22

RETURNS

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

CONTEXT

28       Interrupts disabled, ccw device lock held
29

AUTHOR

31       Cornelia Huck <cornelia.huck@de.ibm.com>
32           Author.
33
35Kernel Hackers Manual 2.6.         June 2019               CCW_DEVICE_CLEAR(9)
Impressum