CCW_DEVICE_START(9) | The ccw bus | CCW_DEVICE_START(9) |
NAME¶
ccw_device_start - start a s390 channel program
SYNOPSIS¶
int ccw_device_start(struct ccw_device * cdev, struct ccw1 * cpa, unsigned long intparm, __u8 lpm, unsigned long flags);
ARGUMENTS¶
cdev
cpa
intparm
lpm
flags
DESCRIPTION¶
Start a S/390 channel program. When the interrupt arrives, the IRQ handler is called, either immediately, delayed (dev-end missing, or sense required) or never (no IRQ handler registered).
RETURN¶
0, if the operation was successful; -EBUSY, if the device is busy, or status pending; -EACCES, if no path specified in lpm is operational; -ENODEV, if the device is not operational.
CONTEXT¶
Interrupts disabled, ccw device lock held
AUTHOR¶
Cornelia Huck <cornelia.huck@de.ibm.com>
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |