\hypertarget{thunder__bgx_8c}{}\doxysection{dev/vnic/thunder\+\_\+bgx.c File Reference}
\label{thunder__bgx_8c}\index{dev/vnic/thunder\_bgx.c@{dev/vnic/thunder\_bgx.c}}
{\ttfamily \#include \char`\"{}opt\+\_\+platform.\+h\char`\"{}}\newline
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/bitset.\+h$>$}\newline
{\ttfamily \#include $<$sys/bitstring.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/endian.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/rman.\+h$>$}\newline
{\ttfamily \#include $<$sys/pciio.\+h$>$}\newline
{\ttfamily \#include $<$sys/pcpu.\+h$>$}\newline
{\ttfamily \#include $<$sys/proc.\+h$>$}\newline
{\ttfamily \#include $<$sys/socket.\+h$>$}\newline
{\ttfamily \#include $<$sys/sockio.\+h$>$}\newline
{\ttfamily \#include $<$sys/cpuset.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$net/ethernet.\+h$>$}\newline
{\ttfamily \#include $<$net/if.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+media.\+h$>$}\newline
{\ttfamily \#include $<$machine/bus.\+h$>$}\newline
{\ttfamily \#include $<$dev/pci/pcireg.\+h$>$}\newline
{\ttfamily \#include $<$dev/pci/pcivar.\+h$>$}\newline
{\ttfamily \#include \char`\"{}thunder\+\_\+bgx.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}thunder\+\_\+bgx\+\_\+var.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}nic\+\_\+reg.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}nic.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lmac\+\_\+if.\+h\char`\"{}}\newline
Include dependency graph for thunder\+\_\+bgx.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/da3/thunder__bgx_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{thunder__bgx_8c_a65597f7cfce1aea56242f50cc9e232f3}{THUNDER\+\_\+\+BGX\+\_\+\+DEVSTR}}~\char`\"{}ThunderX BGX Ethernet I/O Interface\char`\"{}
\item 
\#define \mbox{\hyperlink{thunder__bgx_8c_a472e3e0daaed39977f3694920f51d272}{BGX\+\_\+\+NODE\+\_\+\+ID\+\_\+\+MASK}}~0x1
\item 
\#define \mbox{\hyperlink{thunder__bgx_8c_a3e55951793ac89b9ff9871e0158a37b4}{BGX\+\_\+\+NODE\+\_\+\+ID\+\_\+\+SHIFT}}~24
\item 
\#define \mbox{\hyperlink{thunder__bgx_8c_abc31b5d8005f40bfea4e4b37e311b951}{DRV\+\_\+\+NAME}}~\char`\"{}thunder-\/BGX\char`\"{}
\item 
\#define \mbox{\hyperlink{thunder__bgx_8c_a5c83b7da74b54082299de70a26d0fcdf}{DRV\+\_\+\+VERSION}}~\char`\"{}1.\+0\char`\"{}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{thunder__bgx_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
\mbox{\hyperlink{thunder__bgx_8c_a72927e7c0465e307f40494b250daffee}{MALLOC\+\_\+\+DEFINE}} (M\+\_\+\+BGX, \char`\"{}thunder\+\_\+bgx\char`\"{}, \char`\"{}ThunderX BGX dynamic memory\char`\"{})
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_aa397c27f39caf6d9a8a22b475094424e}{bgx\+\_\+init\+\_\+phy}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$)
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_a190e57ff11e6eb8d5499926271eb1507}{bgx\+\_\+xaui\+\_\+check\+\_\+link}} (struct \mbox{\hyperlink{structlmac}{lmac}} $\ast$\mbox{\hyperlink{structlmac}{lmac}})
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_a9b0f1736b381efcdc03cefc28860a48b}{bgx\+\_\+get\+\_\+qlm\+\_\+mode}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$)
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_aa18e5cf863535bffc5ab5d9e135a95fa}{bgx\+\_\+init\+\_\+hw}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$)
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_ab5a763ab165f9ec925bc48cbdf0b6911}{bgx\+\_\+lmac\+\_\+enable}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$, uint8\+\_\+t)
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_abe90308d197349b527f67687d63b3191}{bgx\+\_\+lmac\+\_\+disable}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$, uint8\+\_\+t)
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_a36d0cc8c301179ebef1450fd11c36b6a}{thunder\+\_\+bgx\+\_\+probe}} (device\+\_\+t)
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_a74aa759d687ba3268384f4037f5eebe9}{thunder\+\_\+bgx\+\_\+attach}} (device\+\_\+t)
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_af5db86917f5385b678cd9a8591fe2761}{thunder\+\_\+bgx\+\_\+detach}} (device\+\_\+t)
\item 
\mbox{\hyperlink{thunder__bgx_8c_a6614c6c111c92defe16ea1287d0f0bc4}{DRIVER\+\_\+\+MODULE}} (thunder\+\_\+bgx, pci, \mbox{\hyperlink{thunder__bgx_8c_a68098ebf6857623e4c33db8c923da447}{thunder\+\_\+bgx\+\_\+driver}}, \mbox{\hyperlink{thunder__bgx_8c_a8d16e95d84181ef7fc0fb71c33de1849}{thunder\+\_\+bgx\+\_\+devclass}}, 0, 0)
\item 
\mbox{\hyperlink{thunder__bgx_8c_a38dfc8dd4d0447ba66f356c2a74ec0a5}{MODULE\+\_\+\+VERSION}} (thunder\+\_\+bgx, 1)
\item 
\mbox{\hyperlink{thunder__bgx_8c_af9977ffe117cbeaa3a69c9079bf75772}{MODULE\+\_\+\+DEPEND}} (thunder\+\_\+bgx, pci, 1, 1, 1)
\item 
\mbox{\hyperlink{thunder__bgx_8c_a2d762fe1cdb5c8d441c1fde43256f500}{MODULE\+\_\+\+DEPEND}} (thunder\+\_\+bgx, ether, 1, 1, 1)
\item 
\mbox{\hyperlink{thunder__bgx_8c_a4516f9e637ad04d7739e92c5350f3845}{MODULE\+\_\+\+DEPEND}} (thunder\+\_\+bgx, thunder\+\_\+mdio, 1, 1, 1)
\item 
static uint64\+\_\+t \mbox{\hyperlink{thunder__bgx_8c_a15a7558233b83b51923a177166f230e1}{bgx\+\_\+reg\+\_\+read}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}}, uint8\+\_\+t \mbox{\hyperlink{structlmac}{lmac}}, uint64\+\_\+t offset)
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_a408477f0e61c8120928e419aae3eadd4}{bgx\+\_\+reg\+\_\+write}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}}, uint8\+\_\+t \mbox{\hyperlink{structlmac}{lmac}}, uint64\+\_\+t offset, uint64\+\_\+t val)
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_a8916078f30381d3b74f453b37f532aa0}{bgx\+\_\+reg\+\_\+modify}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}}, uint8\+\_\+t \mbox{\hyperlink{structlmac}{lmac}}, uint64\+\_\+t offset, uint64\+\_\+t val)
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_a5277f050bc572db8bc7049a0bb31b3dc}{bgx\+\_\+poll\+\_\+reg}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}}, uint8\+\_\+t \mbox{\hyperlink{structlmac}{lmac}}, uint64\+\_\+t reg, uint64\+\_\+t mask, boolean\+\_\+t zero)
\item 
u\+\_\+int \mbox{\hyperlink{thunder__bgx_8c_a24bb62405b4f8c2af33833fa2e74218e}{bgx\+\_\+get\+\_\+map}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}})
\item 
int \mbox{\hyperlink{thunder__bgx_8c_a547710a7aafda46695f3cb1810b5b207}{bgx\+\_\+get\+\_\+lmac\+\_\+count}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx)
\item 
void \mbox{\hyperlink{thunder__bgx_8c_a9440f71d684e595fcca319185e6262ae}{bgx\+\_\+get\+\_\+lmac\+\_\+link\+\_\+state}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx, int \mbox{\hyperlink{lmac__if_8m_aabf8b98d98cc9d6df732bb2308a2e0bc}{lmacid}}, void $\ast$status)
\item 
const uint8\+\_\+t $\ast$ \mbox{\hyperlink{thunder__bgx_8c_af2f4ed813b13a6c6a94cae5c99c94779}{bgx\+\_\+get\+\_\+lmac\+\_\+mac}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx, int \mbox{\hyperlink{lmac__if_8m_aabf8b98d98cc9d6df732bb2308a2e0bc}{lmacid}})
\item 
void \mbox{\hyperlink{thunder__bgx_8c_a9f7a1423dbbace1d908cd3d85758053b}{bgx\+\_\+set\+\_\+lmac\+\_\+mac}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx, int \mbox{\hyperlink{lmac__if_8m_aabf8b98d98cc9d6df732bb2308a2e0bc}{lmacid}}, const uint8\+\_\+t $\ast$mac)
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_af4ef595df1262c7e26cfd5d6271de831}{bgx\+\_\+sgmii\+\_\+change\+\_\+link\+\_\+state}} (struct \mbox{\hyperlink{structlmac}{lmac}} $\ast$\mbox{\hyperlink{structlmac}{lmac}})
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_aade473adbf25b55b1ff89cff947f342b}{bgx\+\_\+lmac\+\_\+handler}} (void $\ast$arg)
\item 
uint64\+\_\+t \mbox{\hyperlink{thunder__bgx_8c_a09d0d4a184c698e7f5bf0466e88399f3}{bgx\+\_\+get\+\_\+rx\+\_\+stats}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx, int \mbox{\hyperlink{structlmac}{lmac}}, int \mbox{\hyperlink{nicvf__queues_8h_ae40354a1051342eb5a9db005715dcfa9}{idx}})
\item 
uint64\+\_\+t \mbox{\hyperlink{thunder__bgx_8c_a13e2a91b48c9d79bee156779c7c8d9f2}{bgx\+\_\+get\+\_\+tx\+\_\+stats}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx, int \mbox{\hyperlink{structlmac}{lmac}}, int \mbox{\hyperlink{nicvf__queues_8h_ae40354a1051342eb5a9db005715dcfa9}{idx}})
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_ad0d620502baf70bf7847202d5e3dce5a}{bgx\+\_\+flush\+\_\+dmac\+\_\+addrs}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}}, int \mbox{\hyperlink{structlmac}{lmac}})
\item 
void \mbox{\hyperlink{thunder__bgx_8c_a3089b8ff69a1dbce291e9d548d0948a1}{bgx\+\_\+add\+\_\+dmac\+\_\+addr}} (uint64\+\_\+t dmac, int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx, int \mbox{\hyperlink{structlmac}{lmac}})
\item 
void \mbox{\hyperlink{thunder__bgx_8c_aa30cae5baf452fcf35f13b5c52e59c0d}{bgx\+\_\+lmac\+\_\+internal\+\_\+loopback}} (int \mbox{\hyperlink{nic_8h_a988d89d96e7f160f44b59ada4fb6fb60}{node}}, int bgx\+\_\+idx, int lmac\+\_\+idx, boolean\+\_\+t \mbox{\hyperlink{nicvf__queues_8h_a0828ba4d77209533301b945e9e61aa64}{enable}})
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_a35a390f2af2ba96f4c38c1d7263bd0e7}{bgx\+\_\+lmac\+\_\+sgmii\+\_\+init}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}}, int \mbox{\hyperlink{lmac__if_8m_aabf8b98d98cc9d6df732bb2308a2e0bc}{lmacid}})
\item 
static int \mbox{\hyperlink{thunder__bgx_8c_a4cda3d9437a0b03696e492a5fcfc7a8f}{bgx\+\_\+lmac\+\_\+xaui\+\_\+init}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}}, int \mbox{\hyperlink{lmac__if_8m_aabf8b98d98cc9d6df732bb2308a2e0bc}{lmacid}}, int lmac\+\_\+type)
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_a13a46cf1736d0369a9220062e9d062f2}{bgx\+\_\+poll\+\_\+for\+\_\+link}} (void $\ast$arg)
\item 
static void \mbox{\hyperlink{thunder__bgx_8c_aa4b43e01f71c91753fe8c8634c26994b}{bgx\+\_\+set\+\_\+num\+\_\+ports}} (struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$\mbox{\hyperlink{structbgx}{bgx}})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$ \mbox{\hyperlink{thunder__bgx_8c_af682e9b264554517d66ed87f55a170b8}{bgx\+\_\+vnic}} \mbox{[}\mbox{\hyperlink{thunder__bgx_8h_add64979a4d10f0df04ffa00925d632ac}{MAX\+\_\+\+BGX\+\_\+\+THUNDER}}\mbox{]}
\item 
static int lmac\+\_\+count \mbox{\hyperlink{thunder__bgx_8c_a87437199d6b287bd64b86f9dcbaaefb2}{\+\_\+\+\_\+unused}}
\item 
static device\+\_\+method\+\_\+t \mbox{\hyperlink{thunder__bgx_8c_a7024af42e9f4581123f936a7aefe0996}{thunder\+\_\+bgx\+\_\+methods}} \mbox{[}$\,$\mbox{]}
\item 
static driver\+\_\+t \mbox{\hyperlink{thunder__bgx_8c_a68098ebf6857623e4c33db8c923da447}{thunder\+\_\+bgx\+\_\+driver}}
\item 
static devclass\+\_\+t \mbox{\hyperlink{thunder__bgx_8c_a8d16e95d84181ef7fc0fb71c33de1849}{thunder\+\_\+bgx\+\_\+devclass}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{thunder__bgx_8c_a472e3e0daaed39977f3694920f51d272}\label{thunder__bgx_8c_a472e3e0daaed39977f3694920f51d272}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!BGX\_NODE\_ID\_MASK@{BGX\_NODE\_ID\_MASK}}
\index{BGX\_NODE\_ID\_MASK@{BGX\_NODE\_ID\_MASK}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{BGX\_NODE\_ID\_MASK}{BGX\_NODE\_ID\_MASK}}
{\footnotesize\ttfamily \#define BGX\+\_\+\+NODE\+\_\+\+ID\+\_\+\+MASK~0x1}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00073}{73}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.

\mbox{\Hypertarget{thunder__bgx_8c_a3e55951793ac89b9ff9871e0158a37b4}\label{thunder__bgx_8c_a3e55951793ac89b9ff9871e0158a37b4}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!BGX\_NODE\_ID\_SHIFT@{BGX\_NODE\_ID\_SHIFT}}
\index{BGX\_NODE\_ID\_SHIFT@{BGX\_NODE\_ID\_SHIFT}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{BGX\_NODE\_ID\_SHIFT}{BGX\_NODE\_ID\_SHIFT}}
{\footnotesize\ttfamily \#define BGX\+\_\+\+NODE\+\_\+\+ID\+\_\+\+SHIFT~24}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00074}{74}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.

\mbox{\Hypertarget{thunder__bgx_8c_abc31b5d8005f40bfea4e4b37e311b951}\label{thunder__bgx_8c_abc31b5d8005f40bfea4e4b37e311b951}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!DRV\_NAME@{DRV\_NAME}}
\index{DRV\_NAME@{DRV\_NAME}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{DRV\_NAME}{DRV\_NAME}}
{\footnotesize\ttfamily \#define DRV\+\_\+\+NAME~\char`\"{}thunder-\/BGX\char`\"{}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00076}{76}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.

\mbox{\Hypertarget{thunder__bgx_8c_a5c83b7da74b54082299de70a26d0fcdf}\label{thunder__bgx_8c_a5c83b7da74b54082299de70a26d0fcdf}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!DRV\_VERSION@{DRV\_VERSION}}
\index{DRV\_VERSION@{DRV\_VERSION}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{DRV\_VERSION}{DRV\_VERSION}}
{\footnotesize\ttfamily \#define DRV\+\_\+\+VERSION~\char`\"{}1.\+0\char`\"{}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00077}{77}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.

\mbox{\Hypertarget{thunder__bgx_8c_a65597f7cfce1aea56242f50cc9e232f3}\label{thunder__bgx_8c_a65597f7cfce1aea56242f50cc9e232f3}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!THUNDER\_BGX\_DEVSTR@{THUNDER\_BGX\_DEVSTR}}
\index{THUNDER\_BGX\_DEVSTR@{THUNDER\_BGX\_DEVSTR}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{THUNDER\_BGX\_DEVSTR}{THUNDER\_BGX\_DEVSTR}}
{\footnotesize\ttfamily \#define THUNDER\+\_\+\+BGX\+\_\+\+DEVSTR~\char`\"{}ThunderX BGX Ethernet I/O Interface\char`\"{}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00069}{69}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



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

\mbox{\Hypertarget{thunder__bgx_8c_a3089b8ff69a1dbce291e9d548d0948a1}\label{thunder__bgx_8c_a3089b8ff69a1dbce291e9d548d0948a1}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_add\_dmac\_addr@{bgx\_add\_dmac\_addr}}
\index{bgx\_add\_dmac\_addr@{bgx\_add\_dmac\_addr}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_add\_dmac\_addr()}{bgx\_add\_dmac\_addr()}}
{\footnotesize\ttfamily void bgx\+\_\+add\+\_\+dmac\+\_\+addr (\begin{DoxyParamCaption}\item[{uint64\+\_\+t}]{dmac,  }\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx,  }\item[{int}]{lmac }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00493}{493}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00203}{BCAST\+\_\+\+ACCEPT}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00065}{BGX\+\_\+\+CMR\+\_\+\+RX\+\_\+\+DMACX\+\_\+\+CAM}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00064}{BGX\+\_\+\+CMRX\+\_\+\+RX\+\_\+\+DMAC\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00204}{CAM\+\_\+\+ACCEPT}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00037}{lmac\+::dmac}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00037}{MAX\+\_\+\+DMAC\+\_\+\+PER\+\_\+\+LMAC}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00040}{MAX\+\_\+\+DMAC\+\_\+\+PER\+\_\+\+LMAC\+\_\+\+TNS\+\_\+\+BYPASS\+\_\+\+MODE}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00199}{MCAST\+\_\+\+MODE\+\_\+\+CAM\+\_\+\+FILTER}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=319pt]{d1/da5/thunder__bgx_8c_a3089b8ff69a1dbce291e9d548d0948a1_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a3089b8ff69a1dbce291e9d548d0948a1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_ad0d620502baf70bf7847202d5e3dce5a}\label{thunder__bgx_8c_ad0d620502baf70bf7847202d5e3dce5a}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_flush\_dmac\_addrs@{bgx\_flush\_dmac\_addrs}}
\index{bgx\_flush\_dmac\_addrs@{bgx\_flush\_dmac\_addrs}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_flush\_dmac\_addrs()}{bgx\_flush\_dmac\_addrs()}}
{\footnotesize\ttfamily static void bgx\+\_\+flush\+\_\+dmac\+\_\+addrs (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{int}]{lmac }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00480}{480}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00065}{BGX\+\_\+\+CMR\+\_\+\+RX\+\_\+\+DMACX\+\_\+\+CAM}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00037}{lmac\+::dmac}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, and \mbox{\hyperlink{thunder__bgx_8h_source_l00037}{MAX\+\_\+\+DMAC\+\_\+\+PER\+\_\+\+LMAC}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00912}{bgx\+\_\+lmac\+\_\+disable()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=330pt]{d1/da5/thunder__bgx_8c_ad0d620502baf70bf7847202d5e3dce5a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_ad0d620502baf70bf7847202d5e3dce5a_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a547710a7aafda46695f3cb1810b5b207}\label{thunder__bgx_8c_a547710a7aafda46695f3cb1810b5b207}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_get\_lmac\_count@{bgx\_get\_lmac\_count}}
\index{bgx\_get\_lmac\_count@{bgx\_get\_lmac\_count}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_get\_lmac\_count()}{bgx\_get\_lmac\_count()}}
{\footnotesize\ttfamily int bgx\+\_\+get\+\_\+lmac\+\_\+count (\begin{DoxyParamCaption}\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00287}{287}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00059}{bgx\+::lmac\+\_\+count}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l00598}{nic\+\_\+set\+\_\+lmac\+\_\+vf\+\_\+mapping()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a547710a7aafda46695f3cb1810b5b207_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a9440f71d684e595fcca319185e6262ae}\label{thunder__bgx_8c_a9440f71d684e595fcca319185e6262ae}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_get\_lmac\_link\_state@{bgx\_get\_lmac\_link\_state}}
\index{bgx\_get\_lmac\_link\_state@{bgx\_get\_lmac\_link\_state}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_get\_lmac\_link\_state()}{bgx\_get\_lmac\_link\_state()}}
{\footnotesize\ttfamily void bgx\+\_\+get\+\_\+lmac\+\_\+link\+\_\+state (\begin{DoxyParamCaption}\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx,  }\item[{int}]{lmacid,  }\item[{void $\ast$}]{status }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00300}{300}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00044}{lmac\+::last\+\_\+duplex}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00046}{lmac\+::last\+\_\+speed}}, \mbox{\hyperlink{lmac__if_8m_source_l00066}{link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00039}{lmac\+::link\+\_\+up}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l01202}{nic\+\_\+poll\+\_\+for\+\_\+link()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a9440f71d684e595fcca319185e6262ae_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_af2f4ed813b13a6c6a94cae5c99c94779}\label{thunder__bgx_8c_af2f4ed813b13a6c6a94cae5c99c94779}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_get\_lmac\_mac@{bgx\_get\_lmac\_mac}}
\index{bgx\_get\_lmac\_mac@{bgx\_get\_lmac\_mac}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_get\_lmac\_mac()}{bgx\_get\_lmac\_mac()}}
{\footnotesize\ttfamily const uint8\+\_\+t $\ast$ bgx\+\_\+get\+\_\+lmac\+\_\+mac (\begin{DoxyParamCaption}\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx,  }\item[{int}]{lmacid }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00317}{317}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00038}{lmac\+::mac}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l00447}{nic\+\_\+mbx\+\_\+send\+\_\+ready()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_af2f4ed813b13a6c6a94cae5c99c94779_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a24bb62405b4f8c2af33833fa2e74218e}\label{thunder__bgx_8c_a24bb62405b4f8c2af33833fa2e74218e}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_get\_map@{bgx\_get\_map}}
\index{bgx\_get\_map@{bgx\_get\_map}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_get\_map()}{bgx\_get\_map()}}
{\footnotesize\ttfamily u\+\_\+int bgx\+\_\+get\+\_\+map (\begin{DoxyParamCaption}\item[{int}]{node }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00272}{272}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l00598}{nic\+\_\+set\+\_\+lmac\+\_\+vf\+\_\+mapping()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a24bb62405b4f8c2af33833fa2e74218e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a9b0f1736b381efcdc03cefc28860a48b}\label{thunder__bgx_8c_a9b0f1736b381efcdc03cefc28860a48b}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_get\_qlm\_mode@{bgx\_get\_qlm\_mode}}
\index{bgx\_get\_qlm\_mode@{bgx\_get\_qlm\_mode}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_get\_qlm\_mode()}{bgx\_get\_qlm\_mode()}}
{\footnotesize\ttfamily static void bgx\+\_\+get\+\_\+qlm\+\_\+mode (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l01053}{1053}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00045}{BGX\+\_\+\+CMRX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00056}{bgx\+::bgx\+\_\+id}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00231}{BGX\+\_\+\+MODE\+\_\+\+RXAUI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00228}{BGX\+\_\+\+MODE\+\_\+\+SGMII}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00229}{BGX\+\_\+\+MODE\+\_\+\+XAUI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00232}{BGX\+\_\+\+MODE\+\_\+\+XFI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00233}{BGX\+\_\+\+MODE\+\_\+\+XLAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00107}{BGX\+\_\+\+SPUX\+\_\+\+BR\+\_\+\+PMD\+\_\+\+CRTL}}, \mbox{\hyperlink{nic_8h_source_l00001}{dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00057}{bgx\+::qlm\+\_\+mode}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00244}{QLM\+\_\+\+MODE\+\_\+10\+G\+\_\+\+KR\+\_\+4\+X1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00245}{QLM\+\_\+\+MODE\+\_\+40\+G\+\_\+\+KR4\+\_\+1\+X4}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00241}{QLM\+\_\+\+MODE\+\_\+\+RXAUI\+\_\+2\+X2}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00239}{QLM\+\_\+\+MODE\+\_\+\+SGMII}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00240}{QLM\+\_\+\+MODE\+\_\+\+XAUI\+\_\+1\+X4}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00242}{QLM\+\_\+\+MODE\+\_\+\+XFI\+\_\+4\+X1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00243}{QLM\+\_\+\+MODE\+\_\+\+XLAUI\+\_\+1\+X4}}, and \mbox{\hyperlink{thunder__bgx_8h_source_l00108}{SPU\+\_\+\+PMD\+\_\+\+CRTL\+\_\+\+TRAIN\+\_\+\+EN}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00136}{thunder\+\_\+bgx\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{d1/da5/thunder__bgx_8c_a9b0f1736b381efcdc03cefc28860a48b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=342pt]{d1/da5/thunder__bgx_8c_a9b0f1736b381efcdc03cefc28860a48b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a09d0d4a184c698e7f5bf0466e88399f3}\label{thunder__bgx_8c_a09d0d4a184c698e7f5bf0466e88399f3}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_get\_rx\_stats@{bgx\_get\_rx\_stats}}
\index{bgx\_get\_rx\_stats@{bgx\_get\_rx\_stats}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_get\_rx\_stats()}{bgx\_get\_rx\_stats()}}
{\footnotesize\ttfamily uint64\+\_\+t bgx\+\_\+get\+\_\+rx\+\_\+stats (\begin{DoxyParamCaption}\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx,  }\item[{int}]{lmac,  }\item[{int}]{idx }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00454}{454}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00052}{BGX\+\_\+\+CMRX\+\_\+\+RX\+\_\+\+STAT0}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{nicvf__queues_8h_source_l00010}{idx}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l00531}{nic\+\_\+get\+\_\+bgx\+\_\+stats()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=299pt]{d1/da5/thunder__bgx_8c_a09d0d4a184c698e7f5bf0466e88399f3_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a09d0d4a184c698e7f5bf0466e88399f3_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a13e2a91b48c9d79bee156779c7c8d9f2}\label{thunder__bgx_8c_a13e2a91b48c9d79bee156779c7c8d9f2}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_get\_tx\_stats@{bgx\_get\_tx\_stats}}
\index{bgx\_get\_tx\_stats@{bgx\_get\_tx\_stats}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_get\_tx\_stats()}{bgx\_get\_tx\_stats()}}
{\footnotesize\ttfamily uint64\+\_\+t bgx\+\_\+get\+\_\+tx\+\_\+stats (\begin{DoxyParamCaption}\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx,  }\item[{int}]{lmac,  }\item[{int}]{idx }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00468}{468}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00074}{BGX\+\_\+\+CMRX\+\_\+\+TX\+\_\+\+STAT0}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{nicvf__queues_8h_source_l00010}{idx}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l00531}{nic\+\_\+get\+\_\+bgx\+\_\+stats()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=299pt]{d1/da5/thunder__bgx_8c_a13e2a91b48c9d79bee156779c7c8d9f2_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a13e2a91b48c9d79bee156779c7c8d9f2_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_aa18e5cf863535bffc5ab5d9e135a95fa}\label{thunder__bgx_8c_aa18e5cf863535bffc5ab5d9e135a95fa}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_init\_hw@{bgx\_init\_hw}}
\index{bgx\_init\_hw@{bgx\_init\_hw}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_init\_hw()}{bgx\_init\_hw()}}
{\footnotesize\ttfamily static void bgx\+\_\+init\+\_\+hw (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l01006}{1006}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00072}{BGX\+\_\+\+CMR\+\_\+\+BIST\+\_\+\+STATUS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00071}{BGX\+\_\+\+CMR\+\_\+\+CHAN\+\_\+\+MSK\+\_\+\+AND}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00049}{BGX\+\_\+\+CMR\+\_\+\+GLOBAL\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00065}{BGX\+\_\+\+CMR\+\_\+\+RX\+\_\+\+DMACX\+\_\+\+CAM}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00073}{BGX\+\_\+\+CMR\+\_\+\+RX\+\_\+\+LMACS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00069}{BGX\+\_\+\+CMR\+\_\+\+RX\+\_\+\+STREERING}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00092}{BGX\+\_\+\+CMR\+\_\+\+TX\+\_\+\+LMACS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00045}{BGX\+\_\+\+CMRX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00056}{bgx\+::bgx\+\_\+id}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00231}{BGX\+\_\+\+MODE\+\_\+\+RXAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00241}{bgx\+\_\+reg\+\_\+modify()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00948}{bgx\+\_\+set\+\_\+num\+\_\+ports()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00050}{CMR\+\_\+\+GLOBAL\+\_\+\+CFG\+\_\+\+FCS\+\_\+\+STRIP}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00061}{bgx\+::lane\+\_\+to\+\_\+sds}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00059}{bgx\+::lmac\+\_\+count}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00060}{bgx\+::lmac\+\_\+type}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00041}{lmac\+::lmacid\+\_\+bd}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00036}{MAX\+\_\+\+BGX\+\_\+\+CHANS\+\_\+\+PER\+\_\+\+LMAC}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00068}{RX\+\_\+\+DMAC\+\_\+\+COUNT}}, and \mbox{\hyperlink{thunder__bgx_8h_source_l00070}{RX\+\_\+\+TRAFFIC\+\_\+\+STEER\+\_\+\+RULE\+\_\+\+COUNT}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00136}{thunder\+\_\+bgx\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_aa18e5cf863535bffc5ab5d9e135a95fa_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=304pt]{d1/da5/thunder__bgx_8c_aa18e5cf863535bffc5ab5d9e135a95fa_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_aa397c27f39caf6d9a8a22b475094424e}\label{thunder__bgx_8c_aa397c27f39caf6d9a8a22b475094424e}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_init\_phy@{bgx\_init\_phy}}
\index{bgx\_init\_phy@{bgx\_init\_phy}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_init\_phy()}{bgx\_init\_phy()}}
{\footnotesize\ttfamily static int bgx\+\_\+init\+\_\+phy (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l01130}{1130}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__fdt_8c_source_l00375}{bgx\+\_\+fdt\+\_\+init\+\_\+phy()}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00136}{thunder\+\_\+bgx\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_aa397c27f39caf6d9a8a22b475094424e_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=308pt]{d1/da5/thunder__bgx_8c_aa397c27f39caf6d9a8a22b475094424e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_abe90308d197349b527f67687d63b3191}\label{thunder__bgx_8c_abe90308d197349b527f67687d63b3191}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_lmac\_disable@{bgx\_lmac\_disable}}
\index{bgx\_lmac\_disable@{bgx\_lmac\_disable}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_lmac\_disable()}{bgx\_lmac\_disable()}}
{\footnotesize\ttfamily static void bgx\+\_\+lmac\+\_\+disable (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{uint8\+\_\+t}]{lmacid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00912}{912}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00045}{BGX\+\_\+\+CMRX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00480}{bgx\+\_\+flush\+\_\+dmac\+\_\+addrs()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00234}{BGX\+\_\+\+MODE\+\_\+10\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00235}{BGX\+\_\+\+MODE\+\_\+40\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00232}{BGX\+\_\+\+MODE\+\_\+\+XFI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00233}{BGX\+\_\+\+MODE\+\_\+\+XLAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00048}{lmac\+::check\+\_\+link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00049}{lmac\+::check\+\_\+link\+\_\+mtx}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00060}{bgx\+::lmac\+\_\+type}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00042}{lmac\+::phy\+\_\+if\+\_\+dev}}, and \mbox{\hyperlink{thunder__bgx__var_8h_source_l00043}{lmac\+::phyaddr}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00198}{thunder\+\_\+bgx\+\_\+detach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_abe90308d197349b527f67687d63b3191_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=336pt]{d1/da5/thunder__bgx_8c_abe90308d197349b527f67687d63b3191_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_ab5a763ab165f9ec925bc48cbdf0b6911}\label{thunder__bgx_8c_ab5a763ab165f9ec925bc48cbdf0b6911}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_lmac\_enable@{bgx\_lmac\_enable}}
\index{bgx\_lmac\_enable@{bgx\_lmac\_enable}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_lmac\_enable()}{bgx\_lmac\_enable()}}
{\footnotesize\ttfamily static int bgx\+\_\+lmac\+\_\+enable (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{uint8\+\_\+t}]{lmacid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{837}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00082}{\+\_\+\+\_\+unused}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00036}{lmac\+::bgx}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00493}{bgx\+\_\+add\+\_\+dmac\+\_\+addr()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00045}{BGX\+\_\+\+CMRX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00064}{BGX\+\_\+\+CMRX\+\_\+\+RX\+\_\+\+DMAC\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00167}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+TXX\+\_\+\+APPEND}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00170}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+TXX\+\_\+\+MIN\+\_\+\+PKT}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00056}{bgx\+::bgx\+\_\+id}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00408}{bgx\+\_\+lmac\+\_\+handler()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00564}{bgx\+\_\+lmac\+\_\+sgmii\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00604}{bgx\+\_\+lmac\+\_\+xaui\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00234}{BGX\+\_\+\+MODE\+\_\+10\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00235}{BGX\+\_\+\+MODE\+\_\+40\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00228}{BGX\+\_\+\+MODE\+\_\+\+SGMII}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00229}{BGX\+\_\+\+MODE\+\_\+\+XAUI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00232}{BGX\+\_\+\+MODE\+\_\+\+XFI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00233}{BGX\+\_\+\+MODE\+\_\+\+XLAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{bgx\+\_\+poll\+\_\+for\+\_\+link()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00241}{bgx\+\_\+reg\+\_\+modify()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00134}{BGX\+\_\+\+SMUX\+\_\+\+TX\+\_\+\+APPEND}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00136}{BGX\+\_\+\+SMUX\+\_\+\+TX\+\_\+\+MIN\+\_\+\+PKT}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00048}{lmac\+::check\+\_\+link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00049}{lmac\+::check\+\_\+link\+\_\+mtx}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00048}{CMR\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00047}{CMR\+\_\+\+PKT\+\_\+\+RX\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00046}{CMR\+\_\+\+PKT\+\_\+\+TX\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00047}{lmac\+::is\+\_\+sgmii}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00060}{bgx\+::lmac\+\_\+type}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00042}{lmac\+::phy\+\_\+if\+\_\+dev}}, and \mbox{\hyperlink{thunder__bgx__var_8h_source_l00043}{lmac\+::phyaddr}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00136}{thunder\+\_\+bgx\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_ab5a763ab165f9ec925bc48cbdf0b6911_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=331pt]{d1/da5/thunder__bgx_8c_ab5a763ab165f9ec925bc48cbdf0b6911_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_aade473adbf25b55b1ff89cff947f342b}\label{thunder__bgx_8c_aade473adbf25b55b1ff89cff947f342b}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_lmac\_handler@{bgx\_lmac\_handler}}
\index{bgx\_lmac\_handler@{bgx\_lmac\_handler}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_lmac\_handler()}{bgx\_lmac\_handler()}}
{\footnotesize\ttfamily static void bgx\+\_\+lmac\+\_\+handler (\begin{DoxyParamCaption}\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00408}{408}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00408}{bgx\+\_\+lmac\+\_\+handler()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00339}{bgx\+\_\+sgmii\+\_\+change\+\_\+link\+\_\+state()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00696}{bgx\+\_\+xaui\+\_\+check\+\_\+link()}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00048}{lmac\+::check\+\_\+link}}, \mbox{\hyperlink{lmac__if_8m_source_l00067}{duplex}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00047}{lmac\+::is\+\_\+sgmii}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00044}{lmac\+::last\+\_\+duplex}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00045}{lmac\+::last\+\_\+link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00046}{lmac\+::last\+\_\+speed}}, \mbox{\hyperlink{lmac__if_8m_source_l00066}{link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00039}{lmac\+::link\+\_\+up}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00040}{lmac\+::lmacid}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00042}{lmac\+::phy\+\_\+if\+\_\+dev}}, and \mbox{\hyperlink{lmac__if_8m_source_l00068}{speed}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00408}{bgx\+\_\+lmac\+\_\+handler()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_aade473adbf25b55b1ff89cff947f342b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_aade473adbf25b55b1ff89cff947f342b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_aa30cae5baf452fcf35f13b5c52e59c0d}\label{thunder__bgx_8c_aa30cae5baf452fcf35f13b5c52e59c0d}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_lmac\_internal\_loopback@{bgx\_lmac\_internal\_loopback}}
\index{bgx\_lmac\_internal\_loopback@{bgx\_lmac\_internal\_loopback}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_lmac\_internal\_loopback()}{bgx\_lmac\_internal\_loopback()}}
{\footnotesize\ttfamily void bgx\+\_\+lmac\+\_\+internal\+\_\+loopback (\begin{DoxyParamCaption}\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx,  }\item[{int}]{lmac\+\_\+idx,  }\item[{boolean\+\_\+t}]{enable }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00534}{534}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00147}{BGX\+\_\+\+GMP\+\_\+\+PCS\+\_\+\+MRX\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00094}{BGX\+\_\+\+SPUX\+\_\+\+CONTROL1}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{nicvf__queues_8h_source_l00000}{enable}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00047}{lmac\+::is\+\_\+sgmii}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, \mbox{\hyperlink{nic_8h_source_l00010}{node}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00151}{PCS\+\_\+\+MRX\+\_\+\+CTL\+\_\+\+LOOPBACK1}}, and \mbox{\hyperlink{thunder__bgx_8h_source_l00096}{SPU\+\_\+\+CTL\+\_\+\+LOOPBACK}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l00874}{nic\+\_\+config\+\_\+loopback()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_aa30cae5baf452fcf35f13b5c52e59c0d_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_aa30cae5baf452fcf35f13b5c52e59c0d_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a35a390f2af2ba96f4c38c1d7263bd0e7}\label{thunder__bgx_8c_a35a390f2af2ba96f4c38c1d7263bd0e7}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_lmac\_sgmii\_init@{bgx\_lmac\_sgmii\_init}}
\index{bgx\_lmac\_sgmii\_init@{bgx\_lmac\_sgmii\_init}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_lmac\_sgmii\_init()}{bgx\_lmac\_sgmii\_init()}}
{\footnotesize\ttfamily static int bgx\+\_\+lmac\+\_\+sgmii\+\_\+init (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{int}]{lmacid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00564}{564}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00045}{BGX\+\_\+\+CMRX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00165}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+RXX\+\_\+\+JABBER}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00167}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+TXX\+\_\+\+APPEND}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00171}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+TXX\+\_\+\+SGMII\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00166}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+TXX\+\_\+\+THRESH}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00147}{BGX\+\_\+\+GMP\+\_\+\+PCS\+\_\+\+MRX\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00153}{BGX\+\_\+\+GMP\+\_\+\+PCS\+\_\+\+MRX\+\_\+\+STATUS}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00251}{bgx\+\_\+poll\+\_\+reg()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00241}{bgx\+\_\+reg\+\_\+modify()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00048}{CMR\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00038}{MAX\+\_\+\+FRAME\+\_\+\+SIZE}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00150}{PCS\+\_\+\+MRX\+\_\+\+CTL\+\_\+\+AN\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00152}{PCS\+\_\+\+MRX\+\_\+\+CTL\+\_\+\+RESET}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00148}{PCS\+\_\+\+MRX\+\_\+\+CTL\+\_\+\+RST\+\_\+\+AN}}, and \mbox{\hyperlink{thunder__bgx_8h_source_l00154}{PCS\+\_\+\+MRX\+\_\+\+STATUS\+\_\+\+AN\+\_\+\+CPT}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a35a390f2af2ba96f4c38c1d7263bd0e7_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a35a390f2af2ba96f4c38c1d7263bd0e7_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a4cda3d9437a0b03696e492a5fcfc7a8f}\label{thunder__bgx_8c_a4cda3d9437a0b03696e492a5fcfc7a8f}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_lmac\_xaui\_init@{bgx\_lmac\_xaui\_init}}
\index{bgx\_lmac\_xaui\_init@{bgx\_lmac\_xaui\_init}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_lmac\_xaui\_init()}{bgx\_lmac\_xaui\_init()}}
{\footnotesize\ttfamily static int bgx\+\_\+lmac\+\_\+xaui\+\_\+init (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{int}]{lmacid,  }\item[{int}]{lmac\+\_\+type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00604}{604}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00045}{BGX\+\_\+\+CMRX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00234}{BGX\+\_\+\+MODE\+\_\+10\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00235}{BGX\+\_\+\+MODE\+\_\+40\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00231}{BGX\+\_\+\+MODE\+\_\+\+RXAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00251}{bgx\+\_\+poll\+\_\+reg()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00241}{bgx\+\_\+reg\+\_\+modify()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00130}{BGX\+\_\+\+SMUX\+\_\+\+RX\+\_\+\+INT}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00131}{BGX\+\_\+\+SMUX\+\_\+\+RX\+\_\+\+JABBER}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00134}{BGX\+\_\+\+SMUX\+\_\+\+TX\+\_\+\+APPEND}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00138}{BGX\+\_\+\+SMUX\+\_\+\+TX\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00137}{BGX\+\_\+\+SMUX\+\_\+\+TX\+\_\+\+INT}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00142}{BGX\+\_\+\+SMUX\+\_\+\+TX\+\_\+\+THRESH}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00126}{BGX\+\_\+\+SPU\+\_\+\+DBG\+\_\+\+CONTROL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00118}{BGX\+\_\+\+SPUX\+\_\+\+AN\+\_\+\+ADV}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00115}{BGX\+\_\+\+SPUX\+\_\+\+AN\+\_\+\+CONTROL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00107}{BGX\+\_\+\+SPUX\+\_\+\+BR\+\_\+\+PMD\+\_\+\+CRTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00110}{BGX\+\_\+\+SPUX\+\_\+\+BR\+\_\+\+PMD\+\_\+\+LD\+\_\+\+CUP}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00111}{BGX\+\_\+\+SPUX\+\_\+\+BR\+\_\+\+PMD\+\_\+\+LD\+\_\+\+REP}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00109}{BGX\+\_\+\+SPUX\+\_\+\+BR\+\_\+\+PMD\+\_\+\+LP\+\_\+\+CUP}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00094}{BGX\+\_\+\+SPUX\+\_\+\+CONTROL1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00112}{BGX\+\_\+\+SPUX\+\_\+\+FEC\+\_\+\+CONTROL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00122}{BGX\+\_\+\+SPUX\+\_\+\+INT}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00119}{BGX\+\_\+\+SPUX\+\_\+\+MISC\+\_\+\+CONTROL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00048}{CMR\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00060}{bgx\+::lmac\+\_\+type}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00038}{MAX\+\_\+\+FRAME\+\_\+\+SIZE}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00135}{SMU\+\_\+\+TX\+\_\+\+APPEND\+\_\+\+FCS\+\_\+D}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00139}{SMU\+\_\+\+TX\+\_\+\+CTL\+\_\+\+DIC\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00116}{SPU\+\_\+\+AN\+\_\+\+CTL\+\_\+\+AN\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00117}{SPU\+\_\+\+AN\+\_\+\+CTL\+\_\+\+XNP\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00095}{SPU\+\_\+\+CTL\+\_\+\+LOW\+\_\+\+POWER}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00097}{SPU\+\_\+\+CTL\+\_\+\+RESET}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00120}{SPU\+\_\+\+MISC\+\_\+\+CTL\+\_\+\+INTLV\+\_\+\+RDISP}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00121}{SPU\+\_\+\+MISC\+\_\+\+CTL\+\_\+\+RX\+\_\+\+DIS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00108}{SPU\+\_\+\+PMD\+\_\+\+CRTL\+\_\+\+TRAIN\+\_\+\+EN}}, and \mbox{\hyperlink{thunder__bgx__var_8h_source_l00062}{bgx\+::use\+\_\+training}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a4cda3d9437a0b03696e492a5fcfc7a8f_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a4cda3d9437a0b03696e492a5fcfc7a8f_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a13a46cf1736d0369a9220062e9d062f2}\label{thunder__bgx_8c_a13a46cf1736d0369a9220062e9d062f2}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_poll\_for\_link@{bgx\_poll\_for\_link}}
\index{bgx\_poll\_for\_link@{bgx\_poll\_for\_link}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_poll\_for\_link()}{bgx\_poll\_for\_link()}}
{\footnotesize\ttfamily static void bgx\+\_\+poll\+\_\+for\+\_\+link (\begin{DoxyParamCaption}\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{802}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00036}{lmac\+::bgx}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00233}{BGX\+\_\+\+MODE\+\_\+\+XLAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{bgx\+\_\+poll\+\_\+for\+\_\+link()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00251}{bgx\+\_\+poll\+\_\+reg()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00241}{bgx\+\_\+reg\+\_\+modify()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00098}{BGX\+\_\+\+SPUX\+\_\+\+STATUS1}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00696}{bgx\+\_\+xaui\+\_\+check\+\_\+link()}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00048}{lmac\+::check\+\_\+link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00044}{lmac\+::last\+\_\+duplex}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00045}{lmac\+::last\+\_\+link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00046}{lmac\+::last\+\_\+speed}}, \mbox{\hyperlink{lmac__if_8m_source_l00066}{link}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00039}{lmac\+::link\+\_\+up}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00060}{bgx\+::lmac\+\_\+type}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00040}{lmac\+::lmacid}}, and \mbox{\hyperlink{thunder__bgx_8h_source_l00099}{SPU\+\_\+\+STATUS1\+\_\+\+RCV\+\_\+\+LNK}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{bgx\+\_\+poll\+\_\+for\+\_\+link()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a13a46cf1736d0369a9220062e9d062f2_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a13a46cf1736d0369a9220062e9d062f2_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a5277f050bc572db8bc7049a0bb31b3dc}\label{thunder__bgx_8c_a5277f050bc572db8bc7049a0bb31b3dc}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_poll\_reg@{bgx\_poll\_reg}}
\index{bgx\_poll\_reg@{bgx\_poll\_reg}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_poll\_reg()}{bgx\_poll\_reg()}}
{\footnotesize\ttfamily static int bgx\+\_\+poll\+\_\+reg (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{uint8\+\_\+t}]{lmac,  }\item[{uint64\+\_\+t}]{reg,  }\item[{uint64\+\_\+t}]{mask,  }\item[{boolean\+\_\+t}]{zero }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00251}{251}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00564}{bgx\+\_\+lmac\+\_\+sgmii\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00604}{bgx\+\_\+lmac\+\_\+xaui\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{bgx\+\_\+poll\+\_\+for\+\_\+link()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00696}{bgx\+\_\+xaui\+\_\+check\+\_\+link()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=278pt]{d1/da5/thunder__bgx_8c_a5277f050bc572db8bc7049a0bb31b3dc_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a5277f050bc572db8bc7049a0bb31b3dc_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a8916078f30381d3b74f453b37f532aa0}\label{thunder__bgx_8c_a8916078f30381d3b74f453b37f532aa0}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_reg\_modify@{bgx\_reg\_modify}}
\index{bgx\_reg\_modify@{bgx\_reg\_modify}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_reg\_modify()}{bgx\_reg\_modify()}}
{\footnotesize\ttfamily static void bgx\+\_\+reg\+\_\+modify (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{uint8\+\_\+t}]{lmac,  }\item[{uint64\+\_\+t}]{offset,  }\item[{uint64\+\_\+t}]{val }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00241}{241}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00054}{bgx\+::reg\+\_\+base}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l01006}{bgx\+\_\+init\+\_\+hw()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00564}{bgx\+\_\+lmac\+\_\+sgmii\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00604}{bgx\+\_\+lmac\+\_\+xaui\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{bgx\+\_\+poll\+\_\+for\+\_\+link()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00696}{bgx\+\_\+xaui\+\_\+check\+\_\+link()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a8916078f30381d3b74f453b37f532aa0_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a15a7558233b83b51923a177166f230e1}\label{thunder__bgx_8c_a15a7558233b83b51923a177166f230e1}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_reg\_read@{bgx\_reg\_read}}
\index{bgx\_reg\_read@{bgx\_reg\_read}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_reg\_read()}{bgx\_reg\_read()}}
{\footnotesize\ttfamily static uint64\+\_\+t bgx\+\_\+reg\+\_\+read (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{uint8\+\_\+t}]{lmac,  }\item[{uint64\+\_\+t}]{offset }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{221}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00054}{bgx\+::reg\+\_\+base}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l01053}{bgx\+\_\+get\+\_\+qlm\+\_\+mode()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00454}{bgx\+\_\+get\+\_\+rx\+\_\+stats()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00468}{bgx\+\_\+get\+\_\+tx\+\_\+stats()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l01006}{bgx\+\_\+init\+\_\+hw()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00912}{bgx\+\_\+lmac\+\_\+disable()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00534}{bgx\+\_\+lmac\+\_\+internal\+\_\+loopback()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00564}{bgx\+\_\+lmac\+\_\+sgmii\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00604}{bgx\+\_\+lmac\+\_\+xaui\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{bgx\+\_\+poll\+\_\+for\+\_\+link()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00251}{bgx\+\_\+poll\+\_\+reg()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00948}{bgx\+\_\+set\+\_\+num\+\_\+ports()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00339}{bgx\+\_\+sgmii\+\_\+change\+\_\+link\+\_\+state()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00696}{bgx\+\_\+xaui\+\_\+check\+\_\+link()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a15a7558233b83b51923a177166f230e1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a408477f0e61c8120928e419aae3eadd4}\label{thunder__bgx_8c_a408477f0e61c8120928e419aae3eadd4}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_reg\_write@{bgx\_reg\_write}}
\index{bgx\_reg\_write@{bgx\_reg\_write}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_reg\_write()}{bgx\_reg\_write()}}
{\footnotesize\ttfamily static void bgx\+\_\+reg\+\_\+write (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx,  }\item[{uint8\+\_\+t}]{lmac,  }\item[{uint64\+\_\+t}]{offset,  }\item[{uint64\+\_\+t}]{val }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{231}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00054}{bgx\+::reg\+\_\+base}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00493}{bgx\+\_\+add\+\_\+dmac\+\_\+addr()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00480}{bgx\+\_\+flush\+\_\+dmac\+\_\+addrs()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l01006}{bgx\+\_\+init\+\_\+hw()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00912}{bgx\+\_\+lmac\+\_\+disable()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00534}{bgx\+\_\+lmac\+\_\+internal\+\_\+loopback()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00564}{bgx\+\_\+lmac\+\_\+sgmii\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00604}{bgx\+\_\+lmac\+\_\+xaui\+\_\+init()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00339}{bgx\+\_\+sgmii\+\_\+change\+\_\+link\+\_\+state()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00696}{bgx\+\_\+xaui\+\_\+check\+\_\+link()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a408477f0e61c8120928e419aae3eadd4_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a9f7a1423dbbace1d908cd3d85758053b}\label{thunder__bgx_8c_a9f7a1423dbbace1d908cd3d85758053b}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_set\_lmac\_mac@{bgx\_set\_lmac\_mac}}
\index{bgx\_set\_lmac\_mac@{bgx\_set\_lmac\_mac}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_set\_lmac\_mac()}{bgx\_set\_lmac\_mac()}}
{\footnotesize\ttfamily void bgx\+\_\+set\+\_\+lmac\+\_\+mac (\begin{DoxyParamCaption}\item[{int}]{node,  }\item[{int}]{bgx\+\_\+idx,  }\item[{int}]{lmacid,  }\item[{const uint8\+\_\+t $\ast$}]{mac }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00328}{328}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00058}{bgx\+::lmac}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00038}{lmac\+::mac}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, and \mbox{\hyperlink{nic_8h_source_l00010}{node}}.



