\hypertarget{generic__usb__if_8m_source}{}\doxysection{generic\+\_\+usb\+\_\+if.\+m}
\label{generic__usb__if_8m_source}\index{dev/usb/controller/generic\_usb\_if.m@{dev/usb/controller/generic\_usb\_if.m}}
\mbox{\hyperlink{generic__usb__if_8m}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00001}00001 \textcolor{preprocessor}{\#-\/}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00002}00002 \textcolor{preprocessor}{\# Copyright (c) 2016 Emmanuel Vadot <manu@freebsd.org>}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00003}00003 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00004}00004 \textcolor{preprocessor}{\# Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00005}00005 \textcolor{preprocessor}{\# modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00006}00006 \textcolor{preprocessor}{\# are met:}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00007}00007 \textcolor{preprocessor}{\# 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00008}00008 \textcolor{preprocessor}{\#    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00009}00009 \textcolor{preprocessor}{\# 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00010}00010 \textcolor{preprocessor}{\#    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00011}00011 \textcolor{preprocessor}{\#    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00012}00012 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00013}00013 \textcolor{preprocessor}{\# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00014}00014 \textcolor{preprocessor}{\# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00015}00015 \textcolor{preprocessor}{\# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00016}00016 \textcolor{preprocessor}{\# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00017}00017 \textcolor{preprocessor}{\# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00018}00018 \textcolor{preprocessor}{\# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00019}00019 \textcolor{preprocessor}{\# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00020}00020 \textcolor{preprocessor}{\# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00021}00021 \textcolor{preprocessor}{\# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00022}00022 \textcolor{preprocessor}{\# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00023}00023 \textcolor{preprocessor}{\# SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00024}00024 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00025}00025 \textcolor{preprocessor}{\# \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00026}00026 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00028}\mbox{\hyperlink{generic__usb__if_8m_a02a68bac9d0447d4573f836dcf19cb98}{00028}} INTERFACE \mbox{\hyperlink{generic__usb__if_8m_a02a68bac9d0447d4573f836dcf19cb98}{generic\_usb}};}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00029}00029 }
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00030}\mbox{\hyperlink{generic__usb__if_8m_ab10338e29c30e470019afad1d8f9a5ff}{00030}} \mbox{\hyperlink{generic__usb__if_8m_ab10338e29c30e470019afad1d8f9a5ff}{CODE}} \{}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00031}00031         \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00032}00032         \mbox{\hyperlink{generic__usb__if_8m_a3cb8cf8c15250cab600038f8a15bfd20}{generic\_usb\_default\_init}}(device\_t dev)}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00033}00033         \{}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00034}00034                 \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00035}00035         \}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00037}00037         \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00038}00038         \mbox{\hyperlink{generic__usb__if_8m_a1b7f99e58509b851997fffcabcc5d071}{generic\_usb\_default\_deinit}}(device\_t dev)}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00039}00039         \{}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00040}00040                 \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00041}00041         \}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00042}00042 \};}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00043}00043 }
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00044}\mbox{\hyperlink{generic__usb__if_8m_a652fb7d1d6d443208b11e7d296fb845a}{00044}} \mbox{\hyperlink{generic__usb__if_8m_a652fb7d1d6d443208b11e7d296fb845a}{HEADER}} \{}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00045}00045 \};}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00046}00046 }
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00047}00047 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00048}00048 \textcolor{preprocessor}{\# Initialize the SoC bits}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00049}00049 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00050}\mbox{\hyperlink{generic__usb__if_8m_a4f9143db5c2f9568347baba214e311f7}{00050}} METHOD \textcolor{keywordtype}{int} \mbox{\hyperlink{generic__usb__if_8m_a4f9143db5c2f9568347baba214e311f7}{init}} \{}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00051}00051         device\_t dev;}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00052}\mbox{\hyperlink{generic__usb__if_8m_a3cb8cf8c15250cab600038f8a15bfd20}{00052}} \} DEFAULT \mbox{\hyperlink{generic__usb__if_8m_a3cb8cf8c15250cab600038f8a15bfd20}{generic\_usb\_default\_init}};}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00054}00054 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00055}00055 \textcolor{preprocessor}{\# Deinitialize the SoC bits}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00056}00056 \textcolor{preprocessor}{\#}}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00057}\mbox{\hyperlink{generic__usb__if_8m_a0903c41f51673bd34c5621839dc9781d}{00057}} METHOD \textcolor{keywordtype}{int} \mbox{\hyperlink{generic__usb__if_8m_a0903c41f51673bd34c5621839dc9781d}{deinit}} \{}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00058}00058         device\_t dev;}
\DoxyCodeLine{\Hypertarget{generic__usb__if_8m_source_l00059}\mbox{\hyperlink{generic__usb__if_8m_a1b7f99e58509b851997fffcabcc5d071}{00059}} \} DEFAULT \mbox{\hyperlink{generic__usb__if_8m_a1b7f99e58509b851997fffcabcc5d071}{generic\_usb\_default\_deinit}};}

\end{DoxyCode}
