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