struct ccw_driver — device driver for channel attached devices
struct ccw_driver { struct module * owner; struct ccw_device_id * ids; int (* probe) (struct ccw_device *); void (* remove) (struct ccw_device *); int (* set_online) (struct ccw_device *); int (* set_offline) (struct ccw_device *); int (* notify) (struct ccw_device *, int); void (* shutdown) (struct ccw_device *); int (* prepare) (struct ccw_device *); void (* complete) (struct ccw_device *); int (* freeze) (struct ccw_device *); int (* thaw) (struct ccw_device *); int (* restore) (struct ccw_device *); struct device_driver driver; char * name; };
owning module
ids supported by this driver
function called on probe
function called on remove
called when setting device online
called when setting device offline
notify driver of device state changes
called at device shutdown
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 device driver structure
device driver name