\hypertarget{micphy_8c}{}\doxysection{dev/mii/micphy.c File Reference}
\label{micphy_8c}\index{dev/mii/micphy.c@{dev/mii/micphy.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/socket.\+h$>$}\newline
{\ttfamily \#include $<$sys/errno.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$machine/bus.\+h$>$}\newline
{\ttfamily \#include $<$net/if.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+media.\+h$>$}\newline
{\ttfamily \#include $<$dev/mii/mii.\+h$>$}\newline
{\ttfamily \#include $<$dev/mii/miivar.\+h$>$}\newline
{\ttfamily \#include \char`\"{}miidevs.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}miibus\+\_\+if.\+h\char`\"{}}\newline
{\ttfamily \#include $<$dev/fdt/fdt\+\_\+common.\+h$>$}\newline
{\ttfamily \#include $<$dev/ofw/openfirm.\+h$>$}\newline
{\ttfamily \#include $<$dev/ofw/ofw\+\_\+bus.\+h$>$}\newline
{\ttfamily \#include $<$dev/ofw/ofw\+\_\+bus\+\_\+subr.\+h$>$}\newline
{\ttfamily \#include $<$dev/mii/mii\+\_\+fdt.\+h$>$}\newline
Include dependency graph for micphy.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{de/d5a/micphy_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{micphy_8c_addc3f725a3567246f924d08ea1968a09}{MII\+\_\+\+KSZPHY\+\_\+\+EXTREG}}~0x0b
\item 
\#define \mbox{\hyperlink{micphy_8c_ad8d5e7236d1b410b158540c90097885a}{KSZPHY\+\_\+\+EXTREG\+\_\+\+WRITE}}~(1 $<$$<$ 15)
\item 
\#define \mbox{\hyperlink{micphy_8c_acb5515f9c875f905c7cef0b6d7dd050e}{MII\+\_\+\+KSZPHY\+\_\+\+EXTREG\+\_\+\+WRITE}}~0x0c
\item 
\#define \mbox{\hyperlink{micphy_8c_ad604cc12549ff11252b85bb41c3cd321}{MII\+\_\+\+KSZPHY\+\_\+\+EXTREG\+\_\+\+READ}}~0x0d
\item 
\#define \mbox{\hyperlink{micphy_8c_a2b6af80e26e4a1460766512c0fe757e0}{MII\+\_\+\+KSZPHY\+\_\+\+CLK\+\_\+\+CONTROL\+\_\+\+PAD\+\_\+\+SKEW}}~0x104
\item 
\#define \mbox{\hyperlink{micphy_8c_ac51f78a976a2ee4e15d8f67d9001ba6b}{MII\+\_\+\+KSZPHY\+\_\+\+RX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}~0x105
\item 
\#define \mbox{\hyperlink{micphy_8c_a7c6fbf2773ac028320a764a3c943a316}{MII\+\_\+\+KSZPHY\+\_\+\+TX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}~0x106
\item 
\#define \mbox{\hyperlink{micphy_8c_abcdcbf8b859c1c1fb3ee537ca066ea83}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+CTRL}}~0x0d
\item 
\#define \mbox{\hyperlink{micphy_8c_a078b870e4600ad002d5c6542bdb1f2b7}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+DATA}}~0x0e
\item 
\#define \mbox{\hyperlink{micphy_8c_a10b26bc38113cc78fd97caba3276ddaf}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+DATA\+\_\+\+NOINC}}~(1 $<$$<$ 14)
\item 
\#define \mbox{\hyperlink{micphy_8c_a6f2295aabe379aeca020e4790cc64fec}{MII\+\_\+\+KSZ9031\+\_\+\+CONTROL\+\_\+\+PAD\+\_\+\+SKEW}}~0x4
\item 
\#define \mbox{\hyperlink{micphy_8c_aa21824a16f77aa9a408b7f63fc4a5dc4}{MII\+\_\+\+KSZ9031\+\_\+\+RX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}~0x5
\item 
\#define \mbox{\hyperlink{micphy_8c_a1ba47669d8bb188248654bc53249417f}{MII\+\_\+\+KSZ9031\+\_\+\+TX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}~0x6
\item 
\#define \mbox{\hyperlink{micphy_8c_a965f9559726effd3ecb5d106d39c9f6f}{MII\+\_\+\+KSZ9031\+\_\+\+CLOCK\+\_\+\+PAD\+\_\+\+SKEW}}~0x8
\item 
\#define \mbox{\hyperlink{micphy_8c_a3ebecb08d99666bca9e01a4e4f074024}{MII\+\_\+\+KSZ8081\+\_\+\+PHYCTL2}}~0x1f
\item 
\#define \mbox{\hyperlink{micphy_8c_aacad2c3389a603ff34541175a9293e29}{PS\+\_\+\+TO\+\_\+\+REG}}(p)~((p) / 200)
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{micphy_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static int \mbox{\hyperlink{micphy_8c_a46c7c10653bb771cc0e468f412494c68}{micphy\+\_\+probe}} (device\+\_\+t)
\item 
static int \mbox{\hyperlink{micphy_8c_ae3a216792c1bd924185e7ada8852f393}{micphy\+\_\+attach}} (device\+\_\+t)
\item 
static void \mbox{\hyperlink{micphy_8c_a016a902087d1888a4c434fa68f9b855f}{micphy\+\_\+reset}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$)
\item 
static int \mbox{\hyperlink{micphy_8c_a7c224900524aefb7aa2f33c18da919be}{micphy\+\_\+service}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$, struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$, int)
\item 
\mbox{\hyperlink{micphy_8c_ab9a7cfa2e1830d875ca6e359fe7b72da}{DRIVER\+\_\+\+MODULE}} (micphy, \mbox{\hyperlink{miibus__if_8m_a4cbc1805319b363b9b338406a4b2a683}{miibus}}, \mbox{\hyperlink{micphy_8c_a9d435a8c0e9fc6f4a6fd2077f97e7e26}{micphy\+\_\+driver}}, \mbox{\hyperlink{micphy_8c_ad073500cb515038f9cdfad9cfb8a3bc0}{micphy\+\_\+devclass}}, 0, 0)
\item 
static uint32\+\_\+t \mbox{\hyperlink{micphy_8c_a912c455327bcf4cca7c05c3bce07d4f1}{ksz9031\+\_\+read}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$sc, uint32\+\_\+t devaddr, uint32\+\_\+t \mbox{\hyperlink{miibus__if_8m_aa391927e06832c3d8d2f4e89a25cdd81}{reg}})
\item 
static void \mbox{\hyperlink{micphy_8c_a14dd63cac0160f11cb59d568e89a8d8c}{ksz9031\+\_\+write}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$sc, uint32\+\_\+t devaddr, uint32\+\_\+t \mbox{\hyperlink{miibus__if_8m_aa391927e06832c3d8d2f4e89a25cdd81}{reg}}, uint32\+\_\+t \mbox{\hyperlink{miibus__if_8m_aa0ccb5ee6d882ee3605ff47745c6467b}{val}})
\item 
static uint32\+\_\+t \mbox{\hyperlink{micphy_8c_a05516290c33d49ff756da883fa17cdcb}{ksz9021\+\_\+read}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$sc, uint32\+\_\+t \mbox{\hyperlink{miibus__if_8m_aa391927e06832c3d8d2f4e89a25cdd81}{reg}})
\item 
static void \mbox{\hyperlink{micphy_8c_a0e404737ce626d5ea96d37f800fd34b7}{ksz9021\+\_\+write}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$sc, uint32\+\_\+t \mbox{\hyperlink{miibus__if_8m_aa391927e06832c3d8d2f4e89a25cdd81}{reg}}, uint32\+\_\+t \mbox{\hyperlink{miibus__if_8m_aa0ccb5ee6d882ee3605ff47745c6467b}{val}})
\item 
static void \mbox{\hyperlink{micphy_8c_a298f2d704ab7be9cde28053c9656e0dc}{ksz90x1\+\_\+load\+\_\+values}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$sc, phandle\+\_\+t node, uint32\+\_\+t dev, uint32\+\_\+t \mbox{\hyperlink{miibus__if_8m_aa391927e06832c3d8d2f4e89a25cdd81}{reg}}, char $\ast$field1, uint32\+\_\+t f1mask, int f1off, char $\ast$field2, uint32\+\_\+t f2mask, int f2off, char $\ast$field3, uint32\+\_\+t f3mask, int f3off, char $\ast$field4, uint32\+\_\+t f4mask, int f4off)
\item 
static void \mbox{\hyperlink{micphy_8c_abfb76c97d146fcffb0b2233056d2f7cd}{ksz9031\+\_\+load\+\_\+values}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$sc, phandle\+\_\+t node)
\item 
static void \mbox{\hyperlink{micphy_8c_aae94e3119516a075c71327fede010f39}{ksz9021\+\_\+load\+\_\+values}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$sc, phandle\+\_\+t node)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static device\+\_\+method\+\_\+t \mbox{\hyperlink{micphy_8c_ad5ccdabc633549045484148a01407b72}{micphy\+\_\+methods}} \mbox{[}$\,$\mbox{]}
\item 
static devclass\+\_\+t \mbox{\hyperlink{micphy_8c_ad073500cb515038f9cdfad9cfb8a3bc0}{micphy\+\_\+devclass}}
\item 
static driver\+\_\+t \mbox{\hyperlink{micphy_8c_a9d435a8c0e9fc6f4a6fd2077f97e7e26}{micphy\+\_\+driver}}
\item 
static const struct \mbox{\hyperlink{structmii__phydesc}{mii\+\_\+phydesc}} \mbox{\hyperlink{micphy_8c_a706eaaef56333806156a0c372a34bf29}{micphys}} \mbox{[}$\,$\mbox{]}
\item 
static const struct \mbox{\hyperlink{structmii__phy__funcs}{mii\+\_\+phy\+\_\+funcs}} \mbox{\hyperlink{micphy_8c_a6a6fba2be94b2125b4aac4fece466b5a}{micphy\+\_\+funcs}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{micphy_8c_ad8d5e7236d1b410b158540c90097885a}\label{micphy_8c_ad8d5e7236d1b410b158540c90097885a}} 
\index{micphy.c@{micphy.c}!KSZPHY\_EXTREG\_WRITE@{KSZPHY\_EXTREG\_WRITE}}
\index{KSZPHY\_EXTREG\_WRITE@{KSZPHY\_EXTREG\_WRITE}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{KSZPHY\_EXTREG\_WRITE}{KSZPHY\_EXTREG\_WRITE}}
{\footnotesize\ttfamily \#define KSZPHY\+\_\+\+EXTREG\+\_\+\+WRITE~(1 $<$$<$ 15)}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00065}{65}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a3ebecb08d99666bca9e01a4e4f074024}\label{micphy_8c_a3ebecb08d99666bca9e01a4e4f074024}} 
\index{micphy.c@{micphy.c}!MII\_KSZ8081\_PHYCTL2@{MII\_KSZ8081\_PHYCTL2}}
\index{MII\_KSZ8081\_PHYCTL2@{MII\_KSZ8081\_PHYCTL2}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ8081\_PHYCTL2}{MII\_KSZ8081\_PHYCTL2}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ8081\+\_\+\+PHYCTL2~0x1f}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00080}{80}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a965f9559726effd3ecb5d106d39c9f6f}\label{micphy_8c_a965f9559726effd3ecb5d106d39c9f6f}} 
\index{micphy.c@{micphy.c}!MII\_KSZ9031\_CLOCK\_PAD\_SKEW@{MII\_KSZ9031\_CLOCK\_PAD\_SKEW}}
\index{MII\_KSZ9031\_CLOCK\_PAD\_SKEW@{MII\_KSZ9031\_CLOCK\_PAD\_SKEW}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ9031\_CLOCK\_PAD\_SKEW}{MII\_KSZ9031\_CLOCK\_PAD\_SKEW}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ9031\+\_\+\+CLOCK\+\_\+\+PAD\+\_\+\+SKEW~0x8}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00078}{78}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a6f2295aabe379aeca020e4790cc64fec}\label{micphy_8c_a6f2295aabe379aeca020e4790cc64fec}} 
\index{micphy.c@{micphy.c}!MII\_KSZ9031\_CONTROL\_PAD\_SKEW@{MII\_KSZ9031\_CONTROL\_PAD\_SKEW}}
\index{MII\_KSZ9031\_CONTROL\_PAD\_SKEW@{MII\_KSZ9031\_CONTROL\_PAD\_SKEW}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ9031\_CONTROL\_PAD\_SKEW}{MII\_KSZ9031\_CONTROL\_PAD\_SKEW}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ9031\+\_\+\+CONTROL\+\_\+\+PAD\+\_\+\+SKEW~0x4}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00075}{75}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_abcdcbf8b859c1c1fb3ee537ca066ea83}\label{micphy_8c_abcdcbf8b859c1c1fb3ee537ca066ea83}} 
\index{micphy.c@{micphy.c}!MII\_KSZ9031\_MMD\_ACCESS\_CTRL@{MII\_KSZ9031\_MMD\_ACCESS\_CTRL}}
\index{MII\_KSZ9031\_MMD\_ACCESS\_CTRL@{MII\_KSZ9031\_MMD\_ACCESS\_CTRL}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ9031\_MMD\_ACCESS\_CTRL}{MII\_KSZ9031\_MMD\_ACCESS\_CTRL}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+CTRL~0x0d}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00072}{72}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a078b870e4600ad002d5c6542bdb1f2b7}\label{micphy_8c_a078b870e4600ad002d5c6542bdb1f2b7}} 
\index{micphy.c@{micphy.c}!MII\_KSZ9031\_MMD\_ACCESS\_DATA@{MII\_KSZ9031\_MMD\_ACCESS\_DATA}}
\index{MII\_KSZ9031\_MMD\_ACCESS\_DATA@{MII\_KSZ9031\_MMD\_ACCESS\_DATA}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ9031\_MMD\_ACCESS\_DATA}{MII\_KSZ9031\_MMD\_ACCESS\_DATA}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+DATA~0x0e}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00073}{73}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a10b26bc38113cc78fd97caba3276ddaf}\label{micphy_8c_a10b26bc38113cc78fd97caba3276ddaf}} 
\index{micphy.c@{micphy.c}!MII\_KSZ9031\_MMD\_DATA\_NOINC@{MII\_KSZ9031\_MMD\_DATA\_NOINC}}
\index{MII\_KSZ9031\_MMD\_DATA\_NOINC@{MII\_KSZ9031\_MMD\_DATA\_NOINC}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ9031\_MMD\_DATA\_NOINC}{MII\_KSZ9031\_MMD\_DATA\_NOINC}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+DATA\+\_\+\+NOINC~(1 $<$$<$ 14)}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00074}{74}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_aa21824a16f77aa9a408b7f63fc4a5dc4}\label{micphy_8c_aa21824a16f77aa9a408b7f63fc4a5dc4}} 
\index{micphy.c@{micphy.c}!MII\_KSZ9031\_RX\_DATA\_PAD\_SKEW@{MII\_KSZ9031\_RX\_DATA\_PAD\_SKEW}}
\index{MII\_KSZ9031\_RX\_DATA\_PAD\_SKEW@{MII\_KSZ9031\_RX\_DATA\_PAD\_SKEW}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ9031\_RX\_DATA\_PAD\_SKEW}{MII\_KSZ9031\_RX\_DATA\_PAD\_SKEW}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ9031\+\_\+\+RX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW~0x5}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00076}{76}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a1ba47669d8bb188248654bc53249417f}\label{micphy_8c_a1ba47669d8bb188248654bc53249417f}} 
\index{micphy.c@{micphy.c}!MII\_KSZ9031\_TX\_DATA\_PAD\_SKEW@{MII\_KSZ9031\_TX\_DATA\_PAD\_SKEW}}
\index{MII\_KSZ9031\_TX\_DATA\_PAD\_SKEW@{MII\_KSZ9031\_TX\_DATA\_PAD\_SKEW}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZ9031\_TX\_DATA\_PAD\_SKEW}{MII\_KSZ9031\_TX\_DATA\_PAD\_SKEW}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZ9031\+\_\+\+TX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW~0x6}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00077}{77}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a2b6af80e26e4a1460766512c0fe757e0}\label{micphy_8c_a2b6af80e26e4a1460766512c0fe757e0}} 
\index{micphy.c@{micphy.c}!MII\_KSZPHY\_CLK\_CONTROL\_PAD\_SKEW@{MII\_KSZPHY\_CLK\_CONTROL\_PAD\_SKEW}}
\index{MII\_KSZPHY\_CLK\_CONTROL\_PAD\_SKEW@{MII\_KSZPHY\_CLK\_CONTROL\_PAD\_SKEW}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZPHY\_CLK\_CONTROL\_PAD\_SKEW}{MII\_KSZPHY\_CLK\_CONTROL\_PAD\_SKEW}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZPHY\+\_\+\+CLK\+\_\+\+CONTROL\+\_\+\+PAD\+\_\+\+SKEW~0x104}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00068}{68}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_addc3f725a3567246f924d08ea1968a09}\label{micphy_8c_addc3f725a3567246f924d08ea1968a09}} 
\index{micphy.c@{micphy.c}!MII\_KSZPHY\_EXTREG@{MII\_KSZPHY\_EXTREG}}
\index{MII\_KSZPHY\_EXTREG@{MII\_KSZPHY\_EXTREG}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZPHY\_EXTREG}{MII\_KSZPHY\_EXTREG}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZPHY\+\_\+\+EXTREG~0x0b}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00064}{64}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_ad604cc12549ff11252b85bb41c3cd321}\label{micphy_8c_ad604cc12549ff11252b85bb41c3cd321}} 
\index{micphy.c@{micphy.c}!MII\_KSZPHY\_EXTREG\_READ@{MII\_KSZPHY\_EXTREG\_READ}}
\index{MII\_KSZPHY\_EXTREG\_READ@{MII\_KSZPHY\_EXTREG\_READ}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZPHY\_EXTREG\_READ}{MII\_KSZPHY\_EXTREG\_READ}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZPHY\+\_\+\+EXTREG\+\_\+\+READ~0x0d}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00067}{67}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_acb5515f9c875f905c7cef0b6d7dd050e}\label{micphy_8c_acb5515f9c875f905c7cef0b6d7dd050e}} 
\index{micphy.c@{micphy.c}!MII\_KSZPHY\_EXTREG\_WRITE@{MII\_KSZPHY\_EXTREG\_WRITE}}
\index{MII\_KSZPHY\_EXTREG\_WRITE@{MII\_KSZPHY\_EXTREG\_WRITE}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZPHY\_EXTREG\_WRITE}{MII\_KSZPHY\_EXTREG\_WRITE}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZPHY\+\_\+\+EXTREG\+\_\+\+WRITE~0x0c}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00066}{66}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_ac51f78a976a2ee4e15d8f67d9001ba6b}\label{micphy_8c_ac51f78a976a2ee4e15d8f67d9001ba6b}} 
\index{micphy.c@{micphy.c}!MII\_KSZPHY\_RX\_DATA\_PAD\_SKEW@{MII\_KSZPHY\_RX\_DATA\_PAD\_SKEW}}
\index{MII\_KSZPHY\_RX\_DATA\_PAD\_SKEW@{MII\_KSZPHY\_RX\_DATA\_PAD\_SKEW}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZPHY\_RX\_DATA\_PAD\_SKEW}{MII\_KSZPHY\_RX\_DATA\_PAD\_SKEW}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZPHY\+\_\+\+RX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW~0x105}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00069}{69}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a7c6fbf2773ac028320a764a3c943a316}\label{micphy_8c_a7c6fbf2773ac028320a764a3c943a316}} 
\index{micphy.c@{micphy.c}!MII\_KSZPHY\_TX\_DATA\_PAD\_SKEW@{MII\_KSZPHY\_TX\_DATA\_PAD\_SKEW}}
\index{MII\_KSZPHY\_TX\_DATA\_PAD\_SKEW@{MII\_KSZPHY\_TX\_DATA\_PAD\_SKEW}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{MII\_KSZPHY\_TX\_DATA\_PAD\_SKEW}{MII\_KSZPHY\_TX\_DATA\_PAD\_SKEW}}
{\footnotesize\ttfamily \#define MII\+\_\+\+KSZPHY\+\_\+\+TX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW~0x106}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00070}{70}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_aacad2c3389a603ff34541175a9293e29}\label{micphy_8c_aacad2c3389a603ff34541175a9293e29}} 
\index{micphy.c@{micphy.c}!PS\_TO\_REG@{PS\_TO\_REG}}
\index{PS\_TO\_REG@{PS\_TO\_REG}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{PS\_TO\_REG}{PS\_TO\_REG}}
{\footnotesize\ttfamily \#define PS\+\_\+\+TO\+\_\+\+REG(\begin{DoxyParamCaption}\item[{}]{p }\end{DoxyParamCaption})~((p) / 200)}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00082}{82}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



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

\mbox{\Hypertarget{micphy_8c_ab9a7cfa2e1830d875ca6e359fe7b72da}\label{micphy_8c_ab9a7cfa2e1830d875ca6e359fe7b72da}} 
\index{micphy.c@{micphy.c}!DRIVER\_MODULE@{DRIVER\_MODULE}}
\index{DRIVER\_MODULE@{DRIVER\_MODULE}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{DRIVER\_MODULE()}{DRIVER\_MODULE()}}
{\footnotesize\ttfamily DRIVER\+\_\+\+MODULE (\begin{DoxyParamCaption}\item[{micphy}]{,  }\item[{\mbox{\hyperlink{miibus__if_8m_a4cbc1805319b363b9b338406a4b2a683}{miibus}}}]{,  }\item[{\mbox{\hyperlink{micphy_8c_a9d435a8c0e9fc6f4a6fd2077f97e7e26}{micphy\+\_\+driver}}}]{,  }\item[{\mbox{\hyperlink{micphy_8c_ad073500cb515038f9cdfad9cfb8a3bc0}{micphy\+\_\+devclass}}}]{,  }\item[{0}]{,  }\item[{0}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{micphy_8c_aae94e3119516a075c71327fede010f39}\label{micphy_8c_aae94e3119516a075c71327fede010f39}} 
\index{micphy.c@{micphy.c}!ksz9021\_load\_values@{ksz9021\_load\_values}}
\index{ksz9021\_load\_values@{ksz9021\_load\_values}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{ksz9021\_load\_values()}{ksz9021\_load\_values()}}
{\footnotesize\ttfamily static void ksz9021\+\_\+load\+\_\+values (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{phandle\+\_\+t}]{node }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00231}{231}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00168}{ksz90x1\+\_\+load\+\_\+values()}}, \mbox{\hyperlink{micphy_8c_source_l00068}{MII\+\_\+\+KSZPHY\+\_\+\+CLK\+\_\+\+CONTROL\+\_\+\+PAD\+\_\+\+SKEW}}, \mbox{\hyperlink{micphy_8c_source_l00069}{MII\+\_\+\+KSZPHY\+\_\+\+RX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}, and \mbox{\hyperlink{micphy_8c_source_l00070}{MII\+\_\+\+KSZPHY\+\_\+\+TX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00253}{micphy\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_aae94e3119516a075c71327fede010f39_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=326pt]{df/dad/micphy_8c_aae94e3119516a075c71327fede010f39_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a05516290c33d49ff756da883fa17cdcb}\label{micphy_8c_a05516290c33d49ff756da883fa17cdcb}} 
\index{micphy.c@{micphy.c}!ksz9021\_read@{ksz9021\_read}}
\index{ksz9021\_read@{ksz9021\_read}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{ksz9021\_read()}{ksz9021\_read()}}
{\footnotesize\ttfamily static uint32\+\_\+t ksz9021\+\_\+read (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{uint32\+\_\+t}]{reg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00151}{151}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00064}{MII\+\_\+\+KSZPHY\+\_\+\+EXTREG}}, \mbox{\hyperlink{micphy_8c_source_l00067}{MII\+\_\+\+KSZPHY\+\_\+\+EXTREG\+\_\+\+READ}}, \mbox{\hyperlink{miivar_8h_source_l00239}{PHY\+\_\+\+READ}}, \mbox{\hyperlink{miivar_8h_source_l00242}{PHY\+\_\+\+WRITE}}, and \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00168}{ksz90x1\+\_\+load\+\_\+values()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_a05516290c33d49ff756da883fa17cdcb_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a0e404737ce626d5ea96d37f800fd34b7}\label{micphy_8c_a0e404737ce626d5ea96d37f800fd34b7}} 
\index{micphy.c@{micphy.c}!ksz9021\_write@{ksz9021\_write}}
\index{ksz9021\_write@{ksz9021\_write}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{ksz9021\_write()}{ksz9021\_write()}}
{\footnotesize\ttfamily static void ksz9021\+\_\+write (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{uint32\+\_\+t}]{reg,  }\item[{uint32\+\_\+t}]{val }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00160}{160}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00065}{KSZPHY\+\_\+\+EXTREG\+\_\+\+WRITE}}, \mbox{\hyperlink{micphy_8c_source_l00064}{MII\+\_\+\+KSZPHY\+\_\+\+EXTREG}}, \mbox{\hyperlink{micphy_8c_source_l00066}{MII\+\_\+\+KSZPHY\+\_\+\+EXTREG\+\_\+\+WRITE}}, \mbox{\hyperlink{miivar_8h_source_l00242}{PHY\+\_\+\+WRITE}}, \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}, and \mbox{\hyperlink{miibus__if_8m_source_l00023}{val}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00168}{ksz90x1\+\_\+load\+\_\+values()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_a0e404737ce626d5ea96d37f800fd34b7_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_abfb76c97d146fcffb0b2233056d2f7cd}\label{micphy_8c_abfb76c97d146fcffb0b2233056d2f7cd}} 
\index{micphy.c@{micphy.c}!ksz9031\_load\_values@{ksz9031\_load\_values}}
\index{ksz9031\_load\_values@{ksz9031\_load\_values}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{ksz9031\_load\_values()}{ksz9031\_load\_values()}}
{\footnotesize\ttfamily static void ksz9031\+\_\+load\+\_\+values (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{phandle\+\_\+t}]{node }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00213}{213}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00168}{ksz90x1\+\_\+load\+\_\+values()}}, \mbox{\hyperlink{micphy_8c_source_l00078}{MII\+\_\+\+KSZ9031\+\_\+\+CLOCK\+\_\+\+PAD\+\_\+\+SKEW}}, \mbox{\hyperlink{micphy_8c_source_l00075}{MII\+\_\+\+KSZ9031\+\_\+\+CONTROL\+\_\+\+PAD\+\_\+\+SKEW}}, \mbox{\hyperlink{micphy_8c_source_l00076}{MII\+\_\+\+KSZ9031\+\_\+\+RX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}, and \mbox{\hyperlink{micphy_8c_source_l00077}{MII\+\_\+\+KSZ9031\+\_\+\+TX\+\_\+\+DATA\+\_\+\+PAD\+\_\+\+SKEW}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00253}{micphy\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_abfb76c97d146fcffb0b2233056d2f7cd_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=326pt]{df/dad/micphy_8c_abfb76c97d146fcffb0b2233056d2f7cd_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a912c455327bcf4cca7c05c3bce07d4f1}\label{micphy_8c_a912c455327bcf4cca7c05c3bce07d4f1}} 
\index{micphy.c@{micphy.c}!ksz9031\_read@{ksz9031\_read}}
\index{ksz9031\_read@{ksz9031\_read}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{ksz9031\_read()}{ksz9031\_read()}}
{\footnotesize\ttfamily static uint32\+\_\+t ksz9031\+\_\+read (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{uint32\+\_\+t}]{devaddr,  }\item[{uint32\+\_\+t}]{reg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00122}{122}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00072}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+CTRL}}, \mbox{\hyperlink{micphy_8c_source_l00073}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+DATA}}, \mbox{\hyperlink{micphy_8c_source_l00074}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+DATA\+\_\+\+NOINC}}, \mbox{\hyperlink{miivar_8h_source_l00239}{PHY\+\_\+\+READ}}, \mbox{\hyperlink{miivar_8h_source_l00242}{PHY\+\_\+\+WRITE}}, and \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00168}{ksz90x1\+\_\+load\+\_\+values()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_a912c455327bcf4cca7c05c3bce07d4f1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a14dd63cac0160f11cb59d568e89a8d8c}\label{micphy_8c_a14dd63cac0160f11cb59d568e89a8d8c}} 
\index{micphy.c@{micphy.c}!ksz9031\_write@{ksz9031\_write}}
\index{ksz9031\_write@{ksz9031\_write}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{ksz9031\_write()}{ksz9031\_write()}}
{\footnotesize\ttfamily static void ksz9031\+\_\+write (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{uint32\+\_\+t}]{devaddr,  }\item[{uint32\+\_\+t}]{reg,  }\item[{uint32\+\_\+t}]{val }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00136}{136}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00072}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+CTRL}}, \mbox{\hyperlink{micphy_8c_source_l00073}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+ACCESS\+\_\+\+DATA}}, \mbox{\hyperlink{micphy_8c_source_l00074}{MII\+\_\+\+KSZ9031\+\_\+\+MMD\+\_\+\+DATA\+\_\+\+NOINC}}, \mbox{\hyperlink{miivar_8h_source_l00242}{PHY\+\_\+\+WRITE}}, \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}, and \mbox{\hyperlink{miibus__if_8m_source_l00023}{val}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00168}{ksz90x1\+\_\+load\+\_\+values()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_a14dd63cac0160f11cb59d568e89a8d8c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a298f2d704ab7be9cde28053c9656e0dc}\label{micphy_8c_a298f2d704ab7be9cde28053c9656e0dc}} 
\index{micphy.c@{micphy.c}!ksz90x1\_load\_values@{ksz90x1\_load\_values}}
\index{ksz90x1\_load\_values@{ksz90x1\_load\_values}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{ksz90x1\_load\_values()}{ksz90x1\_load\_values()}}
{\footnotesize\ttfamily static void ksz90x1\+\_\+load\+\_\+values (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{phandle\+\_\+t}]{node,  }\item[{uint32\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{reg,  }\item[{char $\ast$}]{field1,  }\item[{uint32\+\_\+t}]{f1mask,  }\item[{int}]{f1off,  }\item[{char $\ast$}]{field2,  }\item[{uint32\+\_\+t}]{f2mask,  }\item[{int}]{f2off,  }\item[{char $\ast$}]{field3,  }\item[{uint32\+\_\+t}]{f3mask,  }\item[{int}]{f3off,  }\item[{char $\ast$}]{field4,  }\item[{uint32\+\_\+t}]{f4mask,  }\item[{int}]{f4off }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00168}{168}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00151}{ksz9021\+\_\+read()}}, \mbox{\hyperlink{micphy_8c_source_l00160}{ksz9021\+\_\+write()}}, \mbox{\hyperlink{micphy_8c_source_l00122}{ksz9031\+\_\+read()}}, \mbox{\hyperlink{micphy_8c_source_l00136}{ksz9031\+\_\+write()}}, \mbox{\hyperlink{miivar_8h_source_l00109}{mii\+\_\+softc\+::mii\+\_\+mpd\+\_\+model}}, \mbox{\hyperlink{micphy_8c_source_l00082}{PS\+\_\+\+TO\+\_\+\+REG}}, \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}, and \mbox{\hyperlink{miibus__if_8m_source_l00023}{val}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00231}{ksz9021\+\_\+load\+\_\+values()}}, and \mbox{\hyperlink{micphy_8c_source_l00213}{ksz9031\+\_\+load\+\_\+values()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=324pt]{df/dad/micphy_8c_a298f2d704ab7be9cde28053c9656e0dc_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_a298f2d704ab7be9cde28053c9656e0dc_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_ae3a216792c1bd924185e7ada8852f393}\label{micphy_8c_ae3a216792c1bd924185e7ada8852f393}} 
\index{micphy.c@{micphy.c}!micphy\_attach@{micphy\_attach}}
\index{micphy\_attach@{micphy\_attach}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_attach()}{micphy\_attach()}}
{\footnotesize\ttfamily static int micphy\+\_\+attach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00253}{253}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00231}{ksz9021\+\_\+load\+\_\+values()}}, \mbox{\hyperlink{micphy_8c_source_l00213}{ksz9031\+\_\+load\+\_\+values()}}, \mbox{\hyperlink{micphy_8c_source_l00115}{micphy\+\_\+funcs}}, \mbox{\hyperlink{mii__fdt_8c_source_l00184}{mii\+\_\+fdt\+\_\+get\+\_\+config()}}, \mbox{\hyperlink{miivar_8h_source_l00109}{mii\+\_\+softc\+::mii\+\_\+mpd\+\_\+model}}, \mbox{\hyperlink{mii__physubr_8c_source_l00585}{mii\+\_\+phy\+\_\+dev\+\_\+attach()}}, \mbox{\hyperlink{mii__physubr_8c_source_l00123}{mii\+\_\+phy\+\_\+setmedia()}}, \mbox{\hyperlink{miibus__if_8m_source_l00005}{miibus}}, \mbox{\hyperlink{miivar_8h_source_l00148}{MIIF\+\_\+\+NOMANPAUSE}}, and \mbox{\hyperlink{mii__fdt_8h_source_l00041}{mii\+\_\+fdt\+\_\+phy\+\_\+config\+::phynode}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_ae3a216792c1bd924185e7ada8852f393_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a46c7c10653bb771cc0e468f412494c68}\label{micphy_8c_a46c7c10653bb771cc0e468f412494c68}} 
\index{micphy.c@{micphy.c}!micphy\_probe@{micphy\_probe}}
\index{micphy\_probe@{micphy\_probe}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_probe()}{micphy\_probe()}}
{\footnotesize\ttfamily static int micphy\+\_\+probe (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00246}{246}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00108}{micphys}}, and \mbox{\hyperlink{mii__physubr_8c_source_l00573}{mii\+\_\+phy\+\_\+dev\+\_\+probe()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dad/micphy_8c_a46c7c10653bb771cc0e468f412494c68_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a016a902087d1888a4c434fa68f9b855f}\label{micphy_8c_a016a902087d1888a4c434fa68f9b855f}} 
\index{micphy.c@{micphy.c}!micphy\_reset@{micphy\_reset}}
\index{micphy\_reset@{micphy\_reset}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_reset()}{micphy\_reset()}}
{\footnotesize\ttfamily static void micphy\+\_\+reset (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00287}{287}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{micphy_8c_source_l00080}{MII\+\_\+\+KSZ8081\+\_\+\+PHYCTL2}}, \mbox{\hyperlink{miivar_8h_source_l00109}{mii\+\_\+softc\+::mii\+\_\+mpd\+\_\+model}}, \mbox{\hyperlink{mii__physubr_8c_source_l00334}{mii\+\_\+phy\+\_\+reset()}}, \mbox{\hyperlink{miivar_8h_source_l00239}{PHY\+\_\+\+READ}}, \mbox{\hyperlink{miivar_8h_source_l00242}{PHY\+\_\+\+WRITE}}, and \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=285pt]{df/dad/micphy_8c_a016a902087d1888a4c434fa68f9b855f_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{micphy_8c_a7c224900524aefb7aa2f33c18da919be}\label{micphy_8c_a7c224900524aefb7aa2f33c18da919be}} 
\index{micphy.c@{micphy.c}!micphy\_service@{micphy\_service}}
\index{micphy\_service@{micphy\_service}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_service()}{micphy\_service()}}
{\footnotesize\ttfamily static int micphy\+\_\+service (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{sc,  }\item[{struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$}]{mii,  }\item[{int}]{cmd }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00305}{305}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00095}{MII\+\_\+\+MEDIACHG}}, \mbox{\hyperlink{mii__physubr_8c_source_l00123}{mii\+\_\+phy\+\_\+setmedia()}}, \mbox{\hyperlink{mii__physubr_8c_source_l00291}{mii\+\_\+phy\+\_\+tick()}}, \mbox{\hyperlink{mii__physubr_8c_source_l00364}{mii\+\_\+phy\+\_\+update()}}, \mbox{\hyperlink{miivar_8h_source_l00096}{MII\+\_\+\+POLLSTAT}}, \mbox{\hyperlink{miivar_8h_source_l00094}{MII\+\_\+\+TICK}}, and \mbox{\hyperlink{miivar_8h_source_l00248}{PHY\+\_\+\+STATUS}}.

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


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{micphy_8c_ad073500cb515038f9cdfad9cfb8a3bc0}\label{micphy_8c_ad073500cb515038f9cdfad9cfb8a3bc0}} 
\index{micphy.c@{micphy.c}!micphy\_devclass@{micphy\_devclass}}
\index{micphy\_devclass@{micphy\_devclass}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_devclass}{micphy\_devclass}}
{\footnotesize\ttfamily devclass\+\_\+t micphy\+\_\+devclass\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{micphy_8c_source_l00098}{98}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a9d435a8c0e9fc6f4a6fd2077f97e7e26}\label{micphy_8c_a9d435a8c0e9fc6f4a6fd2077f97e7e26}} 
\index{micphy.c@{micphy.c}!micphy\_driver@{micphy\_driver}}
\index{micphy\_driver@{micphy\_driver}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_driver}{micphy\_driver}}
{\footnotesize\ttfamily driver\+\_\+t micphy\+\_\+driver\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}micphy"{}},}
\DoxyCodeLine{        \mbox{\hyperlink{micphy_8c_ad5ccdabc633549045484148a01407b72}{micphy\_methods}},}
\DoxyCodeLine{        \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct }\mbox{\hyperlink{structmii__softc}{mii\_softc}})}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{micphy_8c_source_l00100}{100}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a6a6fba2be94b2125b4aac4fece466b5a}\label{micphy_8c_a6a6fba2be94b2125b4aac4fece466b5a}} 
\index{micphy.c@{micphy.c}!micphy\_funcs@{micphy\_funcs}}
\index{micphy\_funcs@{micphy\_funcs}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_funcs}{micphy\_funcs}}
{\footnotesize\ttfamily const struct \mbox{\hyperlink{structmii__phy__funcs}{mii\+\_\+phy\+\_\+funcs}} micphy\+\_\+funcs\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \mbox{\hyperlink{micphy_8c_a7c224900524aefb7aa2f33c18da919be}{micphy\_service}},}
\DoxyCodeLine{        \mbox{\hyperlink{miivar_8h_af0fe8ba84ff2d8de4b480836f1cd7bbc}{ukphy\_status}},}
\DoxyCodeLine{        \mbox{\hyperlink{micphy_8c_a016a902087d1888a4c434fa68f9b855f}{micphy\_reset}}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{micphy_8c_source_l00115}{115}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00253}{micphy\+\_\+attach()}}.

