1STRUCT CCWGROUP_DRIV(9) The ccwgroup bus STRUCT CCWGROUP_DRIV(9)
2
3
4
6 struct_ccwgroup_driver - driver for ccw group devices
7
9 struct ccwgroup_driver {
10 int (* setup) (struct ccwgroup_device *);
11 void (* remove) (struct ccwgroup_device *);
12 int (* set_online) (struct ccwgroup_device *);
13 int (* set_offline) (struct ccwgroup_device *);
14 void (* shutdown) (struct ccwgroup_device *);
15 int (* prepare) (struct ccwgroup_device *);
16 void (* complete) (struct ccwgroup_device *);
17 int (* freeze) (struct ccwgroup_device *);
18 int (* thaw) (struct ccwgroup_device *);
19 int (* restore) (struct ccwgroup_device *);
20 struct device_driver driver;
21 };
22
24 setup
25 function called during device creation to setup the device
26
27 remove
28 function called on remove
29
30 set_online
31 function called when device is set online
32
33 set_offline
34 function called when device is set offline
35
36 shutdown
37 function called when device is shut down
38
39 prepare
40 prepare for pm state transition
41
42 complete
43 undo work done in prepare
44
45 freeze
46 callback for freezing during hibernation snapshotting
47
48 thaw
49 undo work done in freeze
50
51 restore
52 callback for restoring after hibernation
53
54 driver
55 embedded driver structure
56
58 Cornelia Huck <cornelia.huck@de.ibm.com>
59 Author.
60
62Kernel Hackers Manual 3.10 June 2019 STRUCT CCWGROUP_DRIV(9)