other versions
STRUCT CCWGROUP_DRIV(9) | The ccwgroup bus | STRUCT CCWGROUP_DRIV(9) |
NAME¶
struct_ccwgroup_driver - driver for ccw group devicesSYNOPSIS¶
struct ccwgroup_driver { int (* setup) (struct ccwgroup_device *); void (* remove) (struct ccwgroup_device *); int (* set_online) (struct ccwgroup_device *); int (* set_offline) (struct ccwgroup_device *); void (* shutdown) (struct ccwgroup_device *); int (* prepare) (struct ccwgroup_device *); void (* complete) (struct ccwgroup_device *); int (* freeze) (struct ccwgroup_device *); int (* thaw) (struct ccwgroup_device *); int (* restore) (struct ccwgroup_device *); struct device_driver driver; };
MEMBERS¶
int (*) (struct ccwgroup_device *) setupfunction called during device creation to setup the
device
void (*) (struct ccwgroup_device *) remove
function called on remove
int (*) (struct ccwgroup_device *) set_online
function called when device is set online
int (*) (struct ccwgroup_device *) set_offline
function called when device is set offline
void (*)(struct ccwgroup_device *) shutdown
function called when device is shut down
int (*) (struct ccwgroup_device *) prepare
prepare for pm state transition
void (*) (struct ccwgroup_device *) complete
undo work done in prepare
int (*)(struct ccwgroup_device *) freeze
callback for freezing during hibernation
snapshotting
int (*) (struct ccwgroup_device *) thaw
undo work done in freeze
int (*)(struct ccwgroup_device *) restore
callback for restoring after hibernation
struct device_driver driver
embedded driver structure
AUTHOR¶
Cornelia Huck <cornelia.huck@de.ibm.com>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |