\hypertarget{structusbhid__softc}{}\doxysection{usbhid\+\_\+softc Struct Reference}
\label{structusbhid__softc}\index{usbhid\_softc@{usbhid\_softc}}


Collaboration diagram for usbhid\+\_\+softc\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d6/db8/structusbhid__softc__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
hid\+\_\+intr\+\_\+t $\ast$ \mbox{\hyperlink{structusbhid__softc_a3c9e9986b34148cc26cdd304746982d1}{sc\+\_\+intr\+\_\+handler}}
\item 
void $\ast$ \mbox{\hyperlink{structusbhid__softc_a045f83fc956ac7d0f92ee5bd4f2e4264}{sc\+\_\+intr\+\_\+ctx}}
\item 
void $\ast$ \mbox{\hyperlink{structusbhid__softc_a2e9ae753363b802d984760b95970cb45}{sc\+\_\+intr\+\_\+buf}}
\item 
struct hid\+\_\+device\+\_\+info \mbox{\hyperlink{structusbhid__softc_aa865192c482696e3340922ec7e6caa88}{sc\+\_\+hw}}
\item 
struct mtx \mbox{\hyperlink{structusbhid__softc_a921ea94c41a1616e79fc7ac95b5afaae}{sc\+\_\+mtx}}
\item 
struct \mbox{\hyperlink{structusb__config}{usb\+\_\+config}} \mbox{\hyperlink{structusbhid__softc_ad3530c7f1914705542d6ab5a29e2d3c6}{sc\+\_\+config}} \mbox{[}\mbox{\hyperlink{usbhid_8c_a05589fbab0657f08285ebdfe93f5ec9eaeb5ae114f6baaa7a35fe7fa3fb7a3452}{USBHID\+\_\+\+N\+\_\+\+TRANSFER}}\mbox{]}
\item 
struct \mbox{\hyperlink{structusb__xfer}{usb\+\_\+xfer}} $\ast$ \mbox{\hyperlink{structusbhid__softc_a2aa35969707e8b45379b1a8648460944}{sc\+\_\+xfer}} \mbox{[}\mbox{\hyperlink{usbhid_8c_a1ec8916ee2171ea5577d0863ed408e51}{POLL\+\_\+\+XFER}}(\mbox{\hyperlink{usbhid_8c_a05589fbab0657f08285ebdfe93f5ec9eaeb5ae114f6baaa7a35fe7fa3fb7a3452}{USBHID\+\_\+\+N\+\_\+\+TRANSFER}})\mbox{]}
\item 
struct \mbox{\hyperlink{structusbhid__xfer__ctx}{usbhid\+\_\+xfer\+\_\+ctx}} \mbox{\hyperlink{structusbhid__softc_aaeb021debdf21b0746a2bd95b1c86786}{sc\+\_\+xfer\+\_\+ctx}} \mbox{[}\mbox{\hyperlink{usbhid_8c_a1ec8916ee2171ea5577d0863ed408e51}{POLL\+\_\+\+XFER}}(\mbox{\hyperlink{usbhid_8c_a05589fbab0657f08285ebdfe93f5ec9eaeb5ae114f6baaa7a35fe7fa3fb7a3452}{USBHID\+\_\+\+N\+\_\+\+TRANSFER}})\mbox{]}
\item 
bool \mbox{\hyperlink{structusbhid__softc_ab34e8638afcb20de1a71e14650bdacae}{sc\+\_\+can\+\_\+poll}}
\item 
struct \mbox{\hyperlink{structusb__device}{usb\+\_\+device}} $\ast$ \mbox{\hyperlink{structusbhid__softc_ae6a30acc0ccb69f1d292d9536836e067}{sc\+\_\+udev}}
\item 
uint8\+\_\+t \mbox{\hyperlink{structusbhid__softc_a9e94790adf6b6689f9197b11c90c927b}{sc\+\_\+iface\+\_\+no}}
\item 
uint8\+\_\+t \mbox{\hyperlink{structusbhid__softc_a49559585283b60e7cba1bde58b230def}{sc\+\_\+iface\+\_\+index}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


Definition at line \mbox{\hyperlink{usbhid_8c_source_l00122}{122}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structusbhid__softc_ab34e8638afcb20de1a71e14650bdacae}\label{structusbhid__softc_ab34e8638afcb20de1a71e14650bdacae}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_can\_poll@{sc\_can\_poll}}
\index{sc\_can\_poll@{sc\_can\_poll}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_can\_poll}{sc\_can\_poll}}
{\footnotesize\ttfamily bool usbhid\+\_\+softc\+::sc\+\_\+can\+\_\+poll}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00133}{133}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00466}{usbhid\+\_\+intr\+\_\+poll()}}, \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, \mbox{\hyperlink{usbhid_8c_source_l00422}{usbhid\+\_\+intr\+\_\+start()}}, \mbox{\hyperlink{usbhid_8c_source_l00453}{usbhid\+\_\+intr\+\_\+stop()}}, and \mbox{\hyperlink{usbhid_8c_source_l00409}{usbhid\+\_\+intr\+\_\+unsetup()}}.

\mbox{\Hypertarget{structusbhid__softc_ad3530c7f1914705542d6ab5a29e2d3c6}\label{structusbhid__softc_ad3530c7f1914705542d6ab5a29e2d3c6}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_config@{sc\_config}}
\index{sc\_config@{sc\_config}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_config}{sc\_config}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structusb__config}{usb\+\_\+config}} usbhid\+\_\+softc\+::sc\+\_\+config\mbox{[}\mbox{\hyperlink{usbhid_8c_a05589fbab0657f08285ebdfe93f5ec9eaeb5ae114f6baaa7a35fe7fa3fb7a3452}{USBHID\+\_\+\+N\+\_\+\+TRANSFER}}\mbox{]}}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00130}{130}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, and \mbox{\hyperlink{usbhid_8c_source_l00479}{usbhid\+\_\+sync\+\_\+xfer()}}.

\mbox{\Hypertarget{structusbhid__softc_aa865192c482696e3340922ec7e6caa88}\label{structusbhid__softc_aa865192c482696e3340922ec7e6caa88}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_hw@{sc\_hw}}
\index{sc\_hw@{sc\_hw}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_hw}{sc\_hw}}
{\footnotesize\ttfamily struct hid\+\_\+device\+\_\+info usbhid\+\_\+softc\+::sc\+\_\+hw}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00127}{127}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00809}{usbhid\+\_\+attach()}}, \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, and \mbox{\hyperlink{usbhid_8c_source_l00775}{usbhid\+\_\+probe()}}.

\mbox{\Hypertarget{structusbhid__softc_a49559585283b60e7cba1bde58b230def}\label{structusbhid__softc_a49559585283b60e7cba1bde58b230def}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_iface\_index@{sc\_iface\_index}}
\index{sc\_iface\_index@{sc\_iface\_index}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_iface\_index}{sc\_iface\_index}}
{\footnotesize\ttfamily uint8\+\_\+t usbhid\+\_\+softc\+::sc\+\_\+iface\+\_\+index}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00137}{137}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00809}{usbhid\+\_\+attach()}}, \mbox{\hyperlink{usbhid_8c_source_l00541}{usbhid\+\_\+get\+\_\+rdesc()}}, and \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}.

\mbox{\Hypertarget{structusbhid__softc_a9e94790adf6b6689f9197b11c90c927b}\label{structusbhid__softc_a9e94790adf6b6689f9197b11c90c927b}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_iface\_no@{sc\_iface\_no}}
\index{sc\_iface\_no@{sc\_iface\_no}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_iface\_no}{sc\_iface\_no}}
{\footnotesize\ttfamily uint8\+\_\+t usbhid\+\_\+softc\+::sc\+\_\+iface\+\_\+no}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00136}{136}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00809}{usbhid\+\_\+attach()}}, \mbox{\hyperlink{usbhid_8c_source_l00556}{usbhid\+\_\+get\+\_\+report()}}, \mbox{\hyperlink{usbhid_8c_source_l00640}{usbhid\+\_\+set\+\_\+idle()}}, \mbox{\hyperlink{usbhid_8c_source_l00662}{usbhid\+\_\+set\+\_\+protocol()}}, and \mbox{\hyperlink{usbhid_8c_source_l00582}{usbhid\+\_\+set\+\_\+report()}}.

\mbox{\Hypertarget{structusbhid__softc_a2e9ae753363b802d984760b95970cb45}\label{structusbhid__softc_a2e9ae753363b802d984760b95970cb45}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_intr\_buf@{sc\_intr\_buf}}
\index{sc\_intr\_buf@{sc\_intr\_buf}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_intr\_buf}{sc\_intr\_buf}}
{\footnotesize\ttfamily void$\ast$ usbhid\+\_\+softc\+::sc\+\_\+intr\+\_\+buf}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00125}{125}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, \mbox{\hyperlink{usbhid_8c_source_l00422}{usbhid\+\_\+intr\+\_\+start()}}, and \mbox{\hyperlink{usbhid_8c_source_l00409}{usbhid\+\_\+intr\+\_\+unsetup()}}.

\mbox{\Hypertarget{structusbhid__softc_a045f83fc956ac7d0f92ee5bd4f2e4264}\label{structusbhid__softc_a045f83fc956ac7d0f92ee5bd4f2e4264}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_intr\_ctx@{sc\_intr\_ctx}}
\index{sc\_intr\_ctx@{sc\_intr\_ctx}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_intr\_ctx}{sc\_intr\_ctx}}
{\footnotesize\ttfamily void$\ast$ usbhid\+\_\+softc\+::sc\+\_\+intr\+\_\+ctx}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00124}{124}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00271}{usbhid\+\_\+intr\+\_\+handler\+\_\+cb()}}, and \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}.

\mbox{\Hypertarget{structusbhid__softc_a3c9e9986b34148cc26cdd304746982d1}\label{structusbhid__softc_a3c9e9986b34148cc26cdd304746982d1}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_intr\_handler@{sc\_intr\_handler}}
\index{sc\_intr\_handler@{sc\_intr\_handler}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_intr\_handler}{sc\_intr\_handler}}
{\footnotesize\ttfamily hid\+\_\+intr\+\_\+t$\ast$ usbhid\+\_\+softc\+::sc\+\_\+intr\+\_\+handler}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00123}{123}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00271}{usbhid\+\_\+intr\+\_\+handler\+\_\+cb()}}, and \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}.

\mbox{\Hypertarget{structusbhid__softc_a921ea94c41a1616e79fc7ac95b5afaae}\label{structusbhid__softc_a921ea94c41a1616e79fc7ac95b5afaae}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_mtx@{sc\_mtx}}
\index{sc\_mtx@{sc\_mtx}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_mtx}{sc\_mtx}}
{\footnotesize\ttfamily struct mtx usbhid\+\_\+softc\+::sc\+\_\+mtx}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00129}{129}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00809}{usbhid\+\_\+attach()}}, \mbox{\hyperlink{usbhid_8c_source_l00853}{usbhid\+\_\+detach()}}, \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, \mbox{\hyperlink{usbhid_8c_source_l00422}{usbhid\+\_\+intr\+\_\+start()}}, and \mbox{\hyperlink{usbhid_8c_source_l00479}{usbhid\+\_\+sync\+\_\+xfer()}}.

