\hypertarget{struct__LCBB}{
\section{\_\-LCBB Struct Reference}
\label{struct__LCBB}\index{\_\-LCBB@{\_\-LCBB}}
}
Control block for the LCBB driver.  


{\tt \#include $<$LCBB.h$>$}

\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
unsigned int \hyperlink{struct__LCBB_81d616741f283b888d41e90e50b1a0a6}{pci\_\-bus}
\item 
unsigned int \hyperlink{struct__LCBB_8fb94874408ddbed0551cdce5db2eec3}{pci\_\-dev}
\item 
unsigned int \hyperlink{struct__LCBB_2fd5152a4dd10df860e447d537018e66}{pci\_\-func}
\item 
unsigned int \hyperlink{struct__LCBB_fdee138bb893b2775e5b9e54ebfc0571}{lcb\_\-rev}
\item 
unsigned int \hyperlink{struct__LCBB_2c8ec3dc5bfe433e57ef6a06747946fb}{latp\_\-rev}
\item 
\hyperlink{struct__LCB__prb}{LCB\_\-prb} $\ast$ \hyperlink{struct__LCBB_500cc9797f0a861aa4c8fb6ccaf31e80}{pci}
\item 
unsigned int \hyperlink{struct__LCBB_90d83efcadf3a722789adbe81ff01bc5}{local2pci}
\item 
unsigned char $\ast$ \hyperlink{struct__LCBB_587e37e61d795f1961fb1bc7268b327b}{request}
\item 
unsigned char $\ast$ \hyperlink{struct__LCBB_acfc6660d97d7400ccf87cf9ac5ac516}{result}
\item 
\hyperlink{union__LCBB__latp__cfg}{LCBB\_\-latp\_\-cfg} \hyperlink{struct__LCBB_59e039bbbcb1a12c0d7d4bc97d977e48}{latp\_\-cfg}
\item 
unsigned int \hyperlink{struct__LCBB_da0381b3cd7079d7492d9429834b2713}{base\_\-ptr}
\item 
volatile unsigned int \hyperlink{struct__LCBB_4d89fb8a5606683200d6471f2ed4c5fa}{read\_\-ptr}
\item 
unsigned int \hyperlink{struct__LCBB_16109b9488ff68a1289782a12a624dc5}{null\_\-count}
\item 
unsigned int \hyperlink{struct__LCBB_ab85349c4d6246c8b5c7e32518444cff}{rogue\_\-count}
\item 
unsigned int \hyperlink{struct__LCBB_5c36d6fd57715d8b68529a118574e9fb}{latp\_\-csr}
\item 
\hyperlink{struct__LCBB__xtrace}{LCBB\_\-xtrace} \hyperlink{struct__LCBB_81647396f780cdd71be2307b9e1048db}{xtrace}
\end{CompactItemize}


\subsection{Detailed Description}
Control block for the LCBB driver. 

\subsection{Member Data Documentation}
\hypertarget{struct__LCBB_da0381b3cd7079d7492d9429834b2713}{
\index{\_\-LCBB@{\_\-LCBB}!base\_\-ptr@{base\_\-ptr}}
\index{base\_\-ptr@{base\_\-ptr}!_LCBB@{\_\-LCBB}}
\subsubsection[{base\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::base\_\-ptr}}}
\label{struct__LCBB_da0381b3cd7079d7492d9429834b2713}


Local copy of circular buffer base addr 

Referenced by init\_\-circ(), LCBB\_\-configure(), and LCBB\_\-receive().\hypertarget{struct__LCBB_59e039bbbcb1a12c0d7d4bc97d977e48}{
\index{\_\-LCBB@{\_\-LCBB}!latp\_\-cfg@{latp\_\-cfg}}
\index{latp\_\-cfg@{latp\_\-cfg}!_LCBB@{\_\-LCBB}}
\subsubsection[{latp\_\-cfg}]{\setlength{\rightskip}{0pt plus 5cm}{\bf LCBB\_\-latp\_\-cfg} {\bf \_\-LCBB::latp\_\-cfg}}}
\label{struct__LCBB_59e039bbbcb1a12c0d7d4bc97d977e48}


The requested LATp configuration 

Referenced by drain\_\-result(), and LCBB\_\-configure().\hypertarget{struct__LCBB_5c36d6fd57715d8b68529a118574e9fb}{
\index{\_\-LCBB@{\_\-LCBB}!latp\_\-csr@{latp\_\-csr}}
\index{latp\_\-csr@{latp\_\-csr}!_LCBB@{\_\-LCBB}}
\subsubsection[{latp\_\-csr}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::latp\_\-csr}}}
\label{struct__LCBB_5c36d6fd57715d8b68529a118574e9fb}


