1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct usb_os_desc</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="USB Gadget API for Linux"><link rel="up" href="composite.html" title="Composite Device Framework"><link rel="prev" href="API-struct-usb-os-desc-ext-prop.html" title="struct usb_os_desc_ext_prop"><link rel="next" href="API-struct-usb-os-desc-table.html" title="struct usb_os_desc_table"></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_os_desc</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-usb-os-desc-ext-prop.html">Prev</a> </td><th width="60%" align="center">Composite Device Framework</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-usb-os-desc-table.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-usb-os-desc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct usb_os_desc — 2 describes OS descriptors associated with one interface 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct usb_os_desc { 5 char * ext_compat_id; 6 struct list_head ext_prop; 7 int ext_prop_len; 8 int ext_prop_count; 9 struct mutex * opts_mutex; 10 struct config_group group; 11 struct module * owner; 12}; </pre></div><div class="refsect1"><a name="idp1124294652"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">ext_compat_id</span></dt><dd><p> 13 16 bytes of <span class="quote">“<span class="quote">Compatible ID</span>”</span> and <span class="quote">“<span class="quote">Subcompatible ID</span>”</span> 14 </p></dd><dt><span class="term">ext_prop</span></dt><dd><p> 15 Extended Properties list 16 </p></dd><dt><span class="term">ext_prop_len</span></dt><dd><p> 17 Total length of Extended Properties blobs 18 </p></dd><dt><span class="term">ext_prop_count</span></dt><dd><p> 19 Number of Extended Properties 20 </p></dd><dt><span class="term">opts_mutex</span></dt><dd><p> 21 Optional mutex protecting config data of a usb_function_instance 22 </p></dd><dt><span class="term">group</span></dt><dd><p> 23 Represents OS descriptors associated with an interface in configfs 24 </p></dd><dt><span class="term">owner</span></dt><dd><p> 25 Module associated with this OS descriptor 26 </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="API-struct-usb-os-desc-ext-prop.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="composite.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-usb-os-desc-table.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct usb_os_desc_ext_prop</span> </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_os_desc_table</span></td></tr></table></div></body></html> 27