1CCW_DEVICE_START(9) The ccw bus CCW_DEVICE_START(9)
2
3
4
6 ccw_device_start - start a s390 channel program
7
9 int ccw_device_start(struct ccw_device * cdev, struct ccw1 * cpa,
10 unsigned long intparm, __u8 lpm,
11 unsigned long flags);
12
14 cdev
15 target ccw device
16
17 cpa
18 logical start address of channel program
19
20 intparm
21 user specific interruption parameter; will be presented back to
22 cdev´s interrupt handler. Allows a device driver to associate the
23 interrupt with a particular I/O request.
24
25 lpm
26 defines the channel path to be used for a specific I/O request. A
27 value of 0 will make cio use the opm.
28
29 flags
30 additional flags; defines the action to be performed for I/O
31 processing.
32
34 Start a S/390 channel program. When the interrupt arrives, the IRQ
35 handler is called, either immediately, delayed (dev-end missing, or
36 sense required) or never (no IRQ handler registered).
37
39 0, if the operation was successful; -EBUSY, if the device is busy, or
40 status pending; -EACCES, if no path specified in lpm is operational;
41 -ENODEV, if the device is not operational.
42
44 Interrupts disabled, ccw device lock held
45
47 Cornelia Huck <cornelia.huck@de.ibm.com>
48 Author.
49
51Kernel Hackers Manual 2.6. June 2019 CCW_DEVICE_START(9)