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 (* 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 char * name;
26 };
27
29 owner
30 owning module
31
32 ids
33 ids supported by this driver
34
35 probe
36 function called on probe
37
38 remove
39 function called on remove
40
41 set_online
42 called when setting device online
43
44 set_offline
45 called when setting device offline
46
47 notify
48 notify driver of device state changes
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 name
75 device driver name
76
78 Cornelia Huck <cornelia.huck@de.ibm.com>
79 Author.
80
82Kernel Hackers Manual 2.6. November 2011 STRUCT CCW_DRIVER(9)