Referenced by \mbox{\hyperlink{nic__main_8c_source_l00891}{nic\+\_\+handle\+\_\+mbx\+\_\+intr()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a9f7a1423dbbace1d908cd3d85758053b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_aa4b43e01f71c91753fe8c8634c26994b}\label{thunder__bgx_8c_aa4b43e01f71c91753fe8c8634c26994b}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_set\_num\_ports@{bgx\_set\_num\_ports}}
\index{bgx\_set\_num\_ports@{bgx\_set\_num\_ports}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_set\_num\_ports()}{bgx\_set\_num\_ports()}}
{\footnotesize\ttfamily static void bgx\+\_\+set\+\_\+num\+\_\+ports (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structbgx}{bgx}} $\ast$}]{bgx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00948}{948}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx_8h_source_l00073}{BGX\+\_\+\+CMR\+\_\+\+RX\+\_\+\+LMACS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00234}{BGX\+\_\+\+MODE\+\_\+10\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00235}{BGX\+\_\+\+MODE\+\_\+40\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00231}{BGX\+\_\+\+MODE\+\_\+\+RXAUI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00228}{BGX\+\_\+\+MODE\+\_\+\+SGMII}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00229}{BGX\+\_\+\+MODE\+\_\+\+XAUI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00232}{BGX\+\_\+\+MODE\+\_\+\+XFI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00233}{BGX\+\_\+\+MODE\+\_\+\+XLAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00061}{bgx\+::lane\+\_\+to\+\_\+sds}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00059}{bgx\+::lmac\+\_\+count}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00060}{bgx\+::lmac\+\_\+type}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00057}{bgx\+::qlm\+\_\+mode}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00244}{QLM\+\_\+\+MODE\+\_\+10\+G\+\_\+\+KR\+\_\+4\+X1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00245}{QLM\+\_\+\+MODE\+\_\+40\+G\+\_\+\+KR4\+\_\+1\+X4}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00241}{QLM\+\_\+\+MODE\+\_\+\+RXAUI\+\_\+2\+X2}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00239}{QLM\+\_\+\+MODE\+\_\+\+SGMII}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00240}{QLM\+\_\+\+MODE\+\_\+\+XAUI\+\_\+1\+X4}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00242}{QLM\+\_\+\+MODE\+\_\+\+XFI\+\_\+4\+X1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00243}{QLM\+\_\+\+MODE\+\_\+\+XLAUI\+\_\+1\+X4}}, and \mbox{\hyperlink{thunder__bgx__var_8h_source_l00062}{bgx\+::use\+\_\+training}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l01006}{bgx\+\_\+init\+\_\+hw()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=311pt]{d1/da5/thunder__bgx_8c_aa4b43e01f71c91753fe8c8634c26994b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_aa4b43e01f71c91753fe8c8634c26994b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_af4ef595df1262c7e26cfd5d6271de831}\label{thunder__bgx_8c_af4ef595df1262c7e26cfd5d6271de831}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_sgmii\_change\_link\_state@{bgx\_sgmii\_change\_link\_state}}
\index{bgx\_sgmii\_change\_link\_state@{bgx\_sgmii\_change\_link\_state}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_sgmii\_change\_link\_state()}{bgx\_sgmii\_change\_link\_state()}}
{\footnotesize\ttfamily static void bgx\+\_\+sgmii\+\_\+change\+\_\+link\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structlmac}{lmac}} $\ast$}]{lmac }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00339}{339}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00036}{lmac\+::bgx}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00045}{BGX\+\_\+\+CMRX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00160}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+PRTX\+\_\+\+CFG}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00169}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+TXX\+\_\+\+BURST}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00168}{BGX\+\_\+\+GMP\+\_\+\+GMI\+\_\+\+TXX\+\_\+\+SLOT}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00157}{BGX\+\_\+\+GMP\+\_\+\+PCS\+\_\+\+MISCX\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00048}{CMR\+\_\+\+EN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00163}{GMI\+\_\+\+PORT\+\_\+\+CFG\+\_\+\+SLOT\+\_\+\+TIME}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00161}{GMI\+\_\+\+PORT\+\_\+\+CFG\+\_\+\+SPEED}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00164}{GMI\+\_\+\+PORT\+\_\+\+CFG\+\_\+\+SPEED\+\_\+\+MSB}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00044}{lmac\+::last\+\_\+duplex}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00046}{lmac\+::last\+\_\+speed}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00039}{lmac\+::link\+\_\+up}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00040}{lmac\+::lmacid}}, and \mbox{\hyperlink{thunder__bgx_8h_source_l00158}{PCS\+\_\+\+MISC\+\_\+\+CTL\+\_\+\+GMX\+\_\+\+ENO}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00408}{bgx\+\_\+lmac\+\_\+handler()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=333pt]{d1/da5/thunder__bgx_8c_af4ef595df1262c7e26cfd5d6271de831_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_af4ef595df1262c7e26cfd5d6271de831_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a190e57ff11e6eb8d5499926271eb1507}\label{thunder__bgx_8c_a190e57ff11e6eb8d5499926271eb1507}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_xaui\_check\_link@{bgx\_xaui\_check\_link}}
\index{bgx\_xaui\_check\_link@{bgx\_xaui\_check\_link}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_xaui\_check\_link()}{bgx\_xaui\_check\_link()}}
{\footnotesize\ttfamily static int bgx\+\_\+xaui\+\_\+check\+\_\+link (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structlmac}{lmac}} $\ast$}]{lmac }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00696}{696}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00036}{lmac\+::bgx}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00234}{BGX\+\_\+\+MODE\+\_\+10\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00235}{BGX\+\_\+\+MODE\+\_\+40\+G\+\_\+\+KR}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00232}{BGX\+\_\+\+MODE\+\_\+\+XFI}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00233}{BGX\+\_\+\+MODE\+\_\+\+XLAUI}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00251}{bgx\+\_\+poll\+\_\+reg()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00241}{bgx\+\_\+reg\+\_\+modify()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00221}{bgx\+\_\+reg\+\_\+read()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00231}{bgx\+\_\+reg\+\_\+write()}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00143}{BGX\+\_\+\+SMUX\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00132}{BGX\+\_\+\+SMUX\+\_\+\+RX\+\_\+\+CTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00107}{BGX\+\_\+\+SPUX\+\_\+\+BR\+\_\+\+PMD\+\_\+\+CRTL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00104}{BGX\+\_\+\+SPUX\+\_\+\+BR\+\_\+\+STATUS1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00102}{BGX\+\_\+\+SPUX\+\_\+\+BX\+\_\+\+STATUS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00094}{BGX\+\_\+\+SPUX\+\_\+\+CONTROL1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00122}{BGX\+\_\+\+SPUX\+\_\+\+INT}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00119}{BGX\+\_\+\+SPUX\+\_\+\+MISC\+\_\+\+CONTROL}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00098}{BGX\+\_\+\+SPUX\+\_\+\+STATUS1}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00100}{BGX\+\_\+\+SPUX\+\_\+\+STATUS2}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00060}{bgx\+::lmac\+\_\+type}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00040}{lmac\+::lmacid}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00144}{SMU\+\_\+\+CTL\+\_\+\+RX\+\_\+\+IDLE}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00145}{SMU\+\_\+\+CTL\+\_\+\+TX\+\_\+\+IDLE}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00133}{SMU\+\_\+\+RX\+\_\+\+CTL\+\_\+\+STATUS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00105}{SPU\+\_\+\+BR\+\_\+\+STATUS\+\_\+\+BLK\+\_\+\+LOCK}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00103}{SPU\+\_\+\+BX\+\_\+\+STATUS\+\_\+\+RX\+\_\+\+ALIGN}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00097}{SPU\+\_\+\+CTL\+\_\+\+RESET}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00121}{SPU\+\_\+\+MISC\+\_\+\+CTL\+\_\+\+RX\+\_\+\+DIS}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00099}{SPU\+\_\+\+STATUS1\+\_\+\+RCV\+\_\+\+LNK}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00101}{SPU\+\_\+\+STATUS2\+\_\+\+RCVFLT}}, and \mbox{\hyperlink{thunder__bgx__var_8h_source_l00062}{bgx\+::use\+\_\+training}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00408}{bgx\+\_\+lmac\+\_\+handler()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00802}{bgx\+\_\+poll\+\_\+for\+\_\+link()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a190e57ff11e6eb8d5499926271eb1507_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a190e57ff11e6eb8d5499926271eb1507_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_a6614c6c111c92defe16ea1287d0f0bc4}\label{thunder__bgx_8c_a6614c6c111c92defe16ea1287d0f0bc4}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!DRIVER\_MODULE@{DRIVER\_MODULE}}
\index{DRIVER\_MODULE@{DRIVER\_MODULE}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{DRIVER\_MODULE()}{DRIVER\_MODULE()}}
{\footnotesize\ttfamily DRIVER\+\_\+\+MODULE (\begin{DoxyParamCaption}\item[{thunder\+\_\+bgx}]{,  }\item[{pci}]{,  }\item[{\mbox{\hyperlink{thunder__bgx_8c_a68098ebf6857623e4c33db8c923da447}{thunder\+\_\+bgx\+\_\+driver}}}]{,  }\item[{\mbox{\hyperlink{thunder__bgx_8c_a8d16e95d84181ef7fc0fb71c33de1849}{thunder\+\_\+bgx\+\_\+devclass}}}]{,  }\item[{0}]{,  }\item[{0}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{thunder__bgx_8c_a72927e7c0465e307f40494b250daffee}\label{thunder__bgx_8c_a72927e7c0465e307f40494b250daffee}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!MALLOC\_DEFINE@{MALLOC\_DEFINE}}
\index{MALLOC\_DEFINE@{MALLOC\_DEFINE}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{MALLOC\_DEFINE()}{MALLOC\_DEFINE()}}
{\footnotesize\ttfamily MALLOC\+\_\+\+DEFINE (\begin{DoxyParamCaption}\item[{M\+\_\+\+BGX}]{,  }\item[{\char`\"{}thunder\+\_\+bgx\char`\"{}}]{,  }\item[{\char`\"{}ThunderX BGX dynamic memory\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{thunder__bgx_8c_a2d762fe1cdb5c8d441c1fde43256f500}\label{thunder__bgx_8c_a2d762fe1cdb5c8d441c1fde43256f500}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!MODULE\_DEPEND@{MODULE\_DEPEND}}
\index{MODULE\_DEPEND@{MODULE\_DEPEND}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_DEPEND()}{MODULE\_DEPEND()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily MODULE\+\_\+\+DEPEND (\begin{DoxyParamCaption}\item[{thunder\+\_\+bgx}]{,  }\item[{ether}]{,  }\item[{1}]{,  }\item[{1}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{thunder__bgx_8c_af9977ffe117cbeaa3a69c9079bf75772}\label{thunder__bgx_8c_af9977ffe117cbeaa3a69c9079bf75772}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!MODULE\_DEPEND@{MODULE\_DEPEND}}
\index{MODULE\_DEPEND@{MODULE\_DEPEND}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_DEPEND()}{MODULE\_DEPEND()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily MODULE\+\_\+\+DEPEND (\begin{DoxyParamCaption}\item[{thunder\+\_\+bgx}]{,  }\item[{pci}]{,  }\item[{1}]{,  }\item[{1}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{thunder__bgx_8c_a4516f9e637ad04d7739e92c5350f3845}\label{thunder__bgx_8c_a4516f9e637ad04d7739e92c5350f3845}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!MODULE\_DEPEND@{MODULE\_DEPEND}}
\index{MODULE\_DEPEND@{MODULE\_DEPEND}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_DEPEND()}{MODULE\_DEPEND()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily MODULE\+\_\+\+DEPEND (\begin{DoxyParamCaption}\item[{thunder\+\_\+bgx}]{,  }\item[{thunder\+\_\+mdio}]{,  }\item[{1}]{,  }\item[{1}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{thunder__bgx_8c_a38dfc8dd4d0447ba66f356c2a74ec0a5}\label{thunder__bgx_8c_a38dfc8dd4d0447ba66f356c2a74ec0a5}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!MODULE\_VERSION@{MODULE\_VERSION}}
\index{MODULE\_VERSION@{MODULE\_VERSION}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_VERSION()}{MODULE\_VERSION()}}
{\footnotesize\ttfamily MODULE\+\_\+\+VERSION (\begin{DoxyParamCaption}\item[{thunder\+\_\+bgx}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{thunder__bgx_8c_a74aa759d687ba3268384f4037f5eebe9}\label{thunder__bgx_8c_a74aa759d687ba3268384f4037f5eebe9}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!thunder\_bgx\_attach@{thunder\_bgx\_attach}}
\index{thunder\_bgx\_attach@{thunder\_bgx\_attach}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{thunder\_bgx\_attach()}{thunder\_bgx\_attach()}}
{\footnotesize\ttfamily static int thunder\+\_\+bgx\+\_\+attach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00136}{136}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00036}{lmac\+::bgx}}, \mbox{\hyperlink{thunder__bgx_8c_source_l01053}{bgx\+\_\+get\+\_\+qlm\+\_\+mode()}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00056}{bgx\+::bgx\+\_\+id}}, \mbox{\hyperlink{thunder__bgx_8c_source_l01006}{bgx\+\_\+init\+\_\+hw()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l01130}{bgx\+\_\+init\+\_\+phy()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00073}{BGX\+\_\+\+NODE\+\_\+\+ID\+\_\+\+MASK}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00074}{BGX\+\_\+\+NODE\+\_\+\+ID\+\_\+\+SHIFT}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{nic_8h_source_l00001}{dev}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00053}{bgx\+::dev}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00059}{bgx\+::lmac\+\_\+count}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, \mbox{\hyperlink{thunder__bgx_8h_source_l00034}{MAX\+\_\+\+BGX\+\_\+\+PER\+\_\+\+CN88\+XX}}, \mbox{\hyperlink{nic_8h_source_l00501}{nic\+\_\+get\+\_\+node\+\_\+id()}}, \mbox{\hyperlink{nic_8h_source_l00042}{PCI\+\_\+\+CFG\+\_\+\+REG\+\_\+\+BAR\+\_\+\+NUM}}, and \mbox{\hyperlink{thunder__bgx__var_8h_source_l00054}{bgx\+::reg\+\_\+base}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/da5/thunder__bgx_8c_a74aa759d687ba3268384f4037f5eebe9_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{thunder__bgx_8c_af5db86917f5385b678cd9a8591fe2761}\label{thunder__bgx_8c_af5db86917f5385b678cd9a8591fe2761}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!thunder\_bgx\_detach@{thunder\_bgx\_detach}}
\index{thunder\_bgx\_detach@{thunder\_bgx\_detach}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{thunder\_bgx\_detach()}{thunder\_bgx\_detach()}}
{\footnotesize\ttfamily static int thunder\+\_\+bgx\+\_\+detach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00198}{198}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{thunder__bgx__var_8h_source_l00036}{lmac\+::bgx}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00056}{bgx\+::bgx\+\_\+id}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00912}{bgx\+\_\+lmac\+\_\+disable()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{bgx\+\_\+vnic}}, \mbox{\hyperlink{nic_8h_source_l00001}{dev}}, \mbox{\hyperlink{lmac__if_8m_source_l00033}{lmac}}, \mbox{\hyperlink{thunder__bgx__var_8h_source_l00059}{bgx\+::lmac\+\_\+count}}, \mbox{\hyperlink{lmac__if_8m_source_l00065}{lmacid}}, and \mbox{\hyperlink{thunder__bgx__var_8h_source_l00054}{bgx\+::reg\+\_\+base}}.

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



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00118}{118}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



References \mbox{\hyperlink{nic_8h_source_l00001}{dev}}, \mbox{\hyperlink{nic_8h_source_l00039}{PCI\+\_\+\+DEVICE\+\_\+\+ID\+\_\+\+THUNDER\+\_\+\+BGX}}, \mbox{\hyperlink{nic_8h_source_l00034}{PCI\+\_\+\+VENDOR\+\_\+\+ID\+\_\+\+CAVIUM}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00069}{THUNDER\+\_\+\+BGX\+\_\+\+DEVSTR}}.



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{thunder__bgx_8c_a87437199d6b287bd64b86f9dcbaaefb2}\label{thunder__bgx_8c_a87437199d6b287bd64b86f9dcbaaefb2}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!\_\_unused@{\_\_unused}}
\index{\_\_unused@{\_\_unused}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{\_\_unused}{\_\_unused}}
{\footnotesize\ttfamily int lmac\+\_\+count \+\_\+\+\_\+unused\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00082}{82}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00837}{bgx\+\_\+lmac\+\_\+enable()}}.

\mbox{\Hypertarget{thunder__bgx_8c_af682e9b264554517d66ed87f55a170b8}\label{thunder__bgx_8c_af682e9b264554517d66ed87f55a170b8}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!bgx\_vnic@{bgx\_vnic}}
\index{bgx\_vnic@{bgx\_vnic}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{bgx\_vnic}{bgx\_vnic}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structbgx}{bgx}}$\ast$ bgx\+\_\+vnic\mbox{[}\mbox{\hyperlink{thunder__bgx_8h_add64979a4d10f0df04ffa00925d632ac}{MAX\+\_\+\+BGX\+\_\+\+THUNDER}}\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00081}{81}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.