Last read value of LATp csr 

Referenced by drain\_\-result(), and init\_\-latp().\hypertarget{struct__LCBB_2c8ec3dc5bfe433e57ef6a06747946fb}{
\index{\_\-LCBB@{\_\-LCBB}!latp\_\-rev@{latp\_\-rev}}
\index{latp\_\-rev@{latp\_\-rev}!_LCBB@{\_\-LCBB}}
\subsubsection[{latp\_\-rev}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::latp\_\-rev}}}
\label{struct__LCBB_2c8ec3dc5bfe433e57ef6a06747946fb}


LATp FPGA revision number 

Referenced by init\_\-latp().\hypertarget{struct__LCBB_fdee138bb893b2775e5b9e54ebfc0571}{
\index{\_\-LCBB@{\_\-LCBB}!lcb\_\-rev@{lcb\_\-rev}}
\index{lcb\_\-rev@{lcb\_\-rev}!_LCBB@{\_\-LCBB}}
\subsubsection[{lcb\_\-rev}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::lcb\_\-rev}}}
\label{struct__LCBB_fdee138bb893b2775e5b9e54ebfc0571}


LCB FPGA revision number 

Referenced by init\_\-pci().\hypertarget{struct__LCBB_90d83efcadf3a722789adbe81ff01bc5}{
\index{\_\-LCBB@{\_\-LCBB}!local2pci@{local2pci}}
\index{local2pci@{local2pci}!_LCBB@{\_\-LCBB}}
\subsubsection[{local2pci}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::local2pci}}}
\label{struct__LCBB_90d83efcadf3a722789adbe81ff01bc5}


Offset to map PCI MEM addr to local addr 

Referenced by access\_\-function(), access\_\-reg(), init\_\-circ(), init\_\-pci(), LCBB\_\-send(), and poll().\hypertarget{struct__LCBB_16109b9488ff68a1289782a12a624dc5}{
\index{\_\-LCBB@{\_\-LCBB}!null\_\-count@{null\_\-count}}
\index{null\_\-count@{null\_\-count}!_LCBB@{\_\-LCBB}}
\subsubsection[{null\_\-count}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::null\_\-count}}}
\label{struct__LCBB_16109b9488ff68a1289782a12a624dc5}


Number of NULL descriptors (slave setting of LATp side CSR) that have been seen 

Referenced by poll().\hypertarget{struct__LCBB_500cc9797f0a861aa4c8fb6ccaf31e80}{
\index{\_\-LCBB@{\_\-LCBB}!pci@{pci}}
\index{pci@{pci}!_LCBB@{\_\-LCBB}}
\subsubsection[{pci}]{\setlength{\rightskip}{0pt plus 5cm}{\bf LCB\_\-prb}$\ast$ {\bf \_\-LCBB::pci}}}
\label{struct__LCBB_500cc9797f0a861aa4c8fb6ccaf31e80}


Memory map of the LCB's pci regs 

Referenced by drain\_\-event(), init\_\-circ(), init\_\-latp(), init\_\-pci(), LCBB\_\-free(), LCBB\_\-receive(), poll(), and submit().\hypertarget{struct__LCBB_81d616741f283b888d41e90e50b1a0a6}{
\index{\_\-LCBB@{\_\-LCBB}!pci\_\-bus@{pci\_\-bus}}
\index{pci\_\-bus@{pci\_\-bus}!_LCBB@{\_\-LCBB}}
\subsubsection[{pci\_\-bus}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::pci\_\-bus}}}
\label{struct__LCBB_81d616741f283b888d41e90e50b1a0a6}


