\hypertarget{struct__LCB}{
\section{\_\-LCB Struct Reference}
\label{struct__LCB}\index{_LCB@{\_\-LCB}}
}
Struct containing fundamental parameters for the LCB.  


{\tt \#include $<$LCB\_\-p.h$>$}

Collaboration diagram for \_\-LCB:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=227pt]{struct__LCB__coll__graph}
\end{center}
\end{figure}
\subsection*{Data Fields}
\begin{CompactItemize}
\item 
\hyperlink{struct__pciReg__Mem}{pci\-Reg\_\-Mem} $\ast$ \hyperlink{struct__LCB_o0}{m\_\-mem\-Reg}
\item 
int \hyperlink{struct__LCB_o1}{m\_\-PCIbus}
\item 
int \hyperlink{struct__LCB_o2}{m\_\-PCIdev}
\item 
int \hyperlink{struct__LCB_o3}{m\_\-PCIfunc}
\item 
unsigned int \hyperlink{struct__LCB_o4}{m\_\-rev\-ID}
\item 
unsigned int \hyperlink{struct__LCB_o5}{m\_\-intr\_\-vec}
\item 
unsigned int \hyperlink{struct__LCB_o6}{m\_\-int\_\-connect}
\item 
unsigned int \hyperlink{struct__LCB_o7}{m\_\-pci2local\_\-MEM}
\item 
unsigned int \hyperlink{struct__LCB_o8}{m\_\-local2pci\_\-MEM}
\item 
unsigned int \hyperlink{struct__LCB_o9}{m\_\-base\_\-ptr}
\item 
volatile unsigned int \hyperlink{struct__LCB_o10}{m\_\-read\_\-ptr}
\item 
volatile \hyperlink{union__LATp__RX}{LATp\_\-RX} \hyperlink{struct__LCB_o11}{m\_\-rx\-Stats} \mbox{[}2\mbox{]}
\item 
volatile \hyperlink{union__LATp__TX}{LATp\_\-TX} \hyperlink{struct__LCB_o12}{m\_\-tx\-Stats} \mbox{[}2\mbox{]}
\item 
unsigned int \hyperlink{struct__LCB_o13}{m\_\-irq\-Count}
\item 
volatile unsigned int \hyperlink{struct__LCB_o14}{m\_\-rst\-Err\-Stats} \mbox{[}2\mbox{]}\mbox{[}LCB\_\-MAX\_\-XFER\_\-ERRS\mbox{]}
\item 
volatile unsigned int \hyperlink{struct__LCB_o15}{m\_\-evt\-Err\-Xfer\-Stats} \mbox{[}LCB\_\-MAX\_\-XFER\_\-ERRS\mbox{]}
\item 
volatile unsigned int \hyperlink{struct__LCB_o16}{m\_\-evt\-Err\-Recv\-Stats} \mbox{[}LCB\_\-MAX\_\-RECV\_\-ERRS\mbox{]}
\item 
\hyperlink{LCB__bulk__def_8h_a0}{LCB\_\-evt\_\-cb} \hyperlink{struct__LCB_o17}{m\_\-evt\-CB} \mbox{[}LCB\_\-MAX\_\-PROTO\mbox{]}
\item 
\hyperlink{LCB_8h_a3}{LCB\_\-cb\_\-prm} \hyperlink{struct__LCB_o18}{m\_\-evt\-CBprm} \mbox{[}LCB\_\-MAX\_\-PROTO\mbox{]}
\item 
FORK\_\-fcb $\ast$ \hyperlink{struct__LCB_o19}{m\_\-req\-FCB}
\item 
FORK\_\-que $\ast$ \hyperlink{struct__LCB_o20}{m\_\-req\-Q}
\item 
\hyperlink{LCB_8h_a4}{LCB\_\-rst\_\-cb} \hyperlink{struct__LCB_o21}{m\_\-rst\-CB}
\item 
\hyperlink{struct__LCB__req__lock}{LCB\_\-req\_\-lock} \hyperlink{struct__LCB_o22}{m\_\-lock}
\item 
FORK\_\-fcb $\ast$ \hyperlink{struct__LCB_o23}{m\_\-isr\-FCB}
\item 
FORK\_\-que $\ast$ \hyperlink{struct__LCB_o24}{m\_\-isr\-Q}
\end{CompactItemize}


