Scroll to navigation

CCW_DEVICE_CLEAR(9) The ccw bus CCW_DEVICE_CLEAR(9)

NAME

ccw_device_clear - terminate I/O request processing

SYNOPSIS

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

ARGUMENTS

struct ccw_device * cdev

target 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_clear calls csch on cdev's subchannel.

RETURN

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

CONTEXT

Interrupts disabled, ccw device lock held

AUTHOR

Cornelia Huck <cornelia.huck@de.ibm.com>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11