\hypertarget{qla__os_8h}{}\doxysection{dev/qlxgb/qla\+\_\+os.h File Reference}
\label{qla__os_8h}\index{dev/qlxgb/qla\_os.h@{dev/qlxgb/qla\_os.h}}
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/mbuf.\+h$>$}\newline
{\ttfamily \#include $<$sys/protosw.\+h$>$}\newline
{\ttfamily \#include $<$sys/socket.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/sockio.\+h$>$}\newline
{\ttfamily \#include $<$sys/types.\+h$>$}\newline
{\ttfamily \#include $<$machine/atomic.\+h$>$}\newline
{\ttfamily \#include $<$sys/conf.\+h$>$}\newline
{\ttfamily \#include $<$net/if.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+arp.\+h$>$}\newline
{\ttfamily \#include $<$net/ethernet.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+dl.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+media.\+h$>$}\newline
{\ttfamily \#include $<$net/bpf.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+types.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+vlan\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$netinet/in\+\_\+systm.\+h$>$}\newline
{\ttfamily \#include $<$netinet/in.\+h$>$}\newline
{\ttfamily \#include $<$netinet/if\+\_\+ether.\+h$>$}\newline
{\ttfamily \#include $<$netinet/ip.\+h$>$}\newline
{\ttfamily \#include $<$netinet/ip6.\+h$>$}\newline
{\ttfamily \#include $<$netinet/tcp.\+h$>$}\newline
{\ttfamily \#include $<$netinet/udp.\+h$>$}\newline
{\ttfamily \#include $<$netinet/in\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$netinet/tcp\+\_\+lro.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$machine/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/rman.\+h$>$}\newline
{\ttfamily \#include $<$machine/resource.\+h$>$}\newline
{\ttfamily \#include $<$dev/pci/pcireg.\+h$>$}\newline
{\ttfamily \#include $<$dev/pci/pcivar.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/condvar.\+h$>$}\newline
{\ttfamily \#include $<$sys/proc.\+h$>$}\newline
{\ttfamily \#include $<$sys/sysctl.\+h$>$}\newline
{\ttfamily \#include $<$sys/endian.\+h$>$}\newline
{\ttfamily \#include $<$sys/taskqueue.\+h$>$}\newline
{\ttfamily \#include $<$sys/pcpu.\+h$>$}\newline
{\ttfamily \#include $<$sys/unistd.\+h$>$}\newline
{\ttfamily \#include $<$sys/kthread.\+h$>$}\newline
Include dependency graph for qla\+\_\+os.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d9/d78/qla__os_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]{d5/d8f/qla__os_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structqla__dma}{qla\+\_\+dma}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{qla__os_8h_ac5cf4317aa0206f11f5c454c0ec7c8b7}{QLA\+\_\+\+USEC\+\_\+\+DELAY}}(usec)~DELAY(usec)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a2c16e8bd784bac8a87027db51ddbf393}{qla\+\_\+host\+\_\+to\+\_\+le16}}(x)~htole16(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a459b097f3b7262f337a7a234787a61f7}{qla\+\_\+host\+\_\+to\+\_\+le32}}(x)~htole32(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a727fc6d258e1bb749e6aee3a0e02a183}{qla\+\_\+host\+\_\+to\+\_\+le64}}(x)~htole64(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a958f5685f82a2784d22e594fc72f3ffd}{qla\+\_\+host\+\_\+to\+\_\+be16}}(x)~htobe16(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a78ff3c1831b1e0083d995fac973494da}{qla\+\_\+host\+\_\+to\+\_\+be32}}(x)~htobe32(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_ae6c872aed48eaf28200c9f1fede8bb24}{qla\+\_\+host\+\_\+to\+\_\+be64}}(x)~htobe64(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_ac4253b6dbfe7f233b7d7de4a4598de76}{qla\+\_\+le16\+\_\+to\+\_\+host}}(x)~le16toh(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a5678a056cf0fc9b4544cb654c95abc28}{qla\+\_\+le32\+\_\+to\+\_\+host}}(x)~le32toh(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a1344ccfc4fcadc5c7956d3dedcf4d2dd}{qla\+\_\+le64\+\_\+to\+\_\+host}}(x)~le64toh(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a8d3c860fe3e1a149c322f7130b5139f8}{qla\+\_\+be16\+\_\+to\+\_\+host}}(x)~be16toh(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a4eaf85f819082ee1b99165dd7820aab8}{qla\+\_\+be32\+\_\+to\+\_\+host}}(x)~be32toh(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a4d4925f6c64ab00ca8ca9a596d68476f}{qla\+\_\+be64\+\_\+to\+\_\+host}}(x)~be64toh(x)
\item 
\#define \mbox{\hyperlink{qla__os_8h_ac19585fb4979e3ca1d70ab87532bedbd}{qla\+\_\+mdelay}}(fn,  msecs)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a4cec8c2e95251192893c94ce5464fccf}{QLA\+\_\+\+LOCK}}(ha,  str)~\mbox{\hyperlink{qla__inline_8h_a5008cbcddc2226e592baf7db9851fd42}{qla\+\_\+lock}}(ha, str);
\item 
\#define \mbox{\hyperlink{qla__os_8h_a6c60ef5d07514a0b191b8ed4685eac5d}{QLA\+\_\+\+UNLOCK}}(ha,  str)~\mbox{\hyperlink{qla__inline_8h_afd8d0ea8280d8b1572cb6e4e833944bb}{qla\+\_\+unlock}}(ha, str)
\item 
\#define \mbox{\hyperlink{qla__os_8h_a6eb0319bc822f8ea3f7492609ce88a95}{QLA\+\_\+\+TX\+\_\+\+LOCK}}(ha)~mtx\+\_\+lock(\&ha-\/$>$tx\+\_\+lock);
\item 
\#define \mbox{\hyperlink{qla__os_8h_a4ddfbd3b7ed492219439cc4c89bfe411}{QLA\+\_\+\+TX\+\_\+\+UNLOCK}}(ha)~mtx\+\_\+unlock(\&ha-\/$>$tx\+\_\+lock);
\item 
\#define \mbox{\hyperlink{qla__os_8h_a8154256ca86283ad9df490ad2a13a5ea}{QLA\+\_\+\+RX\+\_\+\+LOCK}}(ha)~mtx\+\_\+lock(\&ha-\/$>$rx\+\_\+lock);
\item 
\#define \mbox{\hyperlink{qla__os_8h_a74684a16b9d54d45a94f063b7ffb2f7c}{QLA\+\_\+\+RX\+\_\+\+UNLOCK}}(ha)~mtx\+\_\+unlock(\&ha-\/$>$rx\+\_\+lock);
\item 
\#define \mbox{\hyperlink{qla__os_8h_a6af8adf0f224b52eca59d78fe630c852}{QLA\+\_\+\+RXJ\+\_\+\+LOCK}}(ha)~mtx\+\_\+lock(\&ha-\/$>$rxj\+\_\+lock);
\item 
\#define \mbox{\hyperlink{qla__os_8h_a5abc406aeff29c82e53a5ca72cfe5136}{QLA\+\_\+\+RXJ\+\_\+\+UNLOCK}}(ha)~mtx\+\_\+unlock(\&ha-\/$>$rxj\+\_\+lock);
\item 
\#define \mbox{\hyperlink{qla__os_8h_a2f6bb97d2fd774c485b5b89ac0f5712f}{QL\+\_\+\+ASSERT}}(x,  y)~if (!x) panic y
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{structqla__dma}{qla\+\_\+dma}} \mbox{\hyperlink{qla__os_8h_a91943e4fbc8f59f617997af5a291b06f}{qla\+\_\+dma\+\_\+t}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static \+\_\+\+\_\+inline int \mbox{\hyperlink{qla__os_8h_a73a47844972f5a5c302beb119927fde5}{qla\+\_\+ms\+\_\+to\+\_\+hz}} (int ms)
\item 
static \+\_\+\+\_\+inline int \mbox{\hyperlink{qla__os_8h_a307fd4449e94e89090889dccb93a01ea}{qla\+\_\+sec\+\_\+to\+\_\+hz}} (int sec)
\item 
\mbox{\hyperlink{qla__os_8h_a8978794d727d6961c9ae243238dd836f}{MALLOC\+\_\+\+DECLARE}} (M\+\_\+\+QLA8\+XXXBUF)
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{qla__os_8h_a2f6bb97d2fd774c485b5b89ac0f5712f}\label{qla__os_8h_a2f6bb97d2fd774c485b5b89ac0f5712f}} 
\index{qla\_os.h@{qla\_os.h}!QL\_ASSERT@{QL\_ASSERT}}
\index{QL\_ASSERT@{QL\_ASSERT}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QL\_ASSERT}{QL\_ASSERT}}
{\footnotesize\ttfamily \#define QL\+\_\+\+ASSERT(\begin{DoxyParamCaption}\item[{}]{x,  }\item[{}]{y }\end{DoxyParamCaption})~if (!x) panic y}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00176}{176}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a8d3c860fe3e1a149c322f7130b5139f8}\label{qla__os_8h_a8d3c860fe3e1a149c322f7130b5139f8}} 
\index{qla\_os.h@{qla\_os.h}!qla\_be16\_to\_host@{qla\_be16\_to\_host}}
\index{qla\_be16\_to\_host@{qla\_be16\_to\_host}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_be16\_to\_host}{qla\_be16\_to\_host}}
{\footnotesize\ttfamily \#define qla\+\_\+be16\+\_\+to\+\_\+host(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~be16toh(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00134}{134}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a4eaf85f819082ee1b99165dd7820aab8}\label{qla__os_8h_a4eaf85f819082ee1b99165dd7820aab8}} 
\index{qla\_os.h@{qla\_os.h}!qla\_be32\_to\_host@{qla\_be32\_to\_host}}
\index{qla\_be32\_to\_host@{qla\_be32\_to\_host}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_be32\_to\_host}{qla\_be32\_to\_host}}
{\footnotesize\ttfamily \#define qla\+\_\+be32\+\_\+to\+\_\+host(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~be32toh(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00135}{135}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a4d4925f6c64ab00ca8ca9a596d68476f}\label{qla__os_8h_a4d4925f6c64ab00ca8ca9a596d68476f}} 
\index{qla\_os.h@{qla\_os.h}!qla\_be64\_to\_host@{qla\_be64\_to\_host}}
\index{qla\_be64\_to\_host@{qla\_be64\_to\_host}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_be64\_to\_host}{qla\_be64\_to\_host}}
{\footnotesize\ttfamily \#define qla\+\_\+be64\+\_\+to\+\_\+host(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~be64toh(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00136}{136}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a958f5685f82a2784d22e594fc72f3ffd}\label{qla__os_8h_a958f5685f82a2784d22e594fc72f3ffd}} 
\index{qla\_os.h@{qla\_os.h}!qla\_host\_to\_be16@{qla\_host\_to\_be16}}
\index{qla\_host\_to\_be16@{qla\_host\_to\_be16}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_host\_to\_be16}{qla\_host\_to\_be16}}
{\footnotesize\ttfamily \#define qla\+\_\+host\+\_\+to\+\_\+be16(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~htobe16(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00127}{127}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a78ff3c1831b1e0083d995fac973494da}\label{qla__os_8h_a78ff3c1831b1e0083d995fac973494da}} 
\index{qla\_os.h@{qla\_os.h}!qla\_host\_to\_be32@{qla\_host\_to\_be32}}
\index{qla\_host\_to\_be32@{qla\_host\_to\_be32}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_host\_to\_be32}{qla\_host\_to\_be32}}
{\footnotesize\ttfamily \#define qla\+\_\+host\+\_\+to\+\_\+be32(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~htobe32(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00128}{128}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_ae6c872aed48eaf28200c9f1fede8bb24}\label{qla__os_8h_ae6c872aed48eaf28200c9f1fede8bb24}} 
\index{qla\_os.h@{qla\_os.h}!qla\_host\_to\_be64@{qla\_host\_to\_be64}}
\index{qla\_host\_to\_be64@{qla\_host\_to\_be64}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_host\_to\_be64}{qla\_host\_to\_be64}}
{\footnotesize\ttfamily \#define qla\+\_\+host\+\_\+to\+\_\+be64(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~htobe64(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00129}{129}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a2c16e8bd784bac8a87027db51ddbf393}\label{qla__os_8h_a2c16e8bd784bac8a87027db51ddbf393}} 
\index{qla\_os.h@{qla\_os.h}!qla\_host\_to\_le16@{qla\_host\_to\_le16}}
\index{qla\_host\_to\_le16@{qla\_host\_to\_le16}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_host\_to\_le16}{qla\_host\_to\_le16}}
{\footnotesize\ttfamily \#define qla\+\_\+host\+\_\+to\+\_\+le16(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~htole16(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00124}{124}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a459b097f3b7262f337a7a234787a61f7}\label{qla__os_8h_a459b097f3b7262f337a7a234787a61f7}} 
\index{qla\_os.h@{qla\_os.h}!qla\_host\_to\_le32@{qla\_host\_to\_le32}}
\index{qla\_host\_to\_le32@{qla\_host\_to\_le32}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_host\_to\_le32}{qla\_host\_to\_le32}}
{\footnotesize\ttfamily \#define qla\+\_\+host\+\_\+to\+\_\+le32(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~htole32(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00125}{125}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a727fc6d258e1bb749e6aee3a0e02a183}\label{qla__os_8h_a727fc6d258e1bb749e6aee3a0e02a183}} 
\index{qla\_os.h@{qla\_os.h}!qla\_host\_to\_le64@{qla\_host\_to\_le64}}
\index{qla\_host\_to\_le64@{qla\_host\_to\_le64}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_host\_to\_le64}{qla\_host\_to\_le64}}
{\footnotesize\ttfamily \#define qla\+\_\+host\+\_\+to\+\_\+le64(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~htole64(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00126}{126}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_ac4253b6dbfe7f233b7d7de4a4598de76}\label{qla__os_8h_ac4253b6dbfe7f233b7d7de4a4598de76}} 
\index{qla\_os.h@{qla\_os.h}!qla\_le16\_to\_host@{qla\_le16\_to\_host}}
\index{qla\_le16\_to\_host@{qla\_le16\_to\_host}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_le16\_to\_host}{qla\_le16\_to\_host}}
{\footnotesize\ttfamily \#define qla\+\_\+le16\+\_\+to\+\_\+host(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~le16toh(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00131}{131}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a5678a056cf0fc9b4544cb654c95abc28}\label{qla__os_8h_a5678a056cf0fc9b4544cb654c95abc28}} 
\index{qla\_os.h@{qla\_os.h}!qla\_le32\_to\_host@{qla\_le32\_to\_host}}
\index{qla\_le32\_to\_host@{qla\_le32\_to\_host}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_le32\_to\_host}{qla\_le32\_to\_host}}
{\footnotesize\ttfamily \#define qla\+\_\+le32\+\_\+to\+\_\+host(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~le32toh(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00132}{132}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a1344ccfc4fcadc5c7956d3dedcf4d2dd}\label{qla__os_8h_a1344ccfc4fcadc5c7956d3dedcf4d2dd}} 
\index{qla\_os.h@{qla\_os.h}!qla\_le64\_to\_host@{qla\_le64\_to\_host}}
\index{qla\_le64\_to\_host@{qla\_le64\_to\_host}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_le64\_to\_host}{qla\_le64\_to\_host}}
{\footnotesize\ttfamily \#define qla\+\_\+le64\+\_\+to\+\_\+host(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~le64toh(x)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00133}{133}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a4cec8c2e95251192893c94ce5464fccf}\label{qla__os_8h_a4cec8c2e95251192893c94ce5464fccf}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_LOCK@{QLA\_LOCK}}
\index{QLA\_LOCK@{QLA\_LOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_LOCK}{QLA\_LOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+LOCK(\begin{DoxyParamCaption}\item[{}]{ha,  }\item[{}]{str }\end{DoxyParamCaption})~\mbox{\hyperlink{qla__inline_8h_a5008cbcddc2226e592baf7db9851fd42}{qla\+\_\+lock}}(ha, str);}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00151}{151}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_ac19585fb4979e3ca1d70ab87532bedbd}\label{qla__os_8h_ac19585fb4979e3ca1d70ab87532bedbd}} 
\index{qla\_os.h@{qla\_os.h}!qla\_mdelay@{qla\_mdelay}}
\index{qla\_mdelay@{qla\_mdelay}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_mdelay}{qla\_mdelay}}
{\footnotesize\ttfamily \#define qla\+\_\+mdelay(\begin{DoxyParamCaption}\item[{}]{fn,  }\item[{}]{msecs }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{        \{\(\backslash\)}
\DoxyCodeLine{                if (cold) \(\backslash\)}
\DoxyCodeLine{                        DELAY((msecs * 1000)); \(\backslash\)}
\DoxyCodeLine{                else  \(\backslash\)}
\DoxyCodeLine{                        pause(fn, \mbox{\hyperlink{qla__os_8h_a73a47844972f5a5c302beb119927fde5}{qla\_ms\_to\_hz}}(msecs)); \(\backslash\)}
\DoxyCodeLine{        \}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{qla__os_8h_source_l00140}{140}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a8154256ca86283ad9df490ad2a13a5ea}\label{qla__os_8h_a8154256ca86283ad9df490ad2a13a5ea}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_RX\_LOCK@{QLA\_RX\_LOCK}}
\index{QLA\_RX\_LOCK@{QLA\_RX\_LOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_RX\_LOCK}{QLA\_RX\_LOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+RX\+\_\+\+LOCK(\begin{DoxyParamCaption}\item[{}]{ha }\end{DoxyParamCaption})~mtx\+\_\+lock(\&ha-\/$>$rx\+\_\+lock);}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00157}{157}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a74684a16b9d54d45a94f063b7ffb2f7c}\label{qla__os_8h_a74684a16b9d54d45a94f063b7ffb2f7c}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_RX\_UNLOCK@{QLA\_RX\_UNLOCK}}
\index{QLA\_RX\_UNLOCK@{QLA\_RX\_UNLOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_RX\_UNLOCK}{QLA\_RX\_UNLOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+RX\+\_\+\+UNLOCK(\begin{DoxyParamCaption}\item[{}]{ha }\end{DoxyParamCaption})~mtx\+\_\+unlock(\&ha-\/$>$rx\+\_\+lock);}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00158}{158}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a6af8adf0f224b52eca59d78fe630c852}\label{qla__os_8h_a6af8adf0f224b52eca59d78fe630c852}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_RXJ\_LOCK@{QLA\_RXJ\_LOCK}}
\index{QLA\_RXJ\_LOCK@{QLA\_RXJ\_LOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_RXJ\_LOCK}{QLA\_RXJ\_LOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+RXJ\+\_\+\+LOCK(\begin{DoxyParamCaption}\item[{}]{ha }\end{DoxyParamCaption})~mtx\+\_\+lock(\&ha-\/$>$rxj\+\_\+lock);}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00160}{160}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a5abc406aeff29c82e53a5ca72cfe5136}\label{qla__os_8h_a5abc406aeff29c82e53a5ca72cfe5136}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_RXJ\_UNLOCK@{QLA\_RXJ\_UNLOCK}}
\index{QLA\_RXJ\_UNLOCK@{QLA\_RXJ\_UNLOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_RXJ\_UNLOCK}{QLA\_RXJ\_UNLOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+RXJ\+\_\+\+UNLOCK(\begin{DoxyParamCaption}\item[{}]{ha }\end{DoxyParamCaption})~mtx\+\_\+unlock(\&ha-\/$>$rxj\+\_\+lock);}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00161}{161}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a6eb0319bc822f8ea3f7492609ce88a95}\label{qla__os_8h_a6eb0319bc822f8ea3f7492609ce88a95}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_TX\_LOCK@{QLA\_TX\_LOCK}}
\index{QLA\_TX\_LOCK@{QLA\_TX\_LOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_TX\_LOCK}{QLA\_TX\_LOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+TX\+\_\+\+LOCK(\begin{DoxyParamCaption}\item[{}]{ha }\end{DoxyParamCaption})~mtx\+\_\+lock(\&ha-\/$>$tx\+\_\+lock);}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00154}{154}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a4ddfbd3b7ed492219439cc4c89bfe411}\label{qla__os_8h_a4ddfbd3b7ed492219439cc4c89bfe411}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_TX\_UNLOCK@{QLA\_TX\_UNLOCK}}
\index{QLA\_TX\_UNLOCK@{QLA\_TX\_UNLOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_TX\_UNLOCK}{QLA\_TX\_UNLOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+TX\+\_\+\+UNLOCK(\begin{DoxyParamCaption}\item[{}]{ha }\end{DoxyParamCaption})~mtx\+\_\+unlock(\&ha-\/$>$tx\+\_\+lock);}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00155}{155}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a6c60ef5d07514a0b191b8ed4685eac5d}\label{qla__os_8h_a6c60ef5d07514a0b191b8ed4685eac5d}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_UNLOCK@{QLA\_UNLOCK}}
\index{QLA\_UNLOCK@{QLA\_UNLOCK}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_UNLOCK}{QLA\_UNLOCK}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+UNLOCK(\begin{DoxyParamCaption}\item[{}]{ha,  }\item[{}]{str }\end{DoxyParamCaption})~\mbox{\hyperlink{qla__inline_8h_afd8d0ea8280d8b1572cb6e4e833944bb}{qla\+\_\+unlock}}(ha, str)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00152}{152}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_ac5cf4317aa0206f11f5c454c0ec7c8b7}\label{qla__os_8h_ac5cf4317aa0206f11f5c454c0ec7c8b7}} 
\index{qla\_os.h@{qla\_os.h}!QLA\_USEC\_DELAY@{QLA\_USEC\_DELAY}}
\index{QLA\_USEC\_DELAY@{QLA\_USEC\_DELAY}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{QLA\_USEC\_DELAY}{QLA\_USEC\_DELAY}}
{\footnotesize\ttfamily \#define QLA\+\_\+\+USEC\+\_\+\+DELAY(\begin{DoxyParamCaption}\item[{}]{usec }\end{DoxyParamCaption})~DELAY(usec)}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00093}{93}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{qla__os_8h_a91943e4fbc8f59f617997af5a291b06f}\label{qla__os_8h_a91943e4fbc8f59f617997af5a291b06f}} 
\index{qla\_os.h@{qla\_os.h}!qla\_dma\_t@{qla\_dma\_t}}
\index{qla\_dma\_t@{qla\_dma\_t}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_dma\_t}{qla\_dma\_t}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{structqla__dma}{qla\+\_\+dma}} \mbox{\hyperlink{qla__os_8h_a91943e4fbc8f59f617997af5a291b06f}{qla\+\_\+dma\+\_\+t}}}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00174}{174}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{qla__os_8h_a8978794d727d6961c9ae243238dd836f}\label{qla__os_8h_a8978794d727d6961c9ae243238dd836f}} 
\index{qla\_os.h@{qla\_os.h}!MALLOC\_DECLARE@{MALLOC\_DECLARE}}
\index{MALLOC\_DECLARE@{MALLOC\_DECLARE}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{MALLOC\_DECLARE()}{MALLOC\_DECLARE()}}
{\footnotesize\ttfamily MALLOC\+\_\+\+DECLARE (\begin{DoxyParamCaption}\item[{M\+\_\+\+QLA8\+XXXBUF}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{qla__os_8h_a73a47844972f5a5c302beb119927fde5}\label{qla__os_8h_a73a47844972f5a5c302beb119927fde5}} 
\index{qla\_os.h@{qla\_os.h}!qla\_ms\_to\_hz@{qla\_ms\_to\_hz}}
\index{qla\_ms\_to\_hz@{qla\_ms\_to\_hz}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_ms\_to\_hz()}{qla\_ms\_to\_hz()}}
{\footnotesize\ttfamily static \+\_\+\+\_\+inline int qla\+\_\+ms\+\_\+to\+\_\+hz (\begin{DoxyParamCaption}\item[{int}]{ms }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00095}{95}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

\mbox{\Hypertarget{qla__os_8h_a307fd4449e94e89090889dccb93a01ea}\label{qla__os_8h_a307fd4449e94e89090889dccb93a01ea}} 
\index{qla\_os.h@{qla\_os.h}!qla\_sec\_to\_hz@{qla\_sec\_to\_hz}}
\index{qla\_sec\_to\_hz@{qla\_sec\_to\_hz}!qla\_os.h@{qla\_os.h}}
\doxysubsubsection{\texorpdfstring{qla\_sec\_to\_hz()}{qla\_sec\_to\_hz()}}
{\footnotesize\ttfamily static \+\_\+\+\_\+inline int qla\+\_\+sec\+\_\+to\+\_\+hz (\begin{DoxyParamCaption}\item[{int}]{sec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{qla__os_8h_source_l00114}{114}} of file \mbox{\hyperlink{qla__os_8h_source}{qla\+\_\+os.\+h}}.

