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 struct module * owner;
11 char * name;
12 int max_slaves;
13 unsigned long driver_id;
14 int (* probe) (struct ccwgroup_device *);
15 void (* remove) (struct ccwgroup_device *);
16 int (* set_online) (struct ccwgroup_device *);
17 int (* set_offline) (struct ccwgroup_device *);
18 void (* shutdown) (struct ccwgroup_device *);
19 int (* prepare) (struct ccwgroup_device *);
20 void (* complete) (struct ccwgroup_device *);
21 int (* freeze) (struct ccwgroup_device *);
22 int (* thaw) (struct ccwgroup_device *);
23 int (* restore) (struct ccwgroup_device *);
24 struct device_driver driver;
25 };
26
28 owner
29 driver owner
30
31 name
32 driver name
33
34 max_slaves
35 maximum number of slave devices
36
37 driver_id
38 unique id
39
40 probe
41 function called on probe
42
43 remove
44 function called on remove
45
46 set_online
47 function called when device is set online
48
49 set_offline
50 function called when device is set offline
51
52 shutdown
53 function called when device is shut down
54
55 prepare
56 prepare for pm state transition
57
58 complete
59 undo work done in prepare
60
61 freeze
62 callback for freezing during hibernation snapshotting
63
64 thaw
65 undo work done in freeze
66
67 restore
68 callback for restoring after hibernation
69
70 driver
71 embedded driver structure
72
74 Cornelia Huck <cornelia.huck@de.ibm.com>
75 Author.
76
78Kernel Hackers Manual 2.6. June 2019 STRUCT CCWGROUP_DRIV(9)