\hypertarget{cn23xx__pf__device_8h}{}\doxysection{dev/liquidio/base/cn23xx\+\_\+pf\+\_\+device.h File Reference}
\label{cn23xx__pf__device_8h}\index{dev/liquidio/base/cn23xx\_pf\_device.h@{dev/liquidio/base/cn23xx\_pf\_device.h}}
{\ttfamily \#include \char`\"{}cn23xx\+\_\+pf\+\_\+regs.\+h\char`\"{}}\newline
Include dependency graph for cn23xx\+\_\+pf\+\_\+device.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=218pt]{d0/d8c/cn23xx__pf__device_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d2b/cn23xx__pf__device_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structlio__cn23xx__pf}{lio\+\_\+cn23xx\+\_\+pf}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{cn23xx__pf__device_8h_aa249b8fb747d68923971c3392d93b8f4}{BUSY\+\_\+\+READING\+\_\+\+REG\+\_\+\+PF\+\_\+\+LOOP\+\_\+\+COUNT}}~10000
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{cn23xx__pf__device_8h_a61ecac78842e1fa0630098251995a11f}{lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+device}} (struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$oct)
\item 
uint32\+\_\+t \mbox{\hyperlink{cn23xx__pf__device_8h_addbda33c1d74908c89b71bc1192b1e7c}{lio\+\_\+cn23xx\+\_\+pf\+\_\+get\+\_\+oq\+\_\+ticks}} (struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$oct, uint32\+\_\+t time\+\_\+intr\+\_\+in\+\_\+us)
\item 
int \mbox{\hyperlink{cn23xx__pf__device_8h_a795534ec6736ae4b7c6f32ac5e7f3da5}{lio\+\_\+cn23xx\+\_\+pf\+\_\+fw\+\_\+loaded}} (struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$oct)
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{cn23xx__pf__device_8h_aa249b8fb747d68923971c3392d93b8f4}\label{cn23xx__pf__device_8h_aa249b8fb747d68923971c3392d93b8f4}} 
\index{cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}!BUSY\_READING\_REG\_PF\_LOOP\_COUNT@{BUSY\_READING\_REG\_PF\_LOOP\_COUNT}}
\index{BUSY\_READING\_REG\_PF\_LOOP\_COUNT@{BUSY\_READING\_REG\_PF\_LOOP\_COUNT}!cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}}
\doxysubsubsection{\texorpdfstring{BUSY\_READING\_REG\_PF\_LOOP\_COUNT}{BUSY\_READING\_REG\_PF\_LOOP\_COUNT}}
{\footnotesize\ttfamily \#define BUSY\+\_\+\+READING\+\_\+\+REG\+\_\+\+PF\+\_\+\+LOOP\+\_\+\+COUNT~10000}



Definition at line \mbox{\hyperlink{cn23xx__pf__device_8h_source_l00062}{62}} of file \mbox{\hyperlink{cn23xx__pf__device_8h_source}{cn23xx\+\_\+pf\+\_\+device.\+h}}.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{cn23xx__pf__device_8h_a795534ec6736ae4b7c6f32ac5e7f3da5}\label{cn23xx__pf__device_8h_a795534ec6736ae4b7c6f32ac5e7f3da5}} 
\index{cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}!lio\_cn23xx\_pf\_fw\_loaded@{lio\_cn23xx\_pf\_fw\_loaded}}
\index{lio\_cn23xx\_pf\_fw\_loaded@{lio\_cn23xx\_pf\_fw\_loaded}!cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}}
\doxysubsubsection{\texorpdfstring{lio\_cn23xx\_pf\_fw\_loaded()}{lio\_cn23xx\_pf\_fw\_loaded()}}
{\footnotesize\ttfamily int lio\+\_\+cn23xx\+\_\+pf\+\_\+fw\+\_\+loaded (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$}]{oct }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{cn23xx__pf__device_8c_source_l01001}{1001}} of file \mbox{\hyperlink{cn23xx__pf__device_8c_source}{cn23xx\+\_\+pf\+\_\+device.\+c}}.



References \mbox{\hyperlink{cn23xx__pf__regs_8h_source_l00064}{LIO\+\_\+\+CN23\+XX\+\_\+\+SLI\+\_\+\+SCRATCH2}}, \mbox{\hyperlink{lio__device_8h_source_l00873}{lio\+\_\+read\+\_\+csr64()}}, and \mbox{\hyperlink{lio__common_8h_source_l00111}{SCR2\+\_\+\+BIT\+\_\+\+FW\+\_\+\+LOADED}}.



