ccw_device_clear
Prev | ccw devices | Next

## Name

ccw_device_clear — terminate I/O request processing

## Synopsis

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

## 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

## Description

`ccw_device_clear` calls csch on `cdev`'s subchannel.

## Returns

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

## Context

Interrupts disabled, ccw device lock held

Prev | Up | Next
ccw_device_is_multipath | Home | ccw_device_start_key