\mbox{\Hypertarget{micphy_8c_ad5ccdabc633549045484148a01407b72}\label{micphy_8c_ad5ccdabc633549045484148a01407b72}} 
\index{micphy.c@{micphy.c}!micphy\_methods@{micphy\_methods}}
\index{micphy\_methods@{micphy\_methods}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphy\_methods}{micphy\_methods}}
{\footnotesize\ttfamily device\+\_\+method\+\_\+t micphy\+\_\+methods\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(device\_probe,         \mbox{\hyperlink{micphy_8c_a46c7c10653bb771cc0e468f412494c68}{micphy\_probe}}),}
\DoxyCodeLine{        DEVMETHOD(device\_attach,        \mbox{\hyperlink{micphy_8c_ae3a216792c1bd924185e7ada8852f393}{micphy\_attach}}),}
\DoxyCodeLine{        DEVMETHOD(device\_detach,        \mbox{\hyperlink{mii__physubr_8c_af08a34e3932c19824be61fc41ee1083f}{mii\_phy\_detach}}),}
\DoxyCodeLine{        DEVMETHOD(device\_shutdown,      bus\_generic\_shutdown),}
\DoxyCodeLine{        DEVMETHOD\_END}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{micphy_8c_source_l00089}{89}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.

\mbox{\Hypertarget{micphy_8c_a706eaaef56333806156a0c372a34bf29}\label{micphy_8c_a706eaaef56333806156a0c372a34bf29}} 
\index{micphy.c@{micphy.c}!micphys@{micphys}}
\index{micphys@{micphys}!micphy.c@{micphy.c}}
\doxysubsubsection{\texorpdfstring{micphys}{micphys}}
{\footnotesize\ttfamily const struct \mbox{\hyperlink{structmii__phydesc}{mii\+\_\+phydesc}} micphys\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \mbox{\hyperlink{miivar_8h_ae87ddbe9ffefd4caca54be68c7b281fc}{MII\_PHY\_DESC}}(MICREL, KSZ8081),}
\DoxyCodeLine{        \mbox{\hyperlink{miivar_8h_ae87ddbe9ffefd4caca54be68c7b281fc}{MII\_PHY\_DESC}}(MICREL, KSZ9021),}
\DoxyCodeLine{        \mbox{\hyperlink{miivar_8h_ae87ddbe9ffefd4caca54be68c7b281fc}{MII\_PHY\_DESC}}(MICREL, KSZ9031),}
\DoxyCodeLine{        \mbox{\hyperlink{miivar_8h_a4cc657798701d214afbeff2b27c5083d}{MII\_PHY\_END}}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{micphy_8c_source_l00108}{108}} of file \mbox{\hyperlink{micphy_8c_source}{micphy.\+c}}.



Referenced by \mbox{\hyperlink{micphy_8c_source_l00246}{micphy\+\_\+probe()}}.

