Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 1352

kernel-doc-2.6.32-71.14.1.el6.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>USB 2.0 Chapter 9 Types and Constants</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="USB Gadget API for Linux" /><link rel="up" href="ch03.html" title="Chapter&#160;3.&#160;Kernel Mode Gadget API" /><link rel="prev" href="ch03.html" title="Chapter&#160;3.&#160;Kernel Mode Gadget API" /><link rel="next" href="re01.html" title="struct usb_ctrlrequest" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">USB 2.0 Chapter 9 Types and Constants</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;3.&#160;Kernel Mode Gadget API</th><td width="20%" align="right">&#160;<a accesskey="n" href="re01.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="USB 2.0 Chapter 9 Types and Constants"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="ch9"></a>USB 2.0 Chapter 9 Types and Constants</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re01.html"><span>struct usb_ctrlrequest</span></a></span><span class="refpurpose"> &#8212; 
  SETUP data for a USB device control request
 </span></dt><dt><span class="refentrytitle"><a href="re02.html"><span>usb_endpoint_num</span></a></span><span class="refpurpose"> &#8212; 
     get the endpoint's number
 </span></dt><dt><span class="refentrytitle"><a href="re03.html"><span>usb_endpoint_type</span></a></span><span class="refpurpose"> &#8212; 
     get the endpoint's transfer type
 </span></dt><dt><span class="refentrytitle"><a href="re04.html"><span>usb_endpoint_dir_in</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint has IN direction
 </span></dt><dt><span class="refentrytitle"><a href="re05.html"><span>usb_endpoint_dir_out</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint has OUT direction
 </span></dt><dt><span class="refentrytitle"><a href="re06.html"><span>usb_endpoint_xfer_bulk</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint has bulk transfer type
 </span></dt><dt><span class="refentrytitle"><a href="re07.html"><span>usb_endpoint_xfer_control</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint has control transfer type
 </span></dt><dt><span class="refentrytitle"><a href="re08.html"><span>usb_endpoint_xfer_int</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint has interrupt transfer type
 </span></dt><dt><span class="refentrytitle"><a href="re09.html"><span>usb_endpoint_xfer_isoc</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint has isochronous transfer type
 </span></dt><dt><span class="refentrytitle"><a href="re10.html"><span>usb_endpoint_is_bulk_in</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint is bulk IN
 </span></dt><dt><span class="refentrytitle"><a href="re11.html"><span>usb_endpoint_is_bulk_out</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint is bulk OUT
 </span></dt><dt><span class="refentrytitle"><a href="re12.html"><span>usb_endpoint_is_int_in</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint is interrupt IN
 </span></dt><dt><span class="refentrytitle"><a href="re13.html"><span>usb_endpoint_is_int_out</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint is interrupt OUT
 </span></dt><dt><span class="refentrytitle"><a href="re14.html"><span>usb_endpoint_is_isoc_in</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint is isochronous IN
 </span></dt><dt><span class="refentrytitle"><a href="re15.html"><span>usb_endpoint_is_isoc_out</span></a></span><span class="refpurpose"> &#8212; 
     check if the endpoint is isochronous OUT
 </span></dt></dl></div><p>Gadget drivers
rely on common USB structures and constants
defined in the
<code class="filename">&lt;linux/usb/ch9.h&gt;</code>
header file, which is standard in Linux 2.6 kernels.
These are the same types and constants used by host
side drivers (and usbcore).
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;3.&#160;Kernel Mode Gadget API&#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>struct usb_ctrlrequest</span></td></tr></table></div></body></html>