<?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>ccw devices</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="ch02.html" title="Chapter 2. The ccw bus" /><link rel="prev" href="re11.html" title="ccw_dev_id_is_equal" /><link rel="next" href="re12.html" title="struct ccw_device" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ccw devices</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re11.html">Prev</a> </td><th width="60%" align="center">Chapter 2. The ccw bus</th><td width="20%" align="right"> <a accesskey="n" href="re12.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="ccw devices"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="ccwdev"></a>ccw devices</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re12.html"><span>struct ccw_device</span></a></span><span class="refpurpose"> — channel attached device </span></dt><dt><span class="refentrytitle"><a href="re13.html"><span>struct ccw_driver</span></a></span><span class="refpurpose"> — device driver for channel attached devices </span></dt><dt><span class="refentrytitle"><a href="re14.html"><span>ccw_device_set_offline</span></a></span><span class="refpurpose"> — disable a ccw device for I/O </span></dt><dt><span class="refentrytitle"><a href="re15.html"><span>ccw_device_set_online</span></a></span><span class="refpurpose"> — enable a ccw device for I/O </span></dt><dt><span class="refentrytitle"><a href="re16.html"><span>get_ccwdev_by_busid</span></a></span><span class="refpurpose"> — obtain device from a bus id </span></dt><dt><span class="refentrytitle"><a href="re17.html"><span>ccw_driver_register</span></a></span><span class="refpurpose"> — register a ccw driver </span></dt><dt><span class="refentrytitle"><a href="re18.html"><span>ccw_driver_unregister</span></a></span><span class="refpurpose"> — deregister a ccw driver </span></dt><dt><span class="refentrytitle"><a href="re19.html"><span>ccw_device_set_options_mask</span></a></span><span class="refpurpose"> — set some options and unset the rest </span></dt><dt><span class="refentrytitle"><a href="re20.html"><span>ccw_device_set_options</span></a></span><span class="refpurpose"> — set some options </span></dt><dt><span class="refentrytitle"><a href="re21.html"><span>ccw_device_clear_options</span></a></span><span class="refpurpose"> — clear some options </span></dt><dt><span class="refentrytitle"><a href="re22.html"><span>ccw_device_is_pathgroup</span></a></span><span class="refpurpose"> — determine if paths to this device are grouped </span></dt><dt><span class="refentrytitle"><a href="re23.html"><span>ccw_device_is_multipath</span></a></span><span class="refpurpose"> — determine if device is operating in multipath mode </span></dt><dt><span class="refentrytitle"><a href="re24.html"><span>ccw_device_clear</span></a></span><span class="refpurpose"> — terminate I/O request processing </span></dt><dt><span class="refentrytitle"><a href="re25.html"><span>ccw_device_start_key</span></a></span><span class="refpurpose"> — start a s390 channel program with key </span></dt><dt><span class="refentrytitle"><a href="re26.html"><span>ccw_device_start_timeout_key</span></a></span><span class="refpurpose"> — start a s390 channel program with timeout and key </span></dt><dt><span class="refentrytitle"><a href="re27.html"><span>ccw_device_start</span></a></span><span class="refpurpose"> — start a s390 channel program </span></dt><dt><span class="refentrytitle"><a href="re28.html"><span>ccw_device_start_timeout</span></a></span><span class="refpurpose"> — start a s390 channel program with timeout </span></dt><dt><span class="refentrytitle"><a href="re29.html"><span>ccw_device_halt</span></a></span><span class="refpurpose"> — halt I/O request processing </span></dt><dt><span class="refentrytitle"><a href="re30.html"><span>ccw_device_resume</span></a></span><span class="refpurpose"> — resume channel program execution </span></dt><dt><span class="refentrytitle"><a href="re31.html"><span>ccw_device_get_ciw</span></a></span><span class="refpurpose"> — Search for CIW command in extended sense data. </span></dt><dt><span class="refentrytitle"><a href="re32.html"><span>ccw_device_get_path_mask</span></a></span><span class="refpurpose"> — get currently available paths </span></dt><dt><span class="refentrytitle"><a href="re33.html"><span>ccw_device_get_id</span></a></span><span class="refpurpose"> — obtain a ccw device id </span></dt><dt><span class="refentrytitle"><a href="re34.html"><span>ccw_device_tm_start_key</span></a></span><span class="refpurpose"> — perform start function </span></dt><dt><span class="refentrytitle"><a href="re35.html"><span>ccw_device_tm_start_timeout_key</span></a></span><span class="refpurpose"> — perform start function </span></dt><dt><span class="refentrytitle"><a href="re36.html"><span>ccw_device_tm_start</span></a></span><span class="refpurpose"> — perform start function </span></dt><dt><span class="refentrytitle"><a href="re37.html"><span>ccw_device_tm_start_timeout</span></a></span><span class="refpurpose"> — perform start function </span></dt><dt><span class="refentrytitle"><a href="re38.html"><span>ccw_device_tm_intrg</span></a></span><span class="refpurpose"> — perform interrogate function </span></dt></dl></div><p> Devices that want to initiate channel I/O need to attach to the ccw bus. Interaction with the driver core is done via the common I/O layer, which provides the abstractions of ccw devices and ccw device drivers. </p><p> The functions that initiate or terminate channel I/O all act upon a ccw device structure. Device drivers must not bypass those functions or strange side effects may happen. </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re11.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re12.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>ccw_dev_id_is_equal</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>struct ccw_device</span></td></tr></table></div></body></html>