Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > cf93d8a8acdcc6fe2225039da0502495 > files > 3517

kernel-doc-2.6.32-131.17.1.el6.centos.plus.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct ccwgroup_driver</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Writing s390 channel device drivers" /><link rel="up" href="ch03.html#ccwgroupdevices" title="ccw group devices" /><link rel="prev" href="re46.html" title="struct ccwgroup_device" /><link rel="next" href="re48.html" title="ccwgroup_create_from_string" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct ccwgroup_driver</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re46.html">Prev</a>&#160;</td><th width="60%" align="center">ccw group devices</th><td width="20%" align="right">&#160;<a accesskey="n" href="re48.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct ccwgroup_driver"><a id="API-struct-ccwgroup-driver"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ccwgroup_driver &#8212; 
     driver for ccw group devices
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
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;
};  </pre></div><div class="refsect1" title="Members"><a id="id2580726"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">owner</span></dt><dd><p>
   driver owner
      </p></dd><dt><span class="term">name</span></dt><dd><p>
   driver name
      </p></dd><dt><span class="term">max_slaves</span></dt><dd><p>
   maximum number of slave devices
      </p></dd><dt><span class="term">driver_id</span></dt><dd><p>
   unique id
      </p></dd><dt><span class="term">probe</span></dt><dd><p>
   function called on probe
      </p></dd><dt><span class="term">remove</span></dt><dd><p>
   function called on remove
      </p></dd><dt><span class="term">set_online</span></dt><dd><p>
   function called when device is set online
      </p></dd><dt><span class="term">set_offline</span></dt><dd><p>
   function called when device is set offline
      </p></dd><dt><span class="term">shutdown</span></dt><dd><p>
   function called when device is shut down
      </p></dd><dt><span class="term">prepare</span></dt><dd><p>
   prepare for pm state transition
      </p></dd><dt><span class="term">complete</span></dt><dd><p>
   undo work done in <em class="parameter"><code>prepare</code></em>
      </p></dd><dt><span class="term">freeze</span></dt><dd><p>
   callback for freezing during hibernation snapshotting
      </p></dd><dt><span class="term">thaw</span></dt><dd><p>
   undo work done in <em class="parameter"><code>freeze</code></em>
      </p></dd><dt><span class="term">restore</span></dt><dd><p>
   callback for restoring after hibernation
      </p></dd><dt><span class="term">driver</span></dt><dd><p>
   embedded driver structure
      </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re46.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch03.html#ccwgroupdevices">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re48.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct ccwgroup_device</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>ccwgroup_create_from_string</span></td></tr></table></div></body></html>