\hypertarget{usb__lookup_8c}{}\doxysection{dev/usb/usb\+\_\+lookup.c File Reference}
\label{usb__lookup_8c}\index{dev/usb/usb\_lookup.c@{dev/usb/usb\_lookup.c}}
{\ttfamily \#include $<$sys/stdint.\+h$>$}\newline
{\ttfamily \#include $<$sys/stddef.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/queue.\+h$>$}\newline
{\ttfamily \#include $<$sys/types.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/condvar.\+h$>$}\newline
{\ttfamily \#include $<$sys/sysctl.\+h$>$}\newline
{\ttfamily \#include $<$sys/sx.\+h$>$}\newline
{\ttfamily \#include $<$sys/unistd.\+h$>$}\newline
{\ttfamily \#include $<$sys/callout.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/priv.\+h$>$}\newline
{\ttfamily \#include $<$sys/limits.\+h$>$}\newline
{\ttfamily \#include $<$sys/endian.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usbdi.\+h$>$}\newline
Include dependency graph for usb\+\_\+lookup.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d6/df9/usb__lookup_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const struct \mbox{\hyperlink{structusb__device__id}{usb\+\_\+device\+\_\+id}} $\ast$ \mbox{\hyperlink{usb__lookup_8c_aec7e4e8a210d83fd2ce8b0f34188f974}{usbd\+\_\+lookup\+\_\+id\+\_\+by\+\_\+info}} (const struct \mbox{\hyperlink{structusb__device__id}{usb\+\_\+device\+\_\+id}} $\ast$\mbox{\hyperlink{if__usievar_8h_a1e6927fa1486224044e568f9c370519b}{id}}, \mbox{\hyperlink{usb__freebsd_8h_aef76bd5158b84c44681a07bc5f22aff1}{usb\+\_\+size\+\_\+t}} sizeof\+\_\+id, const struct \mbox{\hyperlink{structusbd__lookup__info}{usbd\+\_\+lookup\+\_\+info}} $\ast$info)
\item 
int \mbox{\hyperlink{usb__lookup_8c_aa691ad42d532498716f358cb1c994fb2}{usbd\+\_\+lookup\+\_\+id\+\_\+by\+\_\+uaa}} (const struct \mbox{\hyperlink{structusb__device__id}{usb\+\_\+device\+\_\+id}} $\ast$\mbox{\hyperlink{if__usievar_8h_a1e6927fa1486224044e568f9c370519b}{id}}, \mbox{\hyperlink{usb__freebsd_8h_aef76bd5158b84c44681a07bc5f22aff1}{usb\+\_\+size\+\_\+t}} sizeof\+\_\+id, struct \mbox{\hyperlink{structusb__attach__arg}{usb\+\_\+attach\+\_\+arg}} $\ast$uaa)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{usb__lookup_8c_aec7e4e8a210d83fd2ce8b0f34188f974}\label{usb__lookup_8c_aec7e4e8a210d83fd2ce8b0f34188f974}} 
\index{usb\_lookup.c@{usb\_lookup.c}!usbd\_lookup\_id\_by\_info@{usbd\_lookup\_id\_by\_info}}
\index{usbd\_lookup\_id\_by\_info@{usbd\_lookup\_id\_by\_info}!usb\_lookup.c@{usb\_lookup.c}}
\doxysubsubsection{\texorpdfstring{usbd\_lookup\_id\_by\_info()}{usbd\_lookup\_id\_by\_info()}}
{\footnotesize\ttfamily const struct \mbox{\hyperlink{structusb__device__id}{usb\+\_\+device\+\_\+id}} $\ast$ usbd\+\_\+lookup\+\_\+id\+\_\+by\+\_\+info (\begin{DoxyParamCaption}\item[{const struct \mbox{\hyperlink{structusb__device__id}{usb\+\_\+device\+\_\+id}} $\ast$}]{id,  }\item[{\mbox{\hyperlink{usb__freebsd_8h_aef76bd5158b84c44681a07bc5f22aff1}{usb\+\_\+size\+\_\+t}}}]{sizeof\+\_\+id,  }\item[{const struct \mbox{\hyperlink{structusbd__lookup__info}{usbd\+\_\+lookup\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{usb__lookup_8c_source_l00072}{72}} of file \mbox{\hyperlink{usb__lookup_8c_source}{usb\+\_\+lookup.\+c}}.



References \mbox{\hyperlink{usbdi_8h_source_l00410}{usbd\+\_\+lookup\+\_\+info\+::bcd\+Device}}, \mbox{\hyperlink{usbdi_8h_source_l00411}{usbd\+\_\+lookup\+\_\+info\+::b\+Device\+Class}}, \mbox{\hyperlink{usbdi_8h_source_l00413}{usbd\+\_\+lookup\+\_\+info\+::b\+Device\+Protocol}}, \mbox{\hyperlink{usbdi_8h_source_l00412}{usbd\+\_\+lookup\+\_\+info\+::b\+Device\+Sub\+Class}}, \mbox{\hyperlink{usbdi_8h_source_l00414}{usbd\+\_\+lookup\+\_\+info\+::b\+Interface\+Class}}, \mbox{\hyperlink{usbdi_8h_source_l00416}{usbd\+\_\+lookup\+\_\+info\+::b\+Interface\+Protocol}}, \mbox{\hyperlink{usbdi_8h_source_l00415}{usbd\+\_\+lookup\+\_\+info\+::b\+Interface\+Sub\+Class}}, \mbox{\hyperlink{if__usievar_8h_source_l00004}{id}}, \mbox{\hyperlink{usbdi_8h_source_l00409}{usbd\+\_\+lookup\+\_\+info\+::id\+Product}}, and \mbox{\hyperlink{usbdi_8h_source_l00408}{usbd\+\_\+lookup\+\_\+info\+::id\+Vendor}}.



Referenced by \mbox{\hyperlink{uftdi_8c_source_l01056}{uftdi\+\_\+probe()}}, and \mbox{\hyperlink{usb__lookup_8c_source_l00143}{usbd\+\_\+lookup\+\_\+id\+\_\+by\+\_\+uaa()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{db/d60/usb__lookup_8c_aec7e4e8a210d83fd2ce8b0f34188f974_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{usb__lookup_8c_aa691ad42d532498716f358cb1c994fb2}\label{usb__lookup_8c_aa691ad42d532498716f358cb1c994fb2}} 
\index{usb\_lookup.c@{usb\_lookup.c}!usbd\_lookup\_id\_by\_uaa@{usbd\_lookup\_id\_by\_uaa}}
\index{usbd\_lookup\_id\_by\_uaa@{usbd\_lookup\_id\_by\_uaa}!usb\_lookup.c@{usb\_lookup.c}}
\doxysubsubsection{\texorpdfstring{usbd\_lookup\_id\_by\_uaa()}{usbd\_lookup\_id\_by\_uaa()}}
{\footnotesize\ttfamily int usbd\+\_\+lookup\+\_\+id\+\_\+by\+\_\+uaa (\begin{DoxyParamCaption}\item[{const struct \mbox{\hyperlink{structusb__device__id}{usb\+\_\+device\+\_\+id}} $\ast$}]{id,  }\item[{\mbox{\hyperlink{usb__freebsd_8h_aef76bd5158b84c44681a07bc5f22aff1}{usb\+\_\+size\+\_\+t}}}]{sizeof\+\_\+id,  }\item[{struct \mbox{\hyperlink{structusb__attach__arg}{usb\+\_\+attach\+\_\+arg}} $\ast$}]{uaa }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{usb__lookup_8c_source_l00143}{143}} of file \mbox{\hyperlink{usb__lookup_8c_source}{usb\+\_\+lookup.\+c}}.



References \mbox{\hyperlink{usbdi_8h_source_l00428}{usb\+\_\+attach\+\_\+arg\+::driver\+\_\+info}}, \mbox{\hyperlink{usbdi_8h_source_l00426}{usb\+\_\+attach\+\_\+arg\+::info}}, and \mbox{\hyperlink{usb__lookup_8c_source_l00072}{usbd\+\_\+lookup\+\_\+id\+\_\+by\+\_\+info()}}.



Referenced by \mbox{\hyperlink{if__aue_8c_source_l00655}{aue\+\_\+probe()}}, \mbox{\hyperlink{if__axe_8c_source_l00917}{axe\+\_\+probe()}}, \mbox{\hyperlink{if__axge_8c_source_l00524}{axge\+\_\+probe()}}, \mbox{\hyperlink{if__cdce_8c_source_l00553}{cdce\+\_\+probe()}}, \mbox{\hyperlink{if__cdce_8c_source_l00511}{cdce\+\_\+test\+\_\+autoinst()}}, \mbox{\hyperlink{if__cdceem_8c_source_l00238}{cdceem\+\_\+probe()}}, \mbox{\hyperlink{cp2112_8c_source_l00293}{cp2112\+\_\+probe()}}, \mbox{\hyperlink{if__cue_8c_source_l00385}{cue\+\_\+probe()}}, \mbox{\hyperlink{if__ipheth_8c_source_l00213}{ipheth\+\_\+probe()}}, \mbox{\hyperlink{if__kue_8c_source_l00453}{kue\+\_\+probe()}}, \mbox{\hyperlink{if__mos_8c_source_l00671}{mos\+\_\+probe()}}, \mbox{\hyperlink{if__muge_8c_source_l02152}{muge\+\_\+probe()}}, \mbox{\hyperlink{if__rsu_8c_source_l00350}{rsu\+\_\+match()}}, \mbox{\hyperlink{if__rue_8c_source_l00570}{rue\+\_\+probe()}}, \mbox{\hyperlink{if__rum_8c_source_l00467}{rum\+\_\+match()}}, \mbox{\hyperlink{if__run_8c_source_l00728}{run\+\_\+autoinst()}}, \mbox{\hyperlink{if__run_8c_source_l00768}{run\+\_\+match()}}, \mbox{\hyperlink{if__smsc_8c_source_l01663}{smsc\+\_\+probe()}}, \mbox{\hyperlink{u3g_8c_source_l00883}{u3g\+\_\+probe()}}, \mbox{\hyperlink{u3g_8c_source_l00770}{u3g\+\_\+test\+\_\+autoinst()}}, \mbox{\hyperlink{uark_8c_source_l00180}{uark\+\_\+probe()}}, \mbox{\hyperlink{if__uath_8c_source_l00313}{uath\+\_\+match()}}, \mbox{\hyperlink{ubsa_8c_source_l00281}{ubsa\+\_\+probe()}}, \mbox{\hyperlink{uchcom_8c_source_l00293}{uchcom\+\_\+probe()}}, \mbox{\hyperlink{ucycom_8c_source_l00198}{ucycom\+\_\+probe()}}, \mbox{\hyperlink{if__udav_8c_source_l00248}{udav\+\_\+probe()}}, \mbox{\hyperlink{udbp_8c_source_l00303}{udbp\+\_\+probe()}}, \mbox{\hyperlink{udl_8c_source_l00300}{udl\+\_\+probe()}}, \mbox{\hyperlink{uep_8c_source_l00338}{uep\+\_\+probe()}}, \mbox{\hyperlink{ufoma_8c_source_l00331}{ufoma\+\_\+probe()}}, \mbox{\hyperlink{ugensa_8c_source_l00175}{ugensa\+\_\+probe()}}, \mbox{\hyperlink{ugold_8c_source_l00177}{ugold\+\_\+probe()}}, \mbox{\hyperlink{uhid_8c_source_l00707}{uhid\+\_\+probe()}}, \mbox{\hyperlink{uhid__snes_8c_source_l00534}{uhid\+\_\+snes\+\_\+probe()}}, \mbox{\hyperlink{uhso_8c_source_l00517}{uhso\+\_\+probe()}}, \mbox{\hyperlink{uhso_8c_source_l00728}{uhso\+\_\+test\+\_\+autoinst()}}, \mbox{\hyperlink{uipaq_8c_source_l01095}{uipaq\+\_\+probe()}}, \mbox{\hyperlink{uled_8c_source_l00129}{uled\+\_\+probe()}}, \mbox{\hyperlink{ulpt_8c_source_l00505}{ulpt\+\_\+probe()}}, \mbox{\hyperlink{umcs_8c_source_l00286}{umcs7840\+\_\+probe()}}, \mbox{\hyperlink{umct_8c_source_l00237}{umct\+\_\+probe()}}, \mbox{\hyperlink{umodem_8c_source_l00322}{umodem\+\_\+probe()}}, \mbox{\hyperlink{umoscom_8c_source_l00292}{umoscom\+\_\+probe()}}, \mbox{\hyperlink{if__upgt_8c_source_l00227}{upgt\+\_\+match()}}, \mbox{\hyperlink{uplcom_8c_source_l00355}{uplcom\+\_\+probe()}}, \mbox{\hyperlink{if__ural_8c_source_l00413}{ural\+\_\+match()}}, \mbox{\hyperlink{if__ure_8c_source_l00487}{ure\+\_\+probe()}}, \mbox{\hyperlink{urio_8c_source_l00212}{urio\+\_\+probe()}}, \mbox{\hyperlink{if__urndis_8c_source_l00204}{urndis\+\_\+probe()}}, \mbox{\hyperlink{if__urtw_8c_source_l00775}{urtw\+\_\+match()}}, \mbox{\hyperlink{usbhid_8c_source_l00775}{usbhid\+\_\+probe()}}, \mbox{\hyperlink{if__usie_8c_source_l00235}{usie\+\_\+autoinst()}}, \mbox{\hyperlink{if__usie_8c_source_l00278}{usie\+\_\+probe()}}, \mbox{\hyperlink{uslcom_8c_source_l00403}{uslcom\+\_\+probe()}}, \mbox{\hyperlink{uvisor_8c_source_l00295}{uvisor\+\_\+probe()}}, \mbox{\hyperlink{uvscom_8c_source_l00276}{uvscom\+\_\+probe()}}, \mbox{\hyperlink{wsp_8c_source_l00715}{wsp\+\_\+probe()}}, and \mbox{\hyperlink{if__zyd_8c_source_l00318}{zyd\+\_\+match()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{db/d60/usb__lookup_8c_aa691ad42d532498716f358cb1c994fb2_cgraph}
\end{center}
\end{figure}
