struct ccw_driver — device driver for channel attached devices
struct ccw_driver { 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 (* path_event) (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 *); enum uc_todo (* uc_handler) (struct ccw_device *, struct irb *); struct device_driver driver; enum interruption_class int_class; };
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
notify driver of channel path events
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
callback for unit check handler
embedded device driver structure
interruption class to use for accounting interrupts