Referenced by \mbox{\hyperlink{thunder__bgx_8c_source_l00493}{bgx\+\_\+add\+\_\+dmac\+\_\+addr()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00287}{bgx\+\_\+get\+\_\+lmac\+\_\+count()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00300}{bgx\+\_\+get\+\_\+lmac\+\_\+link\+\_\+state()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00317}{bgx\+\_\+get\+\_\+lmac\+\_\+mac()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00272}{bgx\+\_\+get\+\_\+map()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00454}{bgx\+\_\+get\+\_\+rx\+\_\+stats()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00468}{bgx\+\_\+get\+\_\+tx\+\_\+stats()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00534}{bgx\+\_\+lmac\+\_\+internal\+\_\+loopback()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00328}{bgx\+\_\+set\+\_\+lmac\+\_\+mac()}}, \mbox{\hyperlink{thunder__bgx_8c_source_l00136}{thunder\+\_\+bgx\+\_\+attach()}}, and \mbox{\hyperlink{thunder__bgx_8c_source_l00198}{thunder\+\_\+bgx\+\_\+detach()}}.

\mbox{\Hypertarget{thunder__bgx_8c_a8d16e95d84181ef7fc0fb71c33de1849}\label{thunder__bgx_8c_a8d16e95d84181ef7fc0fb71c33de1849}} 
\index{thunder\_bgx.c@{thunder\_bgx.c}!thunder\_bgx\_devclass@{thunder\_bgx\_devclass}}
\index{thunder\_bgx\_devclass@{thunder\_bgx\_devclass}!thunder\_bgx.c@{thunder\_bgx.c}}
\doxysubsubsection{\texorpdfstring{thunder\_bgx\_devclass}{thunder\_bgx\_devclass}}
{\footnotesize\ttfamily devclass\+\_\+t thunder\+\_\+bgx\+\_\+devclass\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00109}{109}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.

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

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}bgx"{}},}
\DoxyCodeLine{        \mbox{\hyperlink{thunder__bgx_8c_a7024af42e9f4581123f936a7aefe0996}{thunder\_bgx\_methods}},}
\DoxyCodeLine{        \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct }\mbox{\hyperlink{structlmac}{lmac}}),}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00103}{103}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.

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

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(device\_probe,         \mbox{\hyperlink{thunder__bgx_8c_a36d0cc8c301179ebef1450fd11c36b6a}{thunder\_bgx\_probe}}),}
\DoxyCodeLine{        DEVMETHOD(device\_attach,        \mbox{\hyperlink{thunder__bgx_8c_a74aa759d687ba3268384f4037f5eebe9}{thunder\_bgx\_attach}}),}
\DoxyCodeLine{        DEVMETHOD(device\_detach,        \mbox{\hyperlink{thunder__bgx_8c_af5db86917f5385b678cd9a8591fe2761}{thunder\_bgx\_detach}}),}
\DoxyCodeLine{}
\DoxyCodeLine{        DEVMETHOD\_END,}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{thunder__bgx_8c_source_l00094}{94}} of file \mbox{\hyperlink{thunder__bgx_8c_source}{thunder\+\_\+bgx.\+c}}.

