\hypertarget{qla__def_8h_source}{}\doxysection{qla\+\_\+def.\+h}
\label{qla__def_8h_source}\index{dev/qlxgb/qla\_def.h@{dev/qlxgb/qla\_def.h}}
\mbox{\hyperlink{qla__def_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2011-\/2013 Qlogic Corporation}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00007}00007 \textcolor{comment}{ *  Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00008}00008 \textcolor{comment}{ *  modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00009}00009 \textcolor{comment}{ *  are met:}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00010}00010 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00011}00011 \textcolor{comment}{ *  1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00012}00012 \textcolor{comment}{ *     notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00013}00013 \textcolor{comment}{ *  2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00014}00014 \textcolor{comment}{ *     notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00015}00015 \textcolor{comment}{ *     documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00016}00016 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00017}00017 \textcolor{comment}{ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "{}AS IS"{}}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00018}00018 \textcolor{comment}{ *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00019}00019 \textcolor{comment}{ *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00020}00020 \textcolor{comment}{ *  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00021}00021 \textcolor{comment}{ *  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00022}00022 \textcolor{comment}{ *  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00023}00023 \textcolor{comment}{ *  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00024}00024 \textcolor{comment}{ *  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00025}00025 \textcolor{comment}{ *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00026}00026 \textcolor{comment}{ *  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00027}00027 \textcolor{comment}{ *  POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00028}00028 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00029}00029 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00030}00030 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00031}00031 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00032}00032 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00033}00033 \textcolor{comment}{ * File: qla\_def.h}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00034}00034 \textcolor{comment}{ * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656.}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00035}00035 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00037}00037 \textcolor{preprocessor}{\#ifndef \_QLA\_DEF\_H\_}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00038}00038 \textcolor{preprocessor}{\#define \_QLA\_DEF\_H\_}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00039}00039 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00040}\mbox{\hyperlink{qla__def_8h_add6d2693f5d356b091088437148f939b}{00040}} \textcolor{preprocessor}{\#define BIT\_0                   (0x1 << 0)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00041}\mbox{\hyperlink{qla__def_8h_aec9fa7211b7c9a686f2cd522cad7989d}{00041}} \textcolor{preprocessor}{\#define BIT\_1                   (0x1 << 1)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00042}\mbox{\hyperlink{qla__def_8h_ab94e068b5073d729aad6b2aeb613916c}{00042}} \textcolor{preprocessor}{\#define BIT\_2                   (0x1 << 2)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00043}\mbox{\hyperlink{qla__def_8h_a2cad0186598ab53983a3bca9b09b0a51}{00043}} \textcolor{preprocessor}{\#define BIT\_3                   (0x1 << 3)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00044}\mbox{\hyperlink{qla__def_8h_a3506434dff748a6be0d75a338a95e673}{00044}} \textcolor{preprocessor}{\#define BIT\_4                   (0x1 << 4)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00045}\mbox{\hyperlink{qla__def_8h_aae7fda97814f05bfe68c0f6bb2ef9f11}{00045}} \textcolor{preprocessor}{\#define BIT\_5                   (0x1 << 5)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00046}\mbox{\hyperlink{qla__def_8h_a7ecb78fe8c01d9722a06f10691495309}{00046}} \textcolor{preprocessor}{\#define BIT\_6                   (0x1 << 6)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00047}\mbox{\hyperlink{qla__def_8h_a4ad58adf84157aebea2a98cc9402212a}{00047}} \textcolor{preprocessor}{\#define BIT\_7                   (0x1 << 7)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00048}\mbox{\hyperlink{qla__def_8h_ad368b88fcb5547c245121a4533e9f858}{00048}} \textcolor{preprocessor}{\#define BIT\_8                   (0x1 << 8)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00049}\mbox{\hyperlink{qla__def_8h_a3b5258d1a8c72195f5d01bf7f0455f11}{00049}} \textcolor{preprocessor}{\#define BIT\_9                   (0x1 << 9)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00050}\mbox{\hyperlink{qla__def_8h_a68c53eefb39121d3abb4967a2ac5c683}{00050}} \textcolor{preprocessor}{\#define BIT\_10                  (0x1 << 10)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00051}\mbox{\hyperlink{qla__def_8h_a635fff3e12ecbdf623544d1732415ffb}{00051}} \textcolor{preprocessor}{\#define BIT\_11                  (0x1 << 11)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00052}\mbox{\hyperlink{qla__def_8h_a0ba5b67de2f048ed69dd42be5cf509d4}{00052}} \textcolor{preprocessor}{\#define BIT\_12                  (0x1 << 12)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00053}\mbox{\hyperlink{qla__def_8h_ada1400714b9061183d116797f8775dce}{00053}} \textcolor{preprocessor}{\#define BIT\_13                  (0x1 << 13)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00054}\mbox{\hyperlink{qla__def_8h_af50496d04a614ddef31ba9b1a8a92242}{00054}} \textcolor{preprocessor}{\#define BIT\_14                  (0x1 << 14)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00055}\mbox{\hyperlink{qla__def_8h_a7611ad2315432d0865055d2ff3066968}{00055}} \textcolor{preprocessor}{\#define BIT\_15                  (0x1 << 15)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00056}\mbox{\hyperlink{qla__def_8h_aa5b535cdb2b0b6509a32f8a02ef64719}{00056}} \textcolor{preprocessor}{\#define BIT\_16                  (0x1 << 16)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00057}\mbox{\hyperlink{qla__def_8h_a719c9089fcb3f58137f378a921628d0a}{00057}} \textcolor{preprocessor}{\#define BIT\_17                  (0x1 << 17)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00058}\mbox{\hyperlink{qla__def_8h_af07a5c39b3919b991251d343f923a873}{00058}} \textcolor{preprocessor}{\#define BIT\_18                  (0x1 << 18)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00059}\mbox{\hyperlink{qla__def_8h_aba36883fad68c8173b9593446e434df8}{00059}} \textcolor{preprocessor}{\#define BIT\_19                  (0x1 << 19)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00060}\mbox{\hyperlink{qla__def_8h_ac9001d4bab72ac449e9d77898e7281f0}{00060}} \textcolor{preprocessor}{\#define BIT\_20                  (0x1 << 20)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00061}\mbox{\hyperlink{qla__def_8h_ae270a65bf72d98073b3ffd596f8a718b}{00061}} \textcolor{preprocessor}{\#define BIT\_21                  (0x1 << 21)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00062}\mbox{\hyperlink{qla__def_8h_ac479e79f083a12cc19dc36620b7d9113}{00062}} \textcolor{preprocessor}{\#define BIT\_22                  (0x1 << 22)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00063}\mbox{\hyperlink{qla__def_8h_a70b366d9fe3292f07acf7be57f25a482}{00063}} \textcolor{preprocessor}{\#define BIT\_23                  (0x1 << 23)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00064}\mbox{\hyperlink{qla__def_8h_a2811bef23f495846be6b3321f4707d4c}{00064}} \textcolor{preprocessor}{\#define BIT\_24                  (0x1 << 24)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00065}\mbox{\hyperlink{qla__def_8h_aec6d87ecf2b28eaed2d0ef3e670d562f}{00065}} \textcolor{preprocessor}{\#define BIT\_25                  (0x1 << 25)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00066}\mbox{\hyperlink{qla__def_8h_aed69321efb136ed29cce0586ce1ab873}{00066}} \textcolor{preprocessor}{\#define BIT\_26                  (0x1 << 26)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00067}\mbox{\hyperlink{qla__def_8h_a49f55567349ae6b9aa15ce9da1a4f175}{00067}} \textcolor{preprocessor}{\#define BIT\_27                  (0x1 << 27)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00068}\mbox{\hyperlink{qla__def_8h_a9a170db0113ab9f9a23367ae7dfbfe3f}{00068}} \textcolor{preprocessor}{\#define BIT\_28                  (0x1 << 28)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00069}\mbox{\hyperlink{qla__def_8h_a150f7ce50b60a7baaafabf8378e74ceb}{00069}} \textcolor{preprocessor}{\#define BIT\_29                  (0x1 << 29)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00070}\mbox{\hyperlink{qla__def_8h_a48d9a21ee4088feb4b1743beac4b4a32}{00070}} \textcolor{preprocessor}{\#define BIT\_30                  (0x1 << 30)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00071}\mbox{\hyperlink{qla__def_8h_ac397885e78e2ad51c518b95195a2a57e}{00071}} \textcolor{preprocessor}{\#define BIT\_31                  (0x1 << 31)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00072}00072 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00073}\mbox{\hyperlink{structqla__rx__buf}{00073}} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__rx__buf}{qla\_rx\_buf}} \{}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00074}\mbox{\hyperlink{structqla__rx__buf_ae6140c479fe66d81426c5490f576b80e}{00074}}         \textcolor{keyword}{struct }mbuf     *\mbox{\hyperlink{structqla__rx__buf_ae6140c479fe66d81426c5490f576b80e}{m\_head}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00075}\mbox{\hyperlink{structqla__rx__buf_ae8ca2ed302ade4a55aafdd39856e87d7}{00075}}         bus\_dmamap\_t    \mbox{\hyperlink{structqla__rx__buf_ae8ca2ed302ade4a55aafdd39856e87d7}{map}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00076}\mbox{\hyperlink{structqla__rx__buf_afa8756af9c22e4d3be4fd6e4153f1e7c}{00076}}         bus\_addr\_t      \mbox{\hyperlink{structqla__rx__buf_afa8756af9c22e4d3be4fd6e4153f1e7c}{paddr}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00077}\mbox{\hyperlink{structqla__rx__buf_ab9d817e9bd0705cd783b9918551bcb75}{00077}}         uint32\_t        \mbox{\hyperlink{structqla__rx__buf_ab9d817e9bd0705cd783b9918551bcb75}{handle}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00078}\mbox{\hyperlink{structqla__rx__buf_ab45eb85cb7303827bbedd64999244396}{00078}}         \textcolor{keywordtype}{void}            *\mbox{\hyperlink{structqla__rx__buf_ab45eb85cb7303827bbedd64999244396}{next}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00079}00079 \};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00080}\mbox{\hyperlink{qla__def_8h_abfc7a4fc35fd798a9729cebe81436b4c}{00080}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__rx__buf}{qla\_rx\_buf}} \mbox{\hyperlink{structqla__rx__buf}{qla\_rx\_buf\_t}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00081}00081 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00082}\mbox{\hyperlink{structqla__tx__buf}{00082}} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__tx__buf}{qla\_tx\_buf}} \{}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00083}\mbox{\hyperlink{structqla__tx__buf_a13cdf28a665a7c028f21d4e40309b323}{00083}}         \textcolor{keyword}{struct }mbuf     *\mbox{\hyperlink{structqla__tx__buf_a13cdf28a665a7c028f21d4e40309b323}{m\_head}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00084}\mbox{\hyperlink{structqla__tx__buf_a441f0e2db5d13c7d556ccbaeebd125b2}{00084}}         bus\_dmamap\_t    \mbox{\hyperlink{structqla__tx__buf_a441f0e2db5d13c7d556ccbaeebd125b2}{map}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00085}00085 \};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00086}\mbox{\hyperlink{qla__def_8h_a503658a614aedfe0e76c4ffd9d4ad06e}{00086}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__tx__buf}{qla\_tx\_buf}} \mbox{\hyperlink{structqla__tx__buf}{qla\_tx\_buf\_t}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00087}00087 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00088}\mbox{\hyperlink{qla__def_8h_a432410cbb1aa7137f2b877874a008973}{00088}} \textcolor{preprocessor}{\#define QLA\_MAX\_SEGMENTS        63      }\textcolor{comment}{/* maximum \# of segs in a sg list */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00089}\mbox{\hyperlink{qla__def_8h_ad21eb7c122fa84bfceb4636d840d65c2}{00089}} \textcolor{preprocessor}{\#define QLA\_MAX\_FRAME\_SIZE      MJUM9BYTES}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00090}\mbox{\hyperlink{qla__def_8h_a34cca3f6faa5afbc568e6b47c50e9da7}{00090}} \textcolor{preprocessor}{\#define QLA\_STD\_FRAME\_SIZE      1514}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00091}\mbox{\hyperlink{qla__def_8h_a5d90bec978e83c51304d299eb5641366}{00091}} \textcolor{preprocessor}{\#define QLA\_MAX\_TSO\_FRAME\_SIZE  ((64 * 1024 -\/ 1) + 22)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00092}00092 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00093}00093 \textcolor{comment}{/* Number of MSIX/MSI Vectors required */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00094}\mbox{\hyperlink{qla__def_8h_a4bce728603e6efe6242261d2b97c3ac1}{00094}} \textcolor{preprocessor}{\#define Q8\_MSI\_COUNT            4}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00095}00095 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00096}\mbox{\hyperlink{structqla__ivec}{00096}} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__ivec}{qla\_ivec}} \{}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00097}\mbox{\hyperlink{structqla__ivec_a87d97620c25eaf847b7decea5a04fd8e}{00097}}         \textcolor{keyword}{struct }resource         *\mbox{\hyperlink{structqla__ivec_a87d97620c25eaf847b7decea5a04fd8e}{irq}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00098}\mbox{\hyperlink{structqla__ivec_a92588dbb30cf35d16356e5eb0c3eaca2}{00098}}         \textcolor{keywordtype}{void}                    *\mbox{\hyperlink{structqla__ivec_a92588dbb30cf35d16356e5eb0c3eaca2}{handle}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00099}\mbox{\hyperlink{structqla__ivec_a3e59023aad6cc98f9ae58a006c24cdcf}{00099}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structqla__ivec_a3e59023aad6cc98f9ae58a006c24cdcf}{irq\_rid}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00100}\mbox{\hyperlink{structqla__ivec_a0236db1d6c31d4b0931778fe45196522}{00100}}         \textcolor{keywordtype}{void}                    *\mbox{\hyperlink{structqla__ivec_a0236db1d6c31d4b0931778fe45196522}{ha}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00101}\mbox{\hyperlink{structqla__ivec_a3892a8b5f23820f1c70b9c875b6b2ae7}{00101}}         \textcolor{keyword}{struct }task             \mbox{\hyperlink{structqla__ivec_a3892a8b5f23820f1c70b9c875b6b2ae7}{rcv\_task}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00102}\mbox{\hyperlink{structqla__ivec_a5a0de18743aa34731963d5806b9fb65a}{00102}}         \textcolor{keyword}{struct }taskqueue        *\mbox{\hyperlink{structqla__ivec_a5a0de18743aa34731963d5806b9fb65a}{rcv\_tq}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00103}00103 \};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00104}00104 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00105}\mbox{\hyperlink{qla__def_8h_a9eaa2a945ec31b3e73c667421067046d}{00105}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__ivec}{qla\_ivec}} \mbox{\hyperlink{structqla__ivec}{qla\_ivec\_t}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00106}00106 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00107}\mbox{\hyperlink{qla__def_8h_acbcf32c944299c7c08411f3b244a3331}{00107}} \textcolor{preprocessor}{\#define QLA\_WATCHDOG\_CALLOUT\_TICKS      1}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00108}00108 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00109}00109 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00110}00110 \textcolor{comment}{ * Adapter structure contains the hardware independent information of the}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00111}00111 \textcolor{comment}{ * pci function.}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00112}00112 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00113}\mbox{\hyperlink{structqla__host}{00113}} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__host}{qla\_host}} \{}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00114}00114         \textcolor{keyword}{volatile} \textcolor{keyword}{struct }\{}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00115}00115                 \textcolor{keyword}{volatile} uint32\_t}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00116}\mbox{\hyperlink{structqla__host_aa551fafee2a1b570b787a21856a4ba48}{00116}}                         \mbox{\hyperlink{structqla__host_aa551fafee2a1b570b787a21856a4ba48}{qla\_watchdog\_active}}  :1,}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00117}\mbox{\hyperlink{structqla__host_a6afd09ac8dced4c26ac58a9b64649064}{00117}}                         \mbox{\hyperlink{structqla__host_a6afd09ac8dced4c26ac58a9b64649064}{qla\_watchdog\_exit}}    :1,}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00118}\mbox{\hyperlink{structqla__host_acabb5696c51ea813fd02f5e21612799e}{00118}}                         \mbox{\hyperlink{structqla__host_acabb5696c51ea813fd02f5e21612799e}{qla\_watchdog\_pause}}   :1,}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00119}\mbox{\hyperlink{structqla__host_a0cffe803ab95296e17b32707dd30ccc2}{00119}}                         \mbox{\hyperlink{structqla__host_a0cffe803ab95296e17b32707dd30ccc2}{lro\_init}}        :1,}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00120}\mbox{\hyperlink{structqla__host_afe8d4c88509521b3e4e535af0fdcaf08}{00120}}                         \mbox{\hyperlink{structqla__host_afe8d4c88509521b3e4e535af0fdcaf08}{stop\_rcv}}        :1,}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00121}\mbox{\hyperlink{structqla__host_af06f618aac15a4c66b27d0384060e5f2}{00121}}                         \mbox{\hyperlink{structqla__host_af06f618aac15a4c66b27d0384060e5f2}{link\_up}}          :1,}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00122}\mbox{\hyperlink{structqla__host_a682fd3042a20f402a293d4aa7b1328fd}{00122}}                         \mbox{\hyperlink{structqla__host_a682fd3042a20f402a293d4aa7b1328fd}{parent\_tag}}    :1,}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00123}\mbox{\hyperlink{structqla__host_a3a914f1a07b3b1eb3aff71c0538764b2}{00123}}                         \mbox{\hyperlink{structqla__host_a3a914f1a07b3b1eb3aff71c0538764b2}{lock\_init}}      :1;}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00124}\mbox{\hyperlink{structqla__host_acc4789393fa4265959bc99bfa879ff0c}{00124}}         \} \mbox{\hyperlink{structqla__host_acc4789393fa4265959bc99bfa879ff0c}{flags}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00125}00125 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00126}\mbox{\hyperlink{structqla__host_ab63869b0e64172cee52c6f52219d7771}{00126}}         device\_t                \mbox{\hyperlink{structqla__host_ab63869b0e64172cee52c6f52219d7771}{pci\_dev}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00127}00127 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00128}\mbox{\hyperlink{structqla__host_a241ccac5b886c6195827db9ac08c78f3}{00128}}         uint8\_t                 \mbox{\hyperlink{structqla__host_a241ccac5b886c6195827db9ac08c78f3}{pci\_func}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00129}\mbox{\hyperlink{structqla__host_ac4197b9fc902d893c669ae84ba41deb7}{00129}}         uint16\_t                \mbox{\hyperlink{structqla__host_ac4197b9fc902d893c669ae84ba41deb7}{watchdog\_ticks}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00130}\mbox{\hyperlink{structqla__host_a0672469109832c50c304cb654d48b227}{00130}}         uint8\_t                 \mbox{\hyperlink{structqla__host_a0672469109832c50c304cb654d48b227}{resvd}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00131}00131 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00132}00132         \textcolor{comment}{/* ioctl related */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00133}\mbox{\hyperlink{structqla__host_a383c0ec1cc09bb467e5184ba13fb1066}{00133}}         \textcolor{keyword}{struct }cdev             *\mbox{\hyperlink{structqla__host_a383c0ec1cc09bb467e5184ba13fb1066}{ioctl\_dev}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00134}00134 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00135}00135         \textcolor{comment}{/* register mapping */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00136}\mbox{\hyperlink{structqla__host_a25de8d7b6e8cc46c7aa275bce87f5e4c}{00136}}         \textcolor{keyword}{struct }resource         *\mbox{\hyperlink{structqla__host_a25de8d7b6e8cc46c7aa275bce87f5e4c}{pci\_reg}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00137}\mbox{\hyperlink{structqla__host_ad022c9a812fc6ca65d25412622b485c9}{00137}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structqla__host_ad022c9a812fc6ca65d25412622b485c9}{reg\_rid}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00138}00138 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00139}00139         \textcolor{comment}{/* interrupts */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00140}\mbox{\hyperlink{structqla__host_a922fc9113295c308352a1b8dacbae8e9}{00140}}         \textcolor{keyword}{struct }resource         *\mbox{\hyperlink{structqla__host_a922fc9113295c308352a1b8dacbae8e9}{irq}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00141}\mbox{\hyperlink{structqla__host_ac046ef702d7d554933ca22c878108c58}{00141}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structqla__host_ac046ef702d7d554933ca22c878108c58}{msix\_count}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00142}\mbox{\hyperlink{structqla__host_ab58fcf306fb74bc2214686ad7c536217}{00142}}         \textcolor{keywordtype}{void}                    *\mbox{\hyperlink{structqla__host_ab58fcf306fb74bc2214686ad7c536217}{intr\_handle}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00143}\mbox{\hyperlink{structqla__host_afd70c6b662e868482a604e17c8cffdbd}{00143}}         \mbox{\hyperlink{structqla__ivec}{qla\_ivec\_t}}            \mbox{\hyperlink{structqla__host_afd70c6b662e868482a604e17c8cffdbd}{irq\_vec}}[\mbox{\hyperlink{qla__def_8h_a4bce728603e6efe6242261d2b97c3ac1}{Q8\_MSI\_COUNT}}];}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00144}00144 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00145}00145         \textcolor{comment}{/* parent dma tag */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00146}\mbox{\hyperlink{structqla__host_afbfbd53c3b47b65bb142319401b719f5}{00146}}         bus\_dma\_tag\_t           \mbox{\hyperlink{structqla__host_afbfbd53c3b47b65bb142319401b719f5}{parent\_tag}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00147}00147 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00148}00148         \textcolor{comment}{/* interface to o.s */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00149}\mbox{\hyperlink{structqla__host_a6d997ee5686a564188e252c1c7f75d85}{00149}}         \textcolor{keyword}{struct }ifnet            *\mbox{\hyperlink{structqla__host_a6d997ee5686a564188e252c1c7f75d85}{ifp}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00150}00150 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00151}\mbox{\hyperlink{structqla__host_abea26a6e3ba7f0b742acf41a27e88367}{00151}}         \textcolor{keyword}{struct }ifmedia          \mbox{\hyperlink{structqla__host_abea26a6e3ba7f0b742acf41a27e88367}{media}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00152}\mbox{\hyperlink{structqla__host_a8fd521b8939dbb2a27d6d38bbb3dd97a}{00152}}         uint16\_t                \mbox{\hyperlink{structqla__host_a8fd521b8939dbb2a27d6d38bbb3dd97a}{max\_frame\_size}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00153}\mbox{\hyperlink{structqla__host_a15f21af95c3657160c44a44c78669d70}{00153}}         uint16\_t                \mbox{\hyperlink{structqla__host_a15f21af95c3657160c44a44c78669d70}{rsrvd0}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00154}\mbox{\hyperlink{structqla__host_af402b826dc40b92f8b208a8fdb2759b1}{00154}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structqla__host_af402b826dc40b92f8b208a8fdb2759b1}{if\_flags}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00155}00155 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00156}00156         \textcolor{comment}{/* hardware access lock */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00157}\mbox{\hyperlink{structqla__host_a3f764332298d79805dc8e5c5d0870cc4}{00157}}         \textcolor{keyword}{struct }mtx              \mbox{\hyperlink{structqla__host_a3f764332298d79805dc8e5c5d0870cc4}{hw\_lock}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00158}\mbox{\hyperlink{structqla__host_ad5c67cf0dd98a02995d1b9923f452fd6}{00158}}         \textcolor{keyword}{volatile} uint32\_t       \mbox{\hyperlink{structqla__host_ad5c67cf0dd98a02995d1b9923f452fd6}{hw\_lock\_held}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00159}00159 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00160}00160         \textcolor{comment}{/* transmit and receive buffers */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00161}\mbox{\hyperlink{structqla__host_a462a654be5a80d1e1dc9de3a25368ff1}{00161}}         \mbox{\hyperlink{structqla__tx__buf}{qla\_tx\_buf\_t}}                \mbox{\hyperlink{structqla__host_a462a654be5a80d1e1dc9de3a25368ff1}{tx\_buf}}[\mbox{\hyperlink{qla__hw_8h_ad70baca046931aa8d783f9db0a950f08}{NUM\_TX\_DESCRIPTORS}}];}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00162}\mbox{\hyperlink{structqla__host_a49a3f3b4b0cb804f0e72c8b5247a5c5b}{00162}}         bus\_dma\_tag\_t           \mbox{\hyperlink{structqla__host_a49a3f3b4b0cb804f0e72c8b5247a5c5b}{tx\_tag}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00163}\mbox{\hyperlink{structqla__host_a187ce22597060971dae2b5ce65318c0c}{00163}}         \textcolor{keyword}{struct }mtx              \mbox{\hyperlink{structqla__host_a187ce22597060971dae2b5ce65318c0c}{tx\_lock}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00164}\mbox{\hyperlink{structqla__host_a2f4fbf392519dd9835920ed8da79b987}{00164}}         \textcolor{keyword}{struct }task             \mbox{\hyperlink{structqla__host_a2f4fbf392519dd9835920ed8da79b987}{tx\_task}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00165}\mbox{\hyperlink{structqla__host_a25d8e58a7de6410c21c74ad8840cf65a}{00165}}         \textcolor{keyword}{struct }taskqueue        *\mbox{\hyperlink{structqla__host_a25d8e58a7de6410c21c74ad8840cf65a}{tx\_tq}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00166}\mbox{\hyperlink{structqla__host_a3534004bd47bb5bcad0bf97dec7cc196}{00166}}         \textcolor{keyword}{struct }callout          \mbox{\hyperlink{structqla__host_a3534004bd47bb5bcad0bf97dec7cc196}{tx\_callout}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00167}00167 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00168}\mbox{\hyperlink{structqla__host_a2fec9b8d645bec4d41d1176f044dc981}{00168}}         \mbox{\hyperlink{structqla__rx__buf}{qla\_rx\_buf\_t}}                \mbox{\hyperlink{structqla__host_a2fec9b8d645bec4d41d1176f044dc981}{rx\_buf}}[\mbox{\hyperlink{qla__hw_8h_ad9819ff90ac3963fcb6ba7c402fb98c6}{NUM\_RX\_DESCRIPTORS}}];}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00169}\mbox{\hyperlink{structqla__host_aae0d1cd2b5d223f020d8b87e124aa499}{00169}}         \mbox{\hyperlink{structqla__rx__buf}{qla\_rx\_buf\_t}}                \mbox{\hyperlink{structqla__host_aae0d1cd2b5d223f020d8b87e124aa499}{rx\_jbuf}}[\mbox{\hyperlink{qla__hw_8h_a598e4a9695729b7026f185db3ab61755}{NUM\_RX\_JUMBO\_DESCRIPTORS}}];}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00170}\mbox{\hyperlink{structqla__host_ac46fa9ca869921d8a35ef380cff41a28}{00170}}         bus\_dma\_tag\_t           \mbox{\hyperlink{structqla__host_ac46fa9ca869921d8a35ef380cff41a28}{rx\_tag}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00171}00171 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00172}\mbox{\hyperlink{structqla__host_a52f89f0a42b47cfc86c36c8e24f9d1a0}{00172}}         \textcolor{keyword}{struct }mtx              \mbox{\hyperlink{structqla__host_a52f89f0a42b47cfc86c36c8e24f9d1a0}{rx\_lock}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00173}\mbox{\hyperlink{structqla__host_aacbeeb940b3845661afb14fdefe16e47}{00173}}         \textcolor{keyword}{struct }mtx              \mbox{\hyperlink{structqla__host_aacbeeb940b3845661afb14fdefe16e47}{rxj\_lock}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00174}00174 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00175}00175         \textcolor{comment}{/* stats */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00176}\mbox{\hyperlink{structqla__host_ace51221c581693834a6e5320ec86c571}{00176}}         uint32\_t                \mbox{\hyperlink{structqla__host_ace51221c581693834a6e5320ec86c571}{err\_m\_getcl}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00177}\mbox{\hyperlink{structqla__host_a75794e6434277f733b232069b8e750f4}{00177}}         uint32\_t                \mbox{\hyperlink{structqla__host_a75794e6434277f733b232069b8e750f4}{err\_m\_getjcl}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00178}\mbox{\hyperlink{structqla__host_ad467535a8b0a9a99a624e6ac880b346a}{00178}}         uint32\_t                \mbox{\hyperlink{structqla__host_ad467535a8b0a9a99a624e6ac880b346a}{err\_tx\_dmamap\_create}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00179}\mbox{\hyperlink{structqla__host_afae60d58d928c48bc04a39df0d7f516a}{00179}}         uint32\_t                \mbox{\hyperlink{structqla__host_afae60d58d928c48bc04a39df0d7f516a}{err\_tx\_dmamap\_load}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00180}\mbox{\hyperlink{structqla__host_abb67d98c0a50bdb901a2b6206992f8c8}{00180}}         uint32\_t                \mbox{\hyperlink{structqla__host_abb67d98c0a50bdb901a2b6206992f8c8}{err\_tx\_defrag}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00181}00181 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00182}\mbox{\hyperlink{structqla__host_a0e59d5eb53814d1c51e14aefe8c008a7}{00182}}         uint64\_t                \mbox{\hyperlink{structqla__host_a0e59d5eb53814d1c51e14aefe8c008a7}{rx\_frames}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00183}\mbox{\hyperlink{structqla__host_a54c73f4fc6da09131b602dbec5c6e14b}{00183}}         uint64\_t                \mbox{\hyperlink{structqla__host_a54c73f4fc6da09131b602dbec5c6e14b}{rx\_bytes}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00184}00184 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00185}\mbox{\hyperlink{structqla__host_ad1a94d1bf45cfad73fa65208771d4297}{00185}}         uint64\_t                \mbox{\hyperlink{structqla__host_ad1a94d1bf45cfad73fa65208771d4297}{tx\_frames}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00186}\mbox{\hyperlink{structqla__host_adffd8acd2eed5f7e93f72154f1820054}{00186}}         uint64\_t                \mbox{\hyperlink{structqla__host_adffd8acd2eed5f7e93f72154f1820054}{tx\_bytes}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00187}00187 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00188}\mbox{\hyperlink{structqla__host_a256be1d9947b8ced26c389208617632f}{00188}}         uint32\_t                \mbox{\hyperlink{structqla__host_a256be1d9947b8ced26c389208617632f}{fw\_ver\_major}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00189}\mbox{\hyperlink{structqla__host_a91c273ccc69919305b6f82bb713bf526}{00189}}         uint32\_t                \mbox{\hyperlink{structqla__host_a91c273ccc69919305b6f82bb713bf526}{fw\_ver\_minor}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00190}\mbox{\hyperlink{structqla__host_a344bf53a49e091271e59c990b11ad401}{00190}}         uint32\_t                \mbox{\hyperlink{structqla__host_a344bf53a49e091271e59c990b11ad401}{fw\_ver\_sub}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00191}\mbox{\hyperlink{structqla__host_a59e7786c7628d04855f5e7a1f8efb22f}{00191}}         uint32\_t                \mbox{\hyperlink{structqla__host_a59e7786c7628d04855f5e7a1f8efb22f}{fw\_ver\_build}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00192}00192 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00193}00193         \textcolor{comment}{/* hardware specific */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00194}\mbox{\hyperlink{structqla__host_acf0e3d83d58551ac31fae5350139cd45}{00194}}         \mbox{\hyperlink{struct__qla__hw}{qla\_hw\_t}}                \mbox{\hyperlink{structqla__host_acf0e3d83d58551ac31fae5350139cd45}{hw}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00195}00195 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00196}00196         \textcolor{comment}{/* debug stuff */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00197}\mbox{\hyperlink{structqla__host_a37336d8306b533d9b2b427441e218f81}{00197}}         \textcolor{keyword}{volatile} \textcolor{keyword}{const} \textcolor{keywordtype}{char}     *\mbox{\hyperlink{structqla__host_a37336d8306b533d9b2b427441e218f81}{qla\_lock}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00198}\mbox{\hyperlink{structqla__host_a5edd19dfce7c847e861a2117b8741b3b}{00198}}         \textcolor{keyword}{volatile} \textcolor{keyword}{const} \textcolor{keywordtype}{char}     *\mbox{\hyperlink{structqla__host_a5edd19dfce7c847e861a2117b8741b3b}{qla\_unlock}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00199}00199 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00200}\mbox{\hyperlink{structqla__host_a669a74eadea593af10511f6fc297ec13}{00200}}         uint8\_t                 \mbox{\hyperlink{structqla__host_a669a74eadea593af10511f6fc297ec13}{fw\_ver\_str}}[32];}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00201}00201 \};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00202}\mbox{\hyperlink{qla__def_8h_aebad6cdf9179cd87cae739c9b1be92e7}{00202}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{structqla__host}{qla\_host}} \mbox{\hyperlink{structqla__host}{qla\_host\_t}};}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00203}00203 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00204}00204 \textcolor{comment}{/* note that align has to be a power of 2 */}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00205}\mbox{\hyperlink{qla__def_8h_a0b0f0c178c145a94d0211b325be54afa}{00205}} \textcolor{preprocessor}{\#define QL\_ALIGN(size, align) (((size) + ((align) -\/ 1)) \& (\string~((align) -\/ 1)))}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00206}\mbox{\hyperlink{qla__def_8h_a48747f4d5503d665933fd730c8b8b4d3}{00206}} \textcolor{preprocessor}{\#define QL\_MIN(x, y) ((x < y) ? x : y)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00207}00207 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00208}\mbox{\hyperlink{qla__def_8h_a1bc7f46f305e3a287aa20f65b226c46b}{00208}} \textcolor{preprocessor}{\#define QL\_RUNNING(ifp) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00209}00209 \textcolor{preprocessor}{                ((ifp-\/>if\_drv\_flags \& (IFF\_DRV\_RUNNING | IFF\_DRV\_OACTIVE)) == \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00210}00210 \textcolor{preprocessor}{                        IFF\_DRV\_RUNNING)}}
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00211}00211 }
\DoxyCodeLine{\Hypertarget{qla__def_8h_source_l00212}00212 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \#ifndef \_QLA\_DEF\_H\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
