1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct ccwgroup_device</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Writing s390 channel device drivers"><link rel="up" href="ccwgroup.html#ccwgroupdevices" title="ccw group devices"><link rel="prev" href="ccwgroup.html" title="Chapter&#160;3.&#160;The ccwgroup bus"><link rel="next" href="API-struct-ccwgroup-driver.html" title="struct ccwgroup_driver"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct ccwgroup_device</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ccwgroup.html">Prev</a>&#160;</td><th width="60%" align="center">ccw group devices</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-ccwgroup-driver.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-ccwgroup-device"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ccwgroup_device &#8212; 
2  ccw group device
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct ccwgroup_device {
5  enum state;
6  unsigned int count;
7  struct device dev;
8  struct work_struct ungroup_work;
9  struct ccw_device * cdev[0];
10};  </pre></div><div class="refsect1"><a name="idp1124506252"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">state</span></dt><dd><p>
11online/offline state
12      </p></dd><dt><span class="term">count</span></dt><dd><p>
13number of attached slave devices
14      </p></dd><dt><span class="term">dev</span></dt><dd><p>
15embedded device structure
16      </p></dd><dt><span class="term">ungroup_work</span></dt><dd><p>
17work to be done when a ccwgroup notifier has action
18type <code class="constant">BUS_NOTIFY_UNBIND_DRIVER</code>
19      </p></dd><dt><span class="term">cdev[0]</span></dt><dd><p>
20variable number of slave devices, allocated as needed
21      </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="ccwgroup.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ccwgroup.html#ccwgroupdevices">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-ccwgroup-driver.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;3.&#160;The ccwgroup bus&#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 class="phrase">struct ccwgroup_driver</span></td></tr></table></div></body></html>
22