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;
}; struct ccw_device_id * idsids supported by this driver
int (*) (struct ccw_device *) probefunction called on probe
void (*) (struct ccw_device *) removefunction called on remove
int (*) (struct ccw_device *) set_onlinecalled when setting device online
int (*) (struct ccw_device *) set_offlinecalled when setting device offline
int (*) (struct ccw_device *, int) notifynotify driver of device state changes
void (*) (struct ccw_device *, int *) path_eventnotify driver of channel path events
void (*) (struct ccw_device *) shutdowncalled at device shutdown
int (*) (struct ccw_device *) prepareprepare for pm state transition
void (*) (struct ccw_device *) complete
undo work done in prepare
int (*)(struct ccw_device *) freezecallback for freezing during hibernation snapshotting
int (*) (struct ccw_device *) thaw
undo work done in freeze
int (*)(struct ccw_device *) restorecallback for restoring after hibernation
enum uc_todo (*) (struct ccw_device *, struct irb *) uc_handlercallback for unit check handler
struct device_driver driverembedded device driver structure
enum interruption_class int_classinterruption class to use for accounting interrupts