\subsection{Detailed Description}
Struct containing fundamental parameters for the LCB. 



\subsection{Field Documentation}
\hypertarget{struct__LCB_o9}{
\index{_LCB@{\_\-LCB}!m_base_ptr@{m\_\-base\_\-ptr}}
\index{m_base_ptr@{m\_\-base\_\-ptr}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-base\_\-ptr]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__LCB_o9}{\_\-LCB::m\_\-base\_\-ptr}}}
\label{struct__LCB_o9}


Local copy of circular buffer base addr \hypertarget{struct__LCB_o17}{
\index{_LCB@{\_\-LCB}!m_evtCB@{m\_\-evtCB}}
\index{m_evtCB@{m\_\-evtCB}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-evtCB]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{LCB__bulk__def_8h_a0}{LCB\_\-evt\_\-cb} \hyperlink{struct__LCB_o17}{\_\-LCB::m\_\-evt\-CB}\mbox{[}LCB\_\-MAX\_\-PROTO\mbox{]}}}
\label{struct__LCB_o17}


Array of bulk callback routines \hypertarget{struct__LCB_o18}{
\index{_LCB@{\_\-LCB}!m_evtCBprm@{m\_\-evtCBprm}}
\index{m_evtCBprm@{m\_\-evtCBprm}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-evtCBprm]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{LCB_8h_a3}{LCB\_\-cb\_\-prm} \hyperlink{struct__LCB_o18}{\_\-LCB::m\_\-evt\-CBprm}\mbox{[}LCB\_\-MAX\_\-PROTO\mbox{]}}}
\label{struct__LCB_o18}


Array of bulk callback routine parameters \hypertarget{struct__LCB_o16}{
\index{_LCB@{\_\-LCB}!m_evtErrRecvStats@{m\_\-evtErrRecvStats}}
\index{m_evtErrRecvStats@{m\_\-evtErrRecvStats}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-evtErrRecvStats]{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int \hyperlink{struct__LCB_o16}{\_\-LCB::m\_\-evt\-Err\-Recv\-Stats}\mbox{[}LCB\_\-MAX\_\-RECV\_\-ERRS\mbox{]}}}
\label{struct__LCB_o16}


Event Error receive statistics \hypertarget{struct__LCB_o15}{
\index{_LCB@{\_\-LCB}!m_evtErrXferStats@{m\_\-evtErrXferStats}}
\index{m_evtErrXferStats@{m\_\-evtErrXferStats}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-evtErrXferStats]{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int \hyperlink{struct__LCB_o15}{\_\-LCB::m\_\-evt\-Err\-Xfer\-Stats}\mbox{[}LCB\_\-MAX\_\-XFER\_\-ERRS\mbox{]}}}
\label{struct__LCB_o15}


Event Error transfer statistics \hypertarget{struct__LCB_o6}{
\index{_LCB@{\_\-LCB}!m_int_connect@{m\_\-int\_\-connect}}
\index{m_int_connect@{m\_\-int\_\-connect}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-int\_\-connect]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__LCB_o6}{\_\-LCB::m\_\-int\_\-connect}}}
\label{struct__LCB_o6}


Flag that IRS is connected \hypertarget{struct__LCB_o5}{
\index{_LCB@{\_\-LCB}!m_intr_vec@{m\_\-intr\_\-vec}}
\index{m_intr_vec@{m\_\-intr\_\-vec}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-intr\_\-vec]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__LCB_o5}{\_\-LCB::m\_\-intr\_\-vec}}}
\label{struct__LCB_o5}


PCI Interrupt Line \hypertarget{struct__LCB_o13}{
\index{_LCB@{\_\-LCB}!m_irqCount@{m\_\-irqCount}}
\index{m_irqCount@{m\_\-irqCount}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-irqCount]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__LCB_o13}{\_\-LCB::m\_\-irq\-Count}}}
\label{struct__LCB_o13}


