1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct usb_host_endpoint</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The Linux-USB Host Side API"><link rel="up" href="hostside.html" title="Chapter 4. Host-Side Data Types and Macros"><link rel="prev" href="hostside.html" title="Chapter 4. Host-Side Data Types and Macros"><link rel="next" href="API-struct-usb-interface.html" title="struct usb_interface"></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 usb_host_endpoint</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="hostside.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Host-Side Data Types and Macros</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-usb-interface.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-usb-host-endpoint"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct usb_host_endpoint — 2 host-side endpoint descriptor and queue 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct usb_host_endpoint { 5 struct usb_endpoint_descriptor desc; 6 struct usb_ss_ep_comp_descriptor ss_ep_comp; 7 struct list_head urb_list; 8 void * hcpriv; 9 struct ep_device * ep_dev; 10 unsigned char * extra; 11 int extralen; 12 int enabled; 13 int streams; 14}; </pre></div><div class="refsect1"><a name="idp1112641564"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">desc</span></dt><dd><p> 15descriptor for this endpoint, wMaxPacketSize in native byteorder 16 </p></dd><dt><span class="term">ss_ep_comp</span></dt><dd><p> 17SuperSpeed companion descriptor for this endpoint 18 </p></dd><dt><span class="term">urb_list</span></dt><dd><p> 19urbs queued to this endpoint; maintained by usbcore 20 </p></dd><dt><span class="term">hcpriv</span></dt><dd><p> 21for use by HCD; typically holds hardware dma queue head (QH) 22with one or more transfer descriptors (TDs) per urb 23 </p></dd><dt><span class="term">ep_dev</span></dt><dd><p> 24ep_device for sysfs info 25 </p></dd><dt><span class="term">extra</span></dt><dd><p> 26descriptors following this endpoint in the configuration 27 </p></dd><dt><span class="term">extralen</span></dt><dd><p> 28how many bytes of <span class="quote">“<span class="quote">extra</span>”</span> are valid 29 </p></dd><dt><span class="term">enabled</span></dt><dd><p> 30URBs may be submitted to this endpoint 31 </p></dd><dt><span class="term">streams</span></dt><dd><p> 32number of USB-3 streams allocated on the endpoint 33 </p></dd></dl></div></div><div class="refsect1"><a name="idp1112648868"></a><h2>Description</h2><p> 34 USB requests are always queued to a given endpoint, identified by a 35 descriptor within an active interface in a given USB configuration. 36</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="hostside.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="hostside.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-usb-interface.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 4. Host-Side Data Types and Macros </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct usb_interface</span></td></tr></table></div></body></html> 37