STRUCT
CCW_DRIVER(9) The ccw bus STRUCT CCW_DRIVER(9)
NAME
struct_ccw_driver - device driver for channel attached devices
SYNOPSIS
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;
};
MEMBERS
owner
owning module
ids
ids supported by this driver
probe
function called on probe
remove
function called on remove
set_online
called when setting device online
set_offline
called when setting device offline
notify
notify driver of device state changes
shutdown
called at device shutdown
prepare
prepare for pm state transition
complete
undo work done in prepare
freeze
callback for freezing during hibernation snapshotting
thaw
undo work done in freeze
restore
callback for restoring after hibernation
driver
embedded device driver structure
name
device driver name
AUTHOR
Cornelia Huck <cornelia.huck@de.ibm.com>
Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRUCT CCW_DRIVER(9)