IRQ Counter statistic \hypertarget{struct__LCB_o23}{
\index{_LCB@{\_\-LCB}!m_isrFCB@{m\_\-isrFCB}}
\index{m_isrFCB@{m\_\-isrFCB}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-isrFCB]{\setlength{\rightskip}{0pt plus 5cm}FORK\_\-fcb$\ast$ \hyperlink{struct__LCB_o23}{\_\-LCB::m\_\-isr\-FCB}}}
\label{struct__LCB_o23}


Bottom half ISR FORK control block \hypertarget{struct__LCB_o24}{
\index{_LCB@{\_\-LCB}!m_isrQ@{m\_\-isrQ}}
\index{m_isrQ@{m\_\-isrQ}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-isrQ]{\setlength{\rightskip}{0pt plus 5cm}FORK\_\-que$\ast$ \hyperlink{struct__LCB_o24}{\_\-LCB::m\_\-isr\-Q}}}
\label{struct__LCB_o24}


Bottom half ISR FORK queue \hypertarget{struct__LCB_o8}{
\index{_LCB@{\_\-LCB}!m_local2pci_MEM@{m\_\-local2pci\_\-MEM}}
\index{m_local2pci_MEM@{m\_\-local2pci\_\-MEM}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-local2pci\_\-MEM]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__LCB_o8}{\_\-LCB::m\_\-local2pci\_\-MEM}}}
\label{struct__LCB_o8}


Offset to map PCI MEM addr to local addr \hypertarget{struct__LCB_o22}{
\index{_LCB@{\_\-LCB}!m_lock@{m\_\-lock}}
\index{m_lock@{m\_\-lock}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-lock]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{struct__LCB__req__lock}{LCB\_\-req\_\-lock} \hyperlink{struct__LCB_o22}{\_\-LCB::m\_\-lock}}}
\label{struct__LCB_o22}


Resource Lock for outstanding LCB requests. \hypertarget{struct__LCB_o0}{
\index{_LCB@{\_\-LCB}!m_memReg@{m\_\-memReg}}
\index{m_memReg@{m\_\-memReg}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-memReg]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{struct__pciReg__Mem}{pci\-Reg\_\-Mem}$\ast$ \hyperlink{struct__LCB_o0}{\_\-LCB::m\_\-mem\-Reg}}}
\label{struct__LCB_o0}


Pointer to PCI Memory Space Register block \hypertarget{struct__LCB_o7}{
\index{_LCB@{\_\-LCB}!m_pci2local_MEM@{m\_\-pci2local\_\-MEM}}
\index{m_pci2local_MEM@{m\_\-pci2local\_\-MEM}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-pci2local\_\-MEM]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__LCB_o7}{\_\-LCB::m\_\-pci2local\_\-MEM}}}
\label{struct__LCB_o7}


Offset to map local addr to PCI MEM addr \hypertarget{struct__LCB_o1}{
\index{_LCB@{\_\-LCB}!m_PCIbus@{m\_\-PCIbus}}
\index{m_PCIbus@{m\_\-PCIbus}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-PCIbus]{\setlength{\rightskip}{0pt plus 5cm}int \hyperlink{struct__LCB_o1}{\_\-LCB::m\_\-PCIbus}}}
\label{struct__LCB_o1}


LCB PCI Bus Number \hypertarget{struct__LCB_o2}{
\index{_LCB@{\_\-LCB}!m_PCIdev@{m\_\-PCIdev}}
\index{m_PCIdev@{m\_\-PCIdev}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-PCIdev]{\setlength{\rightskip}{0pt plus 5cm}int \hyperlink{struct__LCB_o2}{\_\-LCB::m\_\-PCIdev}}}
\label{struct__LCB_o2}


LCB PCI Device Number \hypertarget{struct__LCB_o3}{
\index{_LCB@{\_\-LCB}!m_PCIfunc@{m\_\-PCIfunc}}
\index{m_PCIfunc@{m\_\-PCIfunc}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-PCIfunc]{\setlength{\rightskip}{0pt plus 5cm}int \hyperlink{struct__LCB_o3}{\_\-LCB::m\_\-PCIfunc}}}
\label{struct__LCB_o3}


LCB PCI Function Number \hypertarget{struct__LCB_o10}{
\index{_LCB@{\_\-LCB}!m_read_ptr@{m\_\-read\_\-ptr}}
\index{m_read_ptr@{m\_\-read\_\-ptr}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-read\_\-ptr]{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int \hyperlink{struct__LCB_o10}{\_\-LCB::m\_\-read\_\-ptr}}}
\label{struct__LCB_o10}


Local copy of circular buffer read ptr \hypertarget{struct__LCB_o19}{
\index{_LCB@{\_\-LCB}!m_reqFCB@{m\_\-reqFCB}}
\index{m_reqFCB@{m\_\-reqFCB}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-reqFCB]{\setlength{\rightskip}{0pt plus 5cm}FORK\_\-fcb$\ast$ \hyperlink{struct__LCB_o19}{\_\-LCB::m\_\-req\-FCB}}}
\label{struct__LCB_o19}


Comand/response request FORK control block \hypertarget{struct__LCB_o20}{
\index{_LCB@{\_\-LCB}!m_reqQ@{m\_\-reqQ}}
\index{m_reqQ@{m\_\-reqQ}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-reqQ]{\setlength{\rightskip}{0pt plus 5cm}FORK\_\-que$\ast$ \hyperlink{struct__LCB_o20}{\_\-LCB::m\_\-req\-Q}}}
\label{struct__LCB_o20}


Comand/response request FORK queue \hypertarget{struct__LCB_o4}{
\index{_LCB@{\_\-LCB}!m_revID@{m\_\-revID}}
\index{m_revID@{m\_\-revID}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-revID]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \hyperlink{struct__LCB_o4}{\_\-LCB::m\_\-rev\-ID}}}
\label{struct__LCB_o4}


Revision ID -- PCI Config Space Register \hypertarget{struct__LCB_o21}{
\index{_LCB@{\_\-LCB}!m_rstCB@{m\_\-rstCB}}
\index{m_rstCB@{m\_\-rstCB}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-rstCB]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{LCB_8h_a4}{LCB\_\-rst\_\-cb} \hyperlink{struct__LCB_o21}{\_\-LCB::m\_\-rst\-CB}}}
\label{struct__LCB_o21}


Result processing call back \hypertarget{struct__LCB_o14}{
\index{_LCB@{\_\-LCB}!m_rstErrStats@{m\_\-rstErrStats}}
\index{m_rstErrStats@{m\_\-rstErrStats}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-rstErrStats]{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int \hyperlink{struct__LCB_o14}{\_\-LCB::m\_\-rst\-Err\-Stats}\mbox{[}2\mbox{]}\mbox{[}LCB\_\-MAX\_\-XFER\_\-ERRS\mbox{]}}}
\label{struct__LCB_o14}


Result Error transfer statistics \hypertarget{struct__LCB_o11}{
\index{_LCB@{\_\-LCB}!m_rxStats@{m\_\-rxStats}}
\index{m_rxStats@{m\_\-rxStats}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-rxStats]{\setlength{\rightskip}{0pt plus 5cm}volatile \hyperlink{union__LATp__RX}{LATp\_\-RX} \hyperlink{struct__LCB_o11}{\_\-LCB::m\_\-rx\-Stats}\mbox{[}2\mbox{]}}}
\label{struct__LCB_o11}


LATp Receive statistics \hypertarget{struct__LCB_o12}{
\index{_LCB@{\_\-LCB}!m_txStats@{m\_\-txStats}}
\index{m_txStats@{m\_\-txStats}!_LCB@{\_\-LCB}}
\subsubsection[m\_\-txStats]{\setlength{\rightskip}{0pt plus 5cm}volatile \hyperlink{union__LATp__TX}{LATp\_\-TX} \hyperlink{struct__LCB_o12}{\_\-LCB::m\_\-tx\-Stats}\mbox{[}2\mbox{]}}}
\label{struct__LCB_o12}


LATp Transmission statistics 

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
\hyperlink{LCB__p_8h}{LCB\_\-p.h}\end{CompactItemize}
