STRUCT CCWGROUP_DRIV

Section: The ccwgroup bus (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

struct_ccwgroup_driver - driver for ccw group devices  

SYNOPSIS

struct ccwgroup_driver {
  struct module * owner;
  char * name;
  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;
};  
 

MEMBERS

owner

driver owner

name

driver name

max_slaves

maximum number of slave devices

driver_id

unique id

probe

function called on probe

remove

function called on remove

set_online

function called when device is set online

set_offline

function called when device is set offline

shutdown

function called when device is shut down

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 driver structure
 

AUTHOR

Cornelia Huck <cornelia.huck@de.ibm.com>

Author.
 

COPYRIGHT