Sophie

Sophie

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

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 ccw_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="ch02s02.html" title="ccw devices" /><link rel="prev" href="re12.html" title="struct ccw_device" /><link rel="next" href="re14.html" title="ccw_device_set_offline" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct ccw_driver</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re12.html">Prev</a>&#160;</td><th width="60%" align="center">ccw devices</th><td width="20%" align="right">&#160;<a accesskey="n" href="re14.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct ccw_driver"><a id="API-struct-ccw-driver"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ccw_driver &#8212; 
     device driver for channel attached devices
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
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 *);
  enum uc_todo (* uc_handler) (struct ccw_device *, struct irb *);
  struct device_driver driver;
  char * name;
};  </pre></div><div class="refsect1" title="Members"><a id="id2574773"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">owner</span></dt><dd><p>
   owning module
      </p></dd><dt><span class="term">ids</span></dt><dd><p>
   ids supported by this driver
      </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>
   called when setting device online
      </p></dd><dt><span class="term">set_offline</span></dt><dd><p>
   called when setting device offline
      </p></dd><dt><span class="term">notify</span></dt><dd><p>
   notify driver of device state changes
      </p></dd><dt><span class="term">shutdown</span></dt><dd><p>
   called at device shutdown
      </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">uc_handler</span></dt><dd><p>
   callback for unit check handler
      </p></dd><dt><span class="term">driver</span></dt><dd><p>
   embedded device driver structure
      </p></dd><dt><span class="term">name</span></dt><dd><p>
   device driver name
      </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="re12.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02s02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re14.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct ccw_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>ccw_device_set_offline</span></td></tr></table></div></body></html>