\hypertarget{generic__xhci__fdt_8c}{}\doxysection{dev/usb/controller/generic\+\_\+xhci\+\_\+fdt.c File Reference}
\label{generic__xhci__fdt_8c}\index{dev/usb/controller/generic\_xhci\_fdt.c@{dev/usb/controller/generic\_xhci\_fdt.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+bus.\+h\char`\"{}}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/condvar.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usbdi.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+core.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+busdma.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+process.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+controller.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+bus.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/controller/xhci.\+h$>$}\newline
{\ttfamily \#include $<$dev/ofw/ofw\+\_\+bus.\+h$>$}\newline
{\ttfamily \#include $<$dev/ofw/ofw\+\_\+bus\+\_\+subr.\+h$>$}\newline
{\ttfamily \#include $<$dev/extres/phy/phy.\+h$>$}\newline
{\ttfamily \#include \char`\"{}generic\+\_\+xhci.\+h\char`\"{}}\newline
Include dependency graph for generic\+\_\+xhci\+\_\+fdt.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/d6a/generic__xhci__fdt_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{generic__xhci__fdt_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static int \mbox{\hyperlink{generic__xhci__fdt_8c_accd605e19cd135c2f307c5c35674f38f}{generic\+\_\+xhci\+\_\+fdt\+\_\+probe}} (device\+\_\+t \textbf{ dev})
\item 
static int \mbox{\hyperlink{generic__xhci__fdt_8c_a68aa5fc1ac57141bbafd1c8c69820fe1}{generic\+\_\+xhci\+\_\+fdt\+\_\+attach}} (device\+\_\+t \textbf{ dev})
\item 
static int \mbox{\hyperlink{generic__xhci__fdt_8c_a4eb3e4870cd67b969dd9e31c93f35fb6}{generic\+\_\+xhci\+\_\+fdt\+\_\+detach}} (device\+\_\+t \textbf{ dev})
\item 
\mbox{\hyperlink{generic__xhci__fdt_8c_a0731210f25a53b74d5f27bce953a8e60}{DEFINE\+\_\+\+CLASS\+\_\+1}} (xhci, xhci\+\_\+fdt\+\_\+driver, \mbox{\hyperlink{generic__xhci__fdt_8c_a41703019a724cd645fbfc964f6da77c7}{xhci\+\_\+fdt\+\_\+methods}}, sizeof(struct \mbox{\hyperlink{structxhci__softc}{xhci\+\_\+softc}}), \mbox{\hyperlink{generic__xhci_8h_a6959fc19737d118bc7fd038ebc4121f6}{generic\+\_\+xhci\+\_\+driver}})
\item 
\mbox{\hyperlink{generic__xhci__fdt_8c_abcd99bd2e2232437c7b5261cd61f4eab}{DRIVER\+\_\+\+MODULE}} (xhci, simplebus, xhci\+\_\+fdt\+\_\+driver, \mbox{\hyperlink{generic__xhci__fdt_8c_ad6add5d03469381c608fd77d95353f88}{xhci\+\_\+fdt\+\_\+devclass}}, 0, 0)
\item 
\mbox{\hyperlink{generic__xhci__fdt_8c_a7dd581040b8c9e6d97524fd2389bc038}{MODULE\+\_\+\+DEPEND}} (xhci, \mbox{\hyperlink{usb__if_8m_adfa3f6da9c4881e494b180c4ebb06470}{usb}}, 1, 1, 1)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static struct ofw\+\_\+compat\+\_\+data \mbox{\hyperlink{generic__xhci__fdt_8c_ab1bb129b8c62d8033fbb3adf82f284a0}{compat\+\_\+data}} \mbox{[}$\,$\mbox{]}
\item 
static device\+\_\+method\+\_\+t \mbox{\hyperlink{generic__xhci__fdt_8c_a41703019a724cd645fbfc964f6da77c7}{xhci\+\_\+fdt\+\_\+methods}} \mbox{[}$\,$\mbox{]}
\item 
static devclass\+\_\+t \mbox{\hyperlink{generic__xhci__fdt_8c_ad6add5d03469381c608fd77d95353f88}{xhci\+\_\+fdt\+\_\+devclass}}
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{generic__xhci__fdt_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{generic__xhci__fdt_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{generic__xhci__fdt_8c_a0731210f25a53b74d5f27bce953a8e60}\label{generic__xhci__fdt_8c_a0731210f25a53b74d5f27bce953a8e60}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!DEFINE\_CLASS\_1@{DEFINE\_CLASS\_1}}
\index{DEFINE\_CLASS\_1@{DEFINE\_CLASS\_1}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{DEFINE\_CLASS\_1()}{DEFINE\_CLASS\_1()}}
{\footnotesize\ttfamily DEFINE\+\_\+\+CLASS\+\_\+1 (\begin{DoxyParamCaption}\item[{xhci}]{,  }\item[{xhci\+\_\+fdt\+\_\+driver}]{,  }\item[{\mbox{\hyperlink{generic__xhci__fdt_8c_a41703019a724cd645fbfc964f6da77c7}{xhci\+\_\+fdt\+\_\+methods}}}]{,  }\item[{sizeof(struct \mbox{\hyperlink{structxhci__softc}{xhci\+\_\+softc}})}]{,  }\item[{\mbox{\hyperlink{generic__xhci_8h_a6959fc19737d118bc7fd038ebc4121f6}{generic\+\_\+xhci\+\_\+driver}}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{generic__xhci__fdt_8c_abcd99bd2e2232437c7b5261cd61f4eab}\label{generic__xhci__fdt_8c_abcd99bd2e2232437c7b5261cd61f4eab}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!DRIVER\_MODULE@{DRIVER\_MODULE}}
\index{DRIVER\_MODULE@{DRIVER\_MODULE}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{DRIVER\_MODULE()}{DRIVER\_MODULE()}}
{\footnotesize\ttfamily DRIVER\+\_\+\+MODULE (\begin{DoxyParamCaption}\item[{xhci}]{,  }\item[{simplebus}]{,  }\item[{xhci\+\_\+fdt\+\_\+driver}]{,  }\item[{\mbox{\hyperlink{generic__xhci__fdt_8c_ad6add5d03469381c608fd77d95353f88}{xhci\+\_\+fdt\+\_\+devclass}}}]{,  }\item[{0}]{,  }\item[{0}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{generic__xhci__fdt_8c_a68aa5fc1ac57141bbafd1c8c69820fe1}\label{generic__xhci__fdt_8c_a68aa5fc1ac57141bbafd1c8c69820fe1}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!generic\_xhci\_fdt\_attach@{generic\_xhci\_fdt\_attach}}
\index{generic\_xhci\_fdt\_attach@{generic\_xhci\_fdt\_attach}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{generic\_xhci\_fdt\_attach()}{generic\_xhci\_fdt\_attach()}}
{\footnotesize\ttfamily static int generic\+\_\+xhci\+\_\+fdt\+\_\+attach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00084}{84}} of file \mbox{\hyperlink{generic__xhci__fdt_8c_source}{generic\+\_\+xhci\+\_\+fdt.\+c}}.



References \textbf{ dev}, and \mbox{\hyperlink{generic__xhci_8h_source_l00041}{generic\+\_\+xhci\+\_\+attach}}.

\mbox{\Hypertarget{generic__xhci__fdt_8c_a4eb3e4870cd67b969dd9e31c93f35fb6}\label{generic__xhci__fdt_8c_a4eb3e4870cd67b969dd9e31c93f35fb6}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!generic\_xhci\_fdt\_detach@{generic\_xhci\_fdt\_detach}}
\index{generic\_xhci\_fdt\_detach@{generic\_xhci\_fdt\_detach}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{generic\_xhci\_fdt\_detach()}{generic\_xhci\_fdt\_detach()}}
{\footnotesize\ttfamily static int generic\+\_\+xhci\+\_\+fdt\+\_\+detach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00098}{98}} of file \mbox{\hyperlink{generic__xhci__fdt_8c_source}{generic\+\_\+xhci\+\_\+fdt.\+c}}.



References \textbf{ dev}, and \mbox{\hyperlink{generic__xhci_8h_source_l00042}{generic\+\_\+xhci\+\_\+detach}}.

\mbox{\Hypertarget{generic__xhci__fdt_8c_accd605e19cd135c2f307c5c35674f38f}\label{generic__xhci__fdt_8c_accd605e19cd135c2f307c5c35674f38f}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!generic\_xhci\_fdt\_probe@{generic\_xhci\_fdt\_probe}}
\index{generic\_xhci\_fdt\_probe@{generic\_xhci\_fdt\_probe}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{generic\_xhci\_fdt\_probe()}{generic\_xhci\_fdt\_probe()}}
{\footnotesize\ttfamily static int generic\+\_\+xhci\+\_\+fdt\+\_\+probe (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00069}{69}} of file \mbox{\hyperlink{generic__xhci__fdt_8c_source}{generic\+\_\+xhci\+\_\+fdt.\+c}}.



References \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00060}{compat\+\_\+data}}, \textbf{ dev}, and \mbox{\hyperlink{generic__xhci_8h_source_l00036}{XHCI\+\_\+\+HC\+\_\+\+DEVSTR}}.

\mbox{\Hypertarget{generic__xhci__fdt_8c_a7dd581040b8c9e6d97524fd2389bc038}\label{generic__xhci__fdt_8c_a7dd581040b8c9e6d97524fd2389bc038}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!MODULE\_DEPEND@{MODULE\_DEPEND}}
\index{MODULE\_DEPEND@{MODULE\_DEPEND}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_DEPEND()}{MODULE\_DEPEND()}}
{\footnotesize\ttfamily MODULE\+\_\+\+DEPEND (\begin{DoxyParamCaption}\item[{xhci}]{,  }\item[{\mbox{\hyperlink{usb__if_8m_adfa3f6da9c4881e494b180c4ebb06470}{usb}}}]{,  }\item[{1}]{,  }\item[{1}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{generic__xhci__fdt_8c_ab1bb129b8c62d8033fbb3adf82f284a0}\label{generic__xhci__fdt_8c_ab1bb129b8c62d8033fbb3adf82f284a0}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!compat\_data@{compat\_data}}
\index{compat\_data@{compat\_data}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{compat\_data}{compat\_data}}
{\footnotesize\ttfamily struct ofw\+\_\+compat\+\_\+data compat\+\_\+data\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \{\textcolor{stringliteral}{"{}marvell,armada-\/380-\/xhci"{}},     \textcolor{keyword}{true}\},}
\DoxyCodeLine{        \{\textcolor{stringliteral}{"{}marvell,armada3700-\/xhci"{}},     \textcolor{keyword}{true}\},}
\DoxyCodeLine{        \{\textcolor{stringliteral}{"{}marvell,armada-\/8k-\/xhci"{}},      \textcolor{keyword}{true}\},}
\DoxyCodeLine{        \{\textcolor{stringliteral}{"{}generic-\/xhci"{}},                \textcolor{keyword}{true}\},}
\DoxyCodeLine{        \{NULL,                          \textcolor{keyword}{false}\}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00060}{60}} of file \mbox{\hyperlink{generic__xhci__fdt_8c_source}{generic\+\_\+xhci\+\_\+fdt.\+c}}.



Referenced by \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00069}{generic\+\_\+xhci\+\_\+fdt\+\_\+probe()}}.

\mbox{\Hypertarget{generic__xhci__fdt_8c_ad6add5d03469381c608fd77d95353f88}\label{generic__xhci__fdt_8c_ad6add5d03469381c608fd77d95353f88}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!xhci\_fdt\_devclass@{xhci\_fdt\_devclass}}
\index{xhci\_fdt\_devclass@{xhci\_fdt\_devclass}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{xhci\_fdt\_devclass}{xhci\_fdt\_devclass}}
{\footnotesize\ttfamily devclass\+\_\+t xhci\+\_\+fdt\+\_\+devclass\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00127}{127}} of file \mbox{\hyperlink{generic__xhci__fdt_8c_source}{generic\+\_\+xhci\+\_\+fdt.\+c}}.

\mbox{\Hypertarget{generic__xhci__fdt_8c_a41703019a724cd645fbfc964f6da77c7}\label{generic__xhci__fdt_8c_a41703019a724cd645fbfc964f6da77c7}} 
\index{generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}!xhci\_fdt\_methods@{xhci\_fdt\_methods}}
\index{xhci\_fdt\_methods@{xhci\_fdt\_methods}!generic\_xhci\_fdt.c@{generic\_xhci\_fdt.c}}
\doxysubsubsection{\texorpdfstring{xhci\_fdt\_methods}{xhci\_fdt\_methods}}
{\footnotesize\ttfamily device\+\_\+method\+\_\+t xhci\+\_\+fdt\+\_\+methods\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(device\_probe, \mbox{\hyperlink{generic__xhci__fdt_8c_accd605e19cd135c2f307c5c35674f38f}{generic\_xhci\_fdt\_probe}}),}
\DoxyCodeLine{        DEVMETHOD(device\_attach, \mbox{\hyperlink{generic__xhci__fdt_8c_a68aa5fc1ac57141bbafd1c8c69820fe1}{generic\_xhci\_fdt\_attach}}),}
\DoxyCodeLine{        DEVMETHOD(device\_detach, \mbox{\hyperlink{generic__xhci__fdt_8c_a4eb3e4870cd67b969dd9e31c93f35fb6}{generic\_xhci\_fdt\_detach}}),}
\DoxyCodeLine{}
\DoxyCodeLine{        DEVMETHOD\_END}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{generic__xhci__fdt_8c_source_l00115}{115}} of file \mbox{\hyperlink{generic__xhci__fdt_8c_source}{generic\+\_\+xhci\+\_\+fdt.\+c}}.

