1STRUCT CCW_DRIVER(9) The ccw bus STRUCT CCW_DRIVER(9)
2
3
4
6 struct_ccw_driver - device driver for channel attached devices
7
9 struct ccw_driver {
10 struct ccw_device_id * ids;
11 int (* probe) (struct ccw_device *);
12 void (* remove) (struct ccw_device *);
13 int (* set_online) (struct ccw_device *);
14 int (* set_offline) (struct ccw_device *);
15 int (* notify) (struct ccw_device *, int);
16 void (* path_event) (struct ccw_device *, int *);
17 void (* shutdown) (struct ccw_device *);
18 int (* prepare) (struct ccw_device *);
19 void (* complete) (struct ccw_device *);
20 int (* freeze) (struct ccw_device *);
21 int (* thaw) (struct ccw_device *);
22 int (* restore) (struct ccw_device *);
23 enum uc_todo (* uc_handler) (struct ccw_device *, struct irb *);
24 struct device_driver driver;
25 enum interruption_class int_class;
26 };
27
29 ids
30 ids supported by this driver
31
32 probe
33 function called on probe
34
35 remove
36 function called on remove
37
38 set_online
39 called when setting device online
40
41 set_offline
42 called when setting device offline
43
44 notify
45 notify driver of device state changes
46
47 path_event
48 notify driver of channel path events
49
50 shutdown
51 called at device shutdown
52
53 prepare
54 prepare for pm state transition
55
56 complete
57 undo work done in prepare
58
59 freeze
60 callback for freezing during hibernation snapshotting
61
62 thaw
63 undo work done in freeze
64
65 restore
66 callback for restoring after hibernation
67
68 uc_handler
69 callback for unit check handler
70
71 driver
72 embedded device driver structure
73
74 int_class
75 interruption class to use for accounting interrupts
76
78 Cornelia Huck <cornelia.huck@de.ibm.com>
79 Author.
80
82Kernel Hackers Manual 3.10 June 2019 STRUCT CCW_DRIVER(9)