\mbox{\Hypertarget{structusbhid__softc_ae6a30acc0ccb69f1d292d9536836e067}\label{structusbhid__softc_ae6a30acc0ccb69f1d292d9536836e067}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_udev@{sc\_udev}}
\index{sc\_udev@{sc\_udev}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_udev}{sc\_udev}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structusb__device}{usb\+\_\+device}}$\ast$ usbhid\+\_\+softc\+::sc\+\_\+udev}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00135}{135}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00809}{usbhid\+\_\+attach()}}, \mbox{\hyperlink{usbhid_8c_source_l00541}{usbhid\+\_\+get\+\_\+rdesc()}}, \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, and \mbox{\hyperlink{usbhid_8c_source_l00683}{usbhid\+\_\+ioctl()}}.

\mbox{\Hypertarget{structusbhid__softc_a2aa35969707e8b45379b1a8648460944}\label{structusbhid__softc_a2aa35969707e8b45379b1a8648460944}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_xfer@{sc\_xfer}}
\index{sc\_xfer@{sc\_xfer}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_xfer}{sc\_xfer}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structusb__xfer}{usb\+\_\+xfer}}$\ast$ usbhid\+\_\+softc\+::sc\+\_\+xfer\mbox{[}\mbox{\hyperlink{usbhid_8c_a1ec8916ee2171ea5577d0863ed408e51}{POLL\+\_\+\+XFER}}(\mbox{\hyperlink{usbhid_8c_a05589fbab0657f08285ebdfe93f5ec9eaeb5ae114f6baaa7a35fe7fa3fb7a3452}{USBHID\+\_\+\+N\+\_\+\+TRANSFER}})\mbox{]}}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00131}{131}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00466}{usbhid\+\_\+intr\+\_\+poll()}}, \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, \mbox{\hyperlink{usbhid_8c_source_l00422}{usbhid\+\_\+intr\+\_\+start()}}, \mbox{\hyperlink{usbhid_8c_source_l00453}{usbhid\+\_\+intr\+\_\+stop()}}, \mbox{\hyperlink{usbhid_8c_source_l00409}{usbhid\+\_\+intr\+\_\+unsetup()}}, \mbox{\hyperlink{usbhid_8c_source_l00479}{usbhid\+\_\+sync\+\_\+xfer()}}, and \mbox{\hyperlink{usbhid_8c_source_l00324}{usbhid\+\_\+xfer\+\_\+check\+\_\+len()}}.

\mbox{\Hypertarget{structusbhid__softc_aaeb021debdf21b0746a2bd95b1c86786}\label{structusbhid__softc_aaeb021debdf21b0746a2bd95b1c86786}} 
\index{usbhid\_softc@{usbhid\_softc}!sc\_xfer\_ctx@{sc\_xfer\_ctx}}
\index{sc\_xfer\_ctx@{sc\_xfer\_ctx}!usbhid\_softc@{usbhid\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_xfer\_ctx}{sc\_xfer\_ctx}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structusbhid__xfer__ctx}{usbhid\+\_\+xfer\+\_\+ctx}} usbhid\+\_\+softc\+::sc\+\_\+xfer\+\_\+ctx\mbox{[}\mbox{\hyperlink{usbhid_8c_a1ec8916ee2171ea5577d0863ed408e51}{POLL\+\_\+\+XFER}}(\mbox{\hyperlink{usbhid_8c_a05589fbab0657f08285ebdfe93f5ec9eaeb5ae114f6baaa7a35fe7fa3fb7a3452}{USBHID\+\_\+\+N\+\_\+\+TRANSFER}})\mbox{]}}



Definition at line \mbox{\hyperlink{usbhid_8c_source_l00132}{132}} of file \mbox{\hyperlink{usbhid_8c_source}{usbhid.\+c}}.



Referenced by \mbox{\hyperlink{usbhid_8c_source_l00336}{usbhid\+\_\+intr\+\_\+setup()}}, \mbox{\hyperlink{usbhid_8c_source_l00422}{usbhid\+\_\+intr\+\_\+start()}}, and \mbox{\hyperlink{usbhid_8c_source_l00479}{usbhid\+\_\+sync\+\_\+xfer()}}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dev/usb/input/\mbox{\hyperlink{usbhid_8c}{usbhid.\+c}}\end{DoxyCompactItemize}
