struct ccwgroup_driver — driver for ccw group devices
struct ccwgroup_driver { int max_slaves; unsigned long driver_id; int (* probe) (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; };
maximum number of slave devices
unique id
function called on probe
function called on remove
function called when device is set online
function called when device is set offline
function called when device is shut down
prepare for pm state transition
undo work done in prepare
callback for freezing during hibernation snapshotting
undo work done in freeze
callback for restoring after hibernation
embedded driver structure