Referenced by \mbox{\hyperlink{lio__main_8c_source_l00434}{lio\+\_\+device\+\_\+init()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d89/cn23xx__pf__device_8h_a795534ec6736ae4b7c6f32ac5e7f3da5_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d89/cn23xx__pf__device_8h_a795534ec6736ae4b7c6f32ac5e7f3da5_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{cn23xx__pf__device_8h_addbda33c1d74908c89b71bc1192b1e7c}\label{cn23xx__pf__device_8h_addbda33c1d74908c89b71bc1192b1e7c}} 
\index{cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}!lio\_cn23xx\_pf\_get\_oq\_ticks@{lio\_cn23xx\_pf\_get\_oq\_ticks}}
\index{lio\_cn23xx\_pf\_get\_oq\_ticks@{lio\_cn23xx\_pf\_get\_oq\_ticks}!cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}}
\doxysubsubsection{\texorpdfstring{lio\_cn23xx\_pf\_get\_oq\_ticks()}{lio\_cn23xx\_pf\_get\_oq\_ticks()}}
{\footnotesize\ttfamily uint32\+\_\+t lio\+\_\+cn23xx\+\_\+pf\+\_\+get\+\_\+oq\+\_\+ticks (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$}]{oct,  }\item[{uint32\+\_\+t}]{time\+\_\+intr\+\_\+in\+\_\+us }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00117}{117}} of file \mbox{\hyperlink{cn23xx__pf__device_8c_source}{cn23xx\+\_\+pf\+\_\+device.\+c}}.



References \mbox{\hyperlink{lio__device_8h_source_l00317}{lio\+\_\+pf\+\_\+vf\+\_\+hs\+\_\+word\+::coproc\+\_\+tics\+\_\+per\+\_\+us}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00105}{lio\+\_\+cn23xx\+\_\+pf\+\_\+coprocessor\+\_\+clock()}}, and \mbox{\hyperlink{lio__device_8h_source_l00503}{octeon\+\_\+device\+::pfvf\+\_\+hsword}}.



Referenced by \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00302}{lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+global\+\_\+output\+\_\+regs()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00451}{lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+oq\+\_\+regs()}}, and \mbox{\hyperlink{lio__sysctl_8c_source_l01623}{lio\+\_\+intrmod\+\_\+cfg\+\_\+rx\+\_\+intrtime()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d89/cn23xx__pf__device_8h_addbda33c1d74908c89b71bc1192b1e7c_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d89/cn23xx__pf__device_8h_addbda33c1d74908c89b71bc1192b1e7c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{cn23xx__pf__device_8h_a61ecac78842e1fa0630098251995a11f}\label{cn23xx__pf__device_8h_a61ecac78842e1fa0630098251995a11f}} 
\index{cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}!lio\_cn23xx\_pf\_setup\_device@{lio\_cn23xx\_pf\_setup\_device}}
\index{lio\_cn23xx\_pf\_setup\_device@{lio\_cn23xx\_pf\_setup\_device}!cn23xx\_pf\_device.h@{cn23xx\_pf\_device.h}}
\doxysubsubsection{\texorpdfstring{lio\_cn23xx\_pf\_setup\_device()}{lio\_cn23xx\_pf\_setup\_device()}}
{\footnotesize\ttfamily int lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+device (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$}]{oct }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00929}{929}} of file \mbox{\hyperlink{cn23xx__pf__device_8c_source}{cn23xx\+\_\+pf\+\_\+device.\+c}}.



References \mbox{\hyperlink{lio__device_8h_source_l00234}{lio\+\_\+fn\+\_\+list\+::bar1\+\_\+idx\+\_\+read}}, \mbox{\hyperlink{lio__device_8h_source_l00230}{lio\+\_\+fn\+\_\+list\+::bar1\+\_\+idx\+\_\+setup}}, \mbox{\hyperlink{lio__device_8h_source_l00232}{lio\+\_\+fn\+\_\+list\+::bar1\+\_\+idx\+\_\+write}}, \mbox{\hyperlink{lio__device_8h_source_l00468}{octeon\+\_\+device\+::coproc\+\_\+clock\+\_\+rate}}, \mbox{\hyperlink{lio__device_8h_source_l00238}{lio\+\_\+fn\+\_\+list\+::disable\+\_\+interrupt}}, \mbox{\hyperlink{lio__device_8h_source_l00241}{lio\+\_\+fn\+\_\+list\+::disable\+\_\+io\+\_\+queues}}, \mbox{\hyperlink{lio__device_8h_source_l00237}{lio\+\_\+fn\+\_\+list\+::enable\+\_\+interrupt}}, \mbox{\hyperlink{lio__device_8h_source_l00240}{lio\+\_\+fn\+\_\+list\+::enable\+\_\+io\+\_\+queues}}, \mbox{\hyperlink{lio__device_8h_source_l00416}{octeon\+\_\+device\+::fn\+\_\+list}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00774}{lio\+\_\+cn23xx\+\_\+pf\+\_\+bar1\+\_\+idx\+\_\+read()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00733}{lio\+\_\+cn23xx\+\_\+pf\+\_\+bar1\+\_\+idx\+\_\+setup()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00765}{lio\+\_\+cn23xx\+\_\+pf\+\_\+bar1\+\_\+idx\+\_\+write()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00105}{lio\+\_\+cn23xx\+\_\+pf\+\_\+coprocessor\+\_\+clock()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00825}{lio\+\_\+cn23xx\+\_\+pf\+\_\+disable\+\_\+interrupt()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00585}{lio\+\_\+cn23xx\+\_\+pf\+\_\+disable\+\_\+io\+\_\+queues()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00807}{lio\+\_\+cn23xx\+\_\+pf\+\_\+enable\+\_\+interrupt()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00504}{lio\+\_\+cn23xx\+\_\+pf\+\_\+enable\+\_\+io\+\_\+queues()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00851}{lio\+\_\+cn23xx\+\_\+pf\+\_\+get\+\_\+pf\+\_\+num()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00702}{lio\+\_\+cn23xx\+\_\+pf\+\_\+interrupt\+\_\+handler()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00663}{lio\+\_\+cn23xx\+\_\+pf\+\_\+msix\+\_\+interrupt\+\_\+handler()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00381}{lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+device\+\_\+regs()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00408}{lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+iq\+\_\+regs()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00451}{lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+oq\+\_\+regs()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00862}{lio\+\_\+cn23xx\+\_\+pf\+\_\+setup\+\_\+reg\+\_\+address()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00046}{lio\+\_\+cn23xx\+\_\+pf\+\_\+soft\+\_\+reset()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00891}{lio\+\_\+cn23xx\+\_\+pf\+\_\+sriov\+\_\+config()}}, \mbox{\hyperlink{cn23xx__pf__device_8c_source_l00784}{lio\+\_\+cn23xx\+\_\+pf\+\_\+update\+\_\+read\+\_\+index()}}, \mbox{\hyperlink{cn23xx__pf__regs_8h_source_l00094}{LIO\+\_\+\+CN23\+XX\+\_\+\+SLI\+\_\+\+MAC\+\_\+\+CREDIT\+\_\+\+CNT}}, \mbox{\hyperlink{lio__bsd_8h_source_l00103}{lio\+\_\+dev\+\_\+err}}, \mbox{\hyperlink{lio__main_8h_source_l00087}{lio\+\_\+map\+\_\+pci\+\_\+barx()}}, \mbox{\hyperlink{lio__device_8h_source_l00811}{lio\+\_\+read\+\_\+pci\+\_\+cfg()}}, \mbox{\hyperlink{lio__main_8h_source_l00068}{lio\+\_\+unmap\+\_\+pci\+\_\+barx()}}, \mbox{\hyperlink{lio__device_8h_source_l00886}{lio\+\_\+write\+\_\+csr64()}}, \mbox{\hyperlink{lio__device_8h_source_l00227}{lio\+\_\+fn\+\_\+list\+::msix\+\_\+interrupt\+\_\+handler}}, \mbox{\hyperlink{lio__device_8h_source_l00226}{lio\+\_\+fn\+\_\+list\+::process\+\_\+interrupt\+\_\+regs}}, \mbox{\hyperlink{lio__device_8h_source_l00229}{lio\+\_\+fn\+\_\+list\+::setup\+\_\+device\+\_\+regs}}, \mbox{\hyperlink{lio__device_8h_source_l00223}{lio\+\_\+fn\+\_\+list\+::setup\+\_\+iq\+\_\+regs}}, \mbox{\hyperlink{lio__device_8h_source_l00224}{lio\+\_\+fn\+\_\+list\+::setup\+\_\+oq\+\_\+regs}}, \mbox{\hyperlink{lio__device_8h_source_l00228}{lio\+\_\+fn\+\_\+list\+::soft\+\_\+reset}}, and \mbox{\hyperlink{lio__device_8h_source_l00235}{lio\+\_\+fn\+\_\+list\+::update\+\_\+iq\+\_\+read\+\_\+idx}}.



Referenced by \mbox{\hyperlink{lio__main_8c_source_l00795}{lio\+\_\+chip\+\_\+specific\+\_\+setup()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d89/cn23xx__pf__device_8h_a61ecac78842e1fa0630098251995a11f_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d89/cn23xx__pf__device_8h_a61ecac78842e1fa0630098251995a11f_icgraph}
\end{center}
\end{figure}
