---
name: "ccw_device_halt"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ccw_device_halt"
---

# ccw\_device\_halt(9)

halt I/O request processing

## NAME

ccw\_device\_halt - halt I/O request processing

## SYNOPSIS

**int ccw\_device\_halt(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\_halt** calls hsch on *cdev*'s subchannel.

## RETURN

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

## CONTEXT

Interrupts disabled, ccw device lock held

## AUTHOR

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

Author.

## COPYRIGHT
