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

NAME

6       ccw_device_halt - halt I/O request processing
7

SYNOPSIS

9       int ccw_device_halt(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_halt calls hsch on cdev's subchannel.
22

RETURNS

24       0 on success, -ENODEV on device not operational, -EINVAL on invalid
25       device state, -EBUSY on device busy or interrupt pending.
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 3.10         June 2019                CCW_DEVICE_HALT(9)
Impressum