PCI bus number 

Referenced by init\_\-pci().\hypertarget{struct__LCBB_8fb94874408ddbed0551cdce5db2eec3}{
\index{\_\-LCBB@{\_\-LCBB}!pci\_\-dev@{pci\_\-dev}}
\index{pci\_\-dev@{pci\_\-dev}!_LCBB@{\_\-LCBB}}
\subsubsection[{pci\_\-dev}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::pci\_\-dev}}}
\label{struct__LCBB_8fb94874408ddbed0551cdce5db2eec3}


PCI device number 

Referenced by init\_\-pci().\hypertarget{struct__LCBB_2fd5152a4dd10df860e447d537018e66}{
\index{\_\-LCBB@{\_\-LCBB}!pci\_\-func@{pci\_\-func}}
\index{pci\_\-func@{pci\_\-func}!_LCBB@{\_\-LCBB}}
\subsubsection[{pci\_\-func}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::pci\_\-func}}}
\label{struct__LCBB_2fd5152a4dd10df860e447d537018e66}


PCI function number 

Referenced by init\_\-pci().\hypertarget{struct__LCBB_4d89fb8a5606683200d6471f2ed4c5fa}{
\index{\_\-LCBB@{\_\-LCBB}!read\_\-ptr@{read\_\-ptr}}
\index{read\_\-ptr@{read\_\-ptr}!_LCBB@{\_\-LCBB}}
\subsubsection[{read\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int {\bf \_\-LCBB::read\_\-ptr}}}
\label{struct__LCBB_4d89fb8a5606683200d6471f2ed4c5fa}


Local copy of circular buffer read ptr 

Referenced by LCBB\_\-configure().\hypertarget{struct__LCBB_587e37e61d795f1961fb1bc7268b327b}{
\index{\_\-LCBB@{\_\-LCBB}!request@{request}}
\index{request@{request}!_LCBB@{\_\-LCBB}}
\subsubsection[{request}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ {\bf \_\-LCBB::request}}}
\label{struct__LCBB_587e37e61d795f1961fb1bc7268b327b}


Request buffer address 

Referenced by access\_\-function(), access\_\-reg(), LCBB\_\-configure(), LCBB\_\-locate(), and LCBB\_\-send().\hypertarget{struct__LCBB_acfc6660d97d7400ccf87cf9ac5ac516}{
\index{\_\-LCBB@{\_\-LCBB}!result@{result}}
\index{result@{result}!_LCBB@{\_\-LCBB}}
\subsubsection[{result}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ {\bf \_\-LCBB::result}}}
\label{struct__LCBB_acfc6660d97d7400ccf87cf9ac5ac516}


Result buffer address 

Referenced by access\_\-function(), access\_\-reg(), LCBB\_\-configure(), and LCBB\_\-send().\hypertarget{struct__LCBB_ab85349c4d6246c8b5c7e32518444cff}{
\index{\_\-LCBB@{\_\-LCBB}!rogue\_\-count@{rogue\_\-count}}
\index{rogue\_\-count@{rogue\_\-count}!_LCBB@{\_\-LCBB}}
\subsubsection[{rogue\_\-count}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \_\-LCBB::rogue\_\-count}}}
\label{struct__LCBB_ab85349c4d6246c8b5c7e32518444cff}


Number of Rogue descriptors that have been seen 

Referenced by drain\_\-result(), and poll().\hypertarget{struct__LCBB_81647396f780cdd71be2307b9e1048db}{
\index{\_\-LCBB@{\_\-LCBB}!xtrace@{xtrace}}
\index{xtrace@{xtrace}!_LCBB@{\_\-LCBB}}
\subsubsection[{xtrace}]{\setlength{\rightskip}{0pt plus 5cm}{\bf LCBB\_\-xtrace} {\bf \_\-LCBB::xtrace}}}
\label{struct__LCBB_81647396f780cdd71be2307b9e1048db}


Transaction trace buffer 

Referenced by poll().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
\hyperlink{LCBB_8h}{LCBB.h}\end{CompactItemize}
