1CCW_DEVICE_START_KEY(9) The ccw bus CCW_DEVICE_START_KEY(9)
2
3
4
6 ccw_device_start_key - start a s390 channel program with key
7
9 int ccw_device_start_key(struct ccw_device * cdev, struct ccw1 * cpa,
10 unsigned long intparm, __u8 lpm, __u8 key,
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 key
30 storage key to be used for the I/O
31
32 flags
33 additional flags; defines the action to be performed for I/O
34 processing.
35
37 Start a S/390 channel program. When the interrupt arrives, the IRQ
38 handler is called, either immediately, delayed (dev-end missing, or
39 sense required) or never (no IRQ handler registered).
40
42 0, if the operation was successful; -EBUSY, if the device is busy, or
43 status pending; -EACCES, if no path specified in lpm is operational;
44 -ENODEV, if the device is not operational.
45
47 Interrupts disabled, ccw device lock held
48
50 Cornelia Huck <cornelia.huck@de.ibm.com>
51 Author.
52
54Kernel Hackers Manual 3.10 June 2019 CCW_DEVICE_START_KEY(9)