\hypertarget{global_8h_source}{}\doxysection{global.\+h}
\label{global_8h_source}\index{dev/hptmv/global.h@{dev/hptmv/global.h}}
\mbox{\hyperlink{global_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2004-\/2005 HighPoint Technologies, Inc.}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00012}00012 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00014}00014 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00015}00015 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00016}00016 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00017}00017 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00018}00018 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00019}00019 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00020}00020 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00021}00021 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00022}00022 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00023}00023 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00024}00024 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00025}00025 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00026}00026 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00027}00027 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00028}00028 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00029}00029 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00030}00030 \textcolor{preprocessor}{\#ifndef \_GLOBAL\_H\_}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00031}00031 \textcolor{preprocessor}{\#define \_GLOBAL\_H\_}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00032}00032 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00033}00033 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{mvOs_8h}{dev/hptmv/mvOs.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00034}00034 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{mvSata_8h}{dev/hptmv/mvSata.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00035}00035 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{mvStorageDev_8h}{dev/hptmv/mvStorageDev.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00037}\mbox{\hyperlink{global_8h_a66d6a95c2ba69f100898e9a415dfea64}{00037}} \textcolor{preprocessor}{\#define COMPANY      "{}HighPoint Technologies, Inc."{}}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00038}\mbox{\hyperlink{global_8h_a6247bc79b0a606bddbf5a90fc3a03194}{00038}} \textcolor{preprocessor}{\#define COPYRIGHT    "{}(c) 2000-\/2007. HighPoint Technologies, Inc."{}}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00039}\mbox{\hyperlink{global_8h_a25634d21648ca7fb7a2aca614bafaaeb}{00039}} \textcolor{preprocessor}{\#define DRIVER\_NAME             "{}RocketRAID 18xx SATA Controller driver"{}}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00040}\mbox{\hyperlink{global_8h_a301279c7ca935633b432996e952084f7}{00040}} \textcolor{preprocessor}{\#define CONTROLLER\_NAME "{}RocketRAID 18xx SATA Controller"{}}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00041}\mbox{\hyperlink{global_8h_ac9d2008091523b8ce3fbd05d80e992d7}{00041}} \textcolor{preprocessor}{\#define PROC\_DIR\_NAME hptmv}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00042}00042 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00043}\mbox{\hyperlink{global_8h_af36c336a54285fb08d4f6d505d4e8dd3}{00043}} \textcolor{preprocessor}{\#define HPT\_INTERFACE\_VERSION 0x01010000}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00044}\mbox{\hyperlink{global_8h_a82e873433c4192acd5f62e29d5ad9c4a}{00044}} \textcolor{preprocessor}{\#define SUPPORT\_48BIT\_LBA}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00045}\mbox{\hyperlink{global_8h_a1022bcee9a3d9afc93fbbec698aafe8a}{00045}} \textcolor{preprocessor}{\#define SUPPORT\_ARRAY}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00046}\mbox{\hyperlink{global_8h_a5453df7e6fdfd477a929cbebd0ac93d9}{00046}} \textcolor{preprocessor}{\#define SUPPORT\_RAID5 1}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00047}\mbox{\hyperlink{global_8h_ab56da9a6bdd8fefa8a80e5d139ffcf07}{00047}} \textcolor{preprocessor}{\#define \_RAID5N\_}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00048}\mbox{\hyperlink{global_8h_a71c58d16e080f0b9a6ae9ea12f812d37}{00048}} \textcolor{preprocessor}{\#define MAX\_QUEUE\_COMM 32}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00049}\mbox{\hyperlink{global_8h_ac39e3ca6ce5116a9c78f1a482a9b52dd}{00049}} \textcolor{preprocessor}{\#define MAX\_SG\_DESCRIPTORS 17}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00050}\mbox{\hyperlink{global_8h_a0aee5b744b972e87af1e9f3c6d0ffe8b}{00050}} \textcolor{preprocessor}{\#define MAX\_VBUS 2    }\textcolor{comment}{/*one vbus per adapter in mv linux driver, }}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00051}00051 \textcolor{comment}{                        MAX\_VBUS is defined for share code and can not be 1*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00052}\mbox{\hyperlink{global_8h_aa5a57f546451ce9a4706e295ee20b11d}{00052}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00053}\mbox{\hyperlink{global_8h_ad557ebb93fbba9e2d1796a24516f58e5}{00053}} \textcolor{preprocessor}{\#define SET\_VBUS\_FOR\_EACH\_CONTROLLER}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00054}\mbox{\hyperlink{global_8h_a42ac10afc394e829d778ef6944f52a80}{00054}} \textcolor{preprocessor}{\#define MAX\_MEMBERS 8}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00055}\mbox{\hyperlink{global_8h_abc6bbf6b766952889eef44ee1e097673}{00055}} \textcolor{preprocessor}{\#define MAX\_ARRAY\_NAME 16}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00056}\mbox{\hyperlink{global_8h_a55897ec29846997efe246e8dc74abf26}{00056}} \textcolor{preprocessor}{\#define MAX\_VDEVICE\_PER\_VBUS 8}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00057}\mbox{\hyperlink{global_8h_ac24fc98ea03c5e1ac6aff7f114ede222}{00057}} \textcolor{preprocessor}{\#define MAX\_ARRAY\_DEVICE MAX\_ARRAY\_PER\_VBUS}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00058}00058 \textcolor{preprocessor}{\#define MAX\_CHIP\_IN\_VBUS 1}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00059}\mbox{\hyperlink{global_8h_a8538d0ddef6774229a4a846b3ac93925}{00059}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00060}\mbox{\hyperlink{global_8h_a1641a4f101d91d7c3adea270eb8706ef}{00060}} \textcolor{preprocessor}{\#define SUPPORT\_IOCTL}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00061}00061 \textcolor{preprocessor}{\#define SUPPORT\_FAIL\_LED}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00062}\mbox{\hyperlink{global_8h_a7b8dd7806b3c55e9f8af8c27fec5678f}{00062}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00063}\mbox{\hyperlink{global_8h_ae4a9f4883142f67cc12ead12e0410bd9}{00063}} \textcolor{keyword}{typedef} \textcolor{keywordtype}{void} * \mbox{\hyperlink{global_8h_a7b8dd7806b3c55e9f8af8c27fec5678f}{PChipInstance}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00064}\mbox{\hyperlink{global_8h_accb66dbf3984448513ab1defb42fbe55}{00064}} \textcolor{keyword}{typedef} \textcolor{keywordtype}{void} * \mbox{\hyperlink{global_8h_ae4a9f4883142f67cc12ead12e0410bd9}{PChannel}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00065}\mbox{\hyperlink{global_8h_a39d1d46cf28ad8b820657cbd6f2c8e79}{00065}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__VDevice}{\_VDevice}} *\mbox{\hyperlink{global_8h_accb66dbf3984448513ab1defb42fbe55}{PVDevice}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00066}\mbox{\hyperlink{global_8h_a79faad591f174227b4880954608b5f57}{00066}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__VBus}{\_VBus}} *\mbox{\hyperlink{global_8h_a39d1d46cf28ad8b820657cbd6f2c8e79}{PVBus}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00067}\mbox{\hyperlink{global_8h_a561e3c20963e56a198708c1f1d6f0068}{00067}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__ArrayDescript}{\_ArrayDescript}} *\mbox{\hyperlink{global_8h_a79faad591f174227b4880954608b5f57}{PArrayDescript}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00068}\mbox{\hyperlink{global_8h_a9dd16b7592fb25f750e9bcf4fa178f84}{00068}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\_ArrayDescriptV2 *\mbox{\hyperlink{global_8h_a561e3c20963e56a198708c1f1d6f0068}{PArrayDescriptV2}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00069}00069 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__Command}{\_Command}} *\mbox{\hyperlink{global_8h_a9dd16b7592fb25f750e9bcf4fa178f84}{PCommand}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00070}\mbox{\hyperlink{struct__Device}{00070}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00071}\mbox{\hyperlink{struct__Device_ae0958e31f326404373461fcb0ff8a8e6}{00071}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__Device}{\_Device}} \{}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00072}\mbox{\hyperlink{struct__Device_a4c51dc7266562276791cc3c756ddf633}{00072}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_ae0958e31f326404373461fcb0ff8a8e6}{df\_on\_line}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00073}\mbox{\hyperlink{struct__Device_a79325d0715df99a2713524fe4e55a9b9}{00073}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a4c51dc7266562276791cc3c756ddf633}{df\_atapi}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00074}\mbox{\hyperlink{struct__Device_aef1251a14814877a9c9ccd7776427ef4}{00074}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a79325d0715df99a2713524fe4e55a9b9}{df\_removable\_drive}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00075}00075         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_aef1251a14814877a9c9ccd7776427ef4}{busyCount}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00076}\mbox{\hyperlink{struct__Device_a63bc72201729bbabe779342fdcf0d89e}{00076}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00077}\mbox{\hyperlink{struct__Device_a5be63ef8e30dc22ac465bac4c4895be6}{00077}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a63bc72201729bbabe779342fdcf0d89e}{df\_tcq\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00078}\mbox{\hyperlink{struct__Device_abe0da5a8375cbefd72c72eea7fdb37ca}{00078}}     \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a5be63ef8e30dc22ac465bac4c4895be6}{df\_tcq}}: 1;          \textcolor{comment}{/* enable TCQ */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00079}\mbox{\hyperlink{struct__Device_ad373cf210da5746a00dbef0535c8a3fb}{00079}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_abe0da5a8375cbefd72c72eea7fdb37ca}{df\_ncq\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00080}\mbox{\hyperlink{struct__Device_a40c1661aa5c79f8f081c85206cea398a}{00080}}     \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_ad373cf210da5746a00dbef0535c8a3fb}{df\_ncq}}: 1;          \textcolor{comment}{/* enable NCQ */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00081}\mbox{\hyperlink{struct__Device_a5a1664c99b563bf88b5e34c4d6da74de}{00081}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a40c1661aa5c79f8f081c85206cea398a}{df\_write\_cache\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00082}\mbox{\hyperlink{struct__Device_ad606b8f20012790000d95fb39aa3161e}{00082}}     \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a5a1664c99b563bf88b5e34c4d6da74de}{df\_write\_cache}}: 1;  \textcolor{comment}{/* enable write cache */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00083}\mbox{\hyperlink{struct__Device_a4a3811651256352160919ac700a881fe}{00083}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_ad606b8f20012790000d95fb39aa3161e}{df\_read\_ahead\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00084}00084     \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a4a3811651256352160919ac700a881fe}{df\_read\_ahead}}: 1;   \textcolor{comment}{/* enable read ahead */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00085}\mbox{\hyperlink{struct__Device_a5f3747c367975615b080c393b24d1215}{00085}}                 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00086}\mbox{\hyperlink{struct__Device_ae3aba7017772e16c1ab9d94abd685abe}{00086}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a5f3747c367975615b080c393b24d1215}{retryCount}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00087}\mbox{\hyperlink{struct__Device_a4d6ea6cfbbff233a6815cb710c2939ad}{00087}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_ae3aba7017772e16c1ab9d94abd685abe}{resetCount}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00088}00088         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a4d6ea6cfbbff233a6815cb710c2939ad}{pad1}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00089}\mbox{\hyperlink{struct__Device_ad6fbf52cf6bd13f1b9deef5096123c7d}{00089}}                 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00090}\mbox{\hyperlink{struct__Device_adc00f2b70e516e1f8cba8fa9db1eb0cf}{00090}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_ad6fbf52cf6bd13f1b9deef5096123c7d}{df\_user\_mode\_set}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00091}\mbox{\hyperlink{struct__Device_ad5afabaf4fd4100d2f2b003d1b558637}{00091}}     \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_adc00f2b70e516e1f8cba8fa9db1eb0cf}{bDeModeSetting}};    \textcolor{comment}{/* Current Data Transfer mode: 0-\/4 PIO 0-\/4 */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00092}\mbox{\hyperlink{struct__Device_a7090c1bc663744a43ad1659c42eb9784}{00092}}     \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_ad5afabaf4fd4100d2f2b003d1b558637}{bDeUsable\_Mode}};       \textcolor{comment}{/* actual maximum data transfer mode */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00093}00093         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__Device_a7090c1bc663744a43ad1659c42eb9784}{bDeUserSelectMode}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00094}\mbox{\hyperlink{struct__Device_a613e27c9b99435c17c1d81736aee1878}{00094}}         }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00095}\mbox{\hyperlink{struct__Device_ae1a4bf9b991c1ce892dd93c0d57c0b49}{00095}}         \mbox{\hyperlink{struct__VBus}{PVBus}} \mbox{\hyperlink{struct__Device_a613e27c9b99435c17c1d81736aee1878}{pVBus}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00096}\mbox{\hyperlink{struct__Device_a797b5fb3013f858fd7b368a1c8ddc184}{00096}}         \mbox{\hyperlink{mvOs_8h_abe09d1bea023be6a07cbadde8e955435}{ULONG}} \mbox{\hyperlink{struct__Device_ae1a4bf9b991c1ce892dd93c0d57c0b49}{dDeRealCapacity}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00097}\mbox{\hyperlink{struct__Device_a1ee6fe40d901dc5367f0c1fec495878b}{00097}}         \mbox{\hyperlink{mvOs_8h_abe09d1bea023be6a07cbadde8e955435}{ULONG}} \mbox{\hyperlink{struct__Device_a797b5fb3013f858fd7b368a1c8ddc184}{dDeHiddenLba}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00098}\mbox{\hyperlink{struct__Device_ab8fd94fc8147b1964ccc8b190a73592f}{00098}}         \mbox{\hyperlink{mvOs_8h_abe09d1bea023be6a07cbadde8e955435}{ULONG}} \mbox{\hyperlink{struct__Device_a1ee6fe40d901dc5367f0c1fec495878b}{HeadPosition}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00099}\mbox{\hyperlink{struct__Device_ad94a5616e6003aabc243a3d6846c4112}{00099}}         \mbox{\hyperlink{mvOs_8h_abe09d1bea023be6a07cbadde8e955435}{ULONG}} \mbox{\hyperlink{struct__Device_ab8fd94fc8147b1964ccc8b190a73592f}{QueueLength}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00100}00100         \mbox{\hyperlink{structmvSataChannel}{MV\_SATA\_CHANNEL}} *\mbox{\hyperlink{struct__Device_ad94a5616e6003aabc243a3d6846c4112}{mv}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00101}\mbox{\hyperlink{global_8h_a1ac321b1cc146828cbe055a341d7e4e2}{00101}} \}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00102}00102 \mbox{\hyperlink{global_8h_a1ac321b1cc146828cbe055a341d7e4e2}{Device}}, *\mbox{\hyperlink{global_8h_a000837a8d1cc225add50eca4de5063f1}{PDevice}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00103}\mbox{\hyperlink{struct__SCAT__GATH}{00103}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00104}00104 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__SCAT__GATH}{\_SCAT\_GATH}}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00105}\mbox{\hyperlink{struct__SCAT__GATH_a5841c75560d14aa283864e8d88c29046}{00105}} \{}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00106}\mbox{\hyperlink{struct__SCAT__GATH_aa8bde933f2db33afcca21e1d7b2b271d}{00106}}     \mbox{\hyperlink{mvOs_8h_ac87b166e5dce7fa7bf3fa6dee25e1c19}{ULONG\_PTR}}     \mbox{\hyperlink{struct__SCAT__GATH_a5841c75560d14aa283864e8d88c29046}{dSgAddress}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00107}\mbox{\hyperlink{struct__SCAT__GATH_a4531058aadf7fcb53bd44f2f249df687}{00107}}     \mbox{\hyperlink{mvOs_8h_a5850d5316caf7f4cedd742fdf8cd7c02}{USHORT}}        \mbox{\hyperlink{struct__SCAT__GATH_aa8bde933f2db33afcca21e1d7b2b271d}{wSgSize}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00108}\mbox{\hyperlink{global_8h_a33d6ffba619929429597d9bb3a6af70d}{00108}}     \mbox{\hyperlink{mvOs_8h_a5850d5316caf7f4cedd742fdf8cd7c02}{USHORT}}        \mbox{\hyperlink{struct__SCAT__GATH_a4531058aadf7fcb53bd44f2f249df687}{wSgFlag}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00109}00109 \} \mbox{\hyperlink{global_8h_a70d966a11f65f54999c7e306e1eddf12}{SCAT\_GATH}}, \mbox{\hyperlink{mvOs_8h_aef060b3456fdcc093a7210a762d5f2ed}{FAR}} *\mbox{\hyperlink{global_8h_a33d6ffba619929429597d9bb3a6af70d}{FPSCAT\_GATH}};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00110}\mbox{\hyperlink{global_8h_adbaf2579fd1ac594183211238bb78bd7}{00110}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00111}\mbox{\hyperlink{struct__VDevice__Ext}{00111}} \textcolor{preprocessor}{\#define OS\_VDEV\_EXT}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00112}00112 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__VDevice__Ext}{\_VDevice\_Ext}}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00113}\mbox{\hyperlink{struct__VDevice__Ext_a82c53d90ee77bbf934799c9779948bcd}{00113}} \{}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00114}\mbox{\hyperlink{struct__VDevice__Ext_a72b4966abd0b2b28297137c548aebe6e}{00114}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__VDevice__Ext_a82c53d90ee77bbf934799c9779948bcd}{gui\_locked}}; \textcolor{comment}{/* the device is locked by GUI */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00115}\mbox{\hyperlink{global_8h_a427a574c689be019eb53cf79fd03038b}{00115}}         \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} \mbox{\hyperlink{struct__VDevice__Ext_a72b4966abd0b2b28297137c548aebe6e}{reserve}}[3];}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00116}00116 \} \mbox{\hyperlink{global_8h_a853654a3b2e8fe9da23a5eda58b60248}{VDevice\_Ext}}, *\mbox{\hyperlink{global_8h_a427a574c689be019eb53cf79fd03038b}{PVDevice\_Ext}};    }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00117}00117 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00118}\mbox{\hyperlink{global_8h_a73ed89696f66d67a50e5218c82772d26}{00118}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00119}\mbox{\hyperlink{global_8h_a417c8b9b2a85b018a10b6ac5f892f09e}{00119}} \textcolor{preprocessor}{\#define SG\_FLAG\_SKIP        0x4000}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00120}00120 \textcolor{preprocessor}{\#define SG\_FLAG\_EOT         0x8000}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00121}\mbox{\hyperlink{global_8h_a53bf683897a41509daa394f2106a994a}{00121}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00122}\mbox{\hyperlink{global_8h_ad7d17cfe4eeb62e5e19239af053728d3}{00122}} \textcolor{preprocessor}{\#define \_VBUS\_ARG0 PVBus \_vbus\_p}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00123}\mbox{\hyperlink{global_8h_a3014cdb9e0349ff2c6069f4f134904c7}{00123}} \textcolor{preprocessor}{\#define \_VBUS\_ARG PVBus \_vbus\_p,}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00124}\mbox{\hyperlink{global_8h_a76ea19315923d01f48a966cb4f86b9c7}{00124}} \textcolor{preprocessor}{\#define \_VBUS\_P \_vbus\_p,}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00125}\mbox{\hyperlink{global_8h_a65b0fb4906d9c3882518f96bc68ae5be}{00125}} \textcolor{preprocessor}{\#define \_VBUS\_P0 \_vbus\_p}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00126}\mbox{\hyperlink{global_8h_a6a91c40854312d68e257983c18d2f9e7}{00126}} \textcolor{preprocessor}{\#define \_VBUS\_INST(x) PVBus \_vbus\_p = x;}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00127}00127 \textcolor{preprocessor}{\#define \_vbus\_(x) (\_vbus\_p-\/>x)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00128}00128 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00129}00129 \textcolor{comment}{/*************************************************************************}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00130}00130 \textcolor{comment}{ * arithmetic functions }}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00131}\mbox{\hyperlink{global_8h_afe382fd8ae13194d315cec8dead20f0d}{00131}} \textcolor{comment}{ *************************************************************************/}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00132}\mbox{\hyperlink{global_8h_a8aaba5687ac101cbf7fda81c3c682886}{00132}} \textcolor{preprocessor}{\#define LongRShift(x, y)        (x >> y)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00133}\mbox{\hyperlink{global_8h_a2161f68f68b5c8e3376508749995ba36}{00133}} \textcolor{preprocessor}{\#define LongLShift(x, y)        (x << y)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00134}\mbox{\hyperlink{global_8h_ac9d6b5205203805c0619a3f8846a64c8}{00134}} \textcolor{preprocessor}{\#define LongDiv(x, y)           (x / (UINT)(y))}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00135}\mbox{\hyperlink{global_8h_accc2c19812e1cfdf835ba64c49a19a07}{00135}} \textcolor{preprocessor}{\#define LongRem(x, y)           (x \% (UINT)(y))}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00136}00136 \textcolor{preprocessor}{\#define LongMul(x, y)           (x * y)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00137}00137 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00138}00138 \textcolor{comment}{/*************************************************************************}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00139}00139 \textcolor{comment}{ * C library}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00140}00140 \textcolor{comment}{ *************************************************************************/}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00141}00141 \textcolor{keywordtype}{int} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_a111856dcef0f4b269eca543b1fe9b9e5}{os\_memcmp}}(\textcolor{keyword}{const} \textcolor{keywordtype}{void} *cs, \textcolor{keyword}{const} \textcolor{keywordtype}{void} *ct, \textcolor{keywordtype}{unsigned} len);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00142}00142 \textcolor{keywordtype}{void} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_acc936301837b2a55992e53ebac0919af}{os\_memcpy}}(\textcolor{keywordtype}{void} *to, \textcolor{keyword}{const} \textcolor{keywordtype}{void} *from, \textcolor{keywordtype}{unsigned} len);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00143}00143 \textcolor{keywordtype}{void} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_abc09a1ca11c32731b6679cf8d6936957}{os\_memset}}(\textcolor{keywordtype}{void} *s, \textcolor{keywordtype}{char} c, \textcolor{keywordtype}{unsigned} len);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00144}00144 \textcolor{keywordtype}{unsigned} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_abcd9e0986ccb7290fd872c968bd00578}{os\_strlen}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *s);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00145}00145 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00146}00146 \textcolor{preprocessor}{\#ifdef NO\_LIBC}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00147}00147 \textcolor{preprocessor}{\#define memcmp os\_memcmp}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00148}00148 \textcolor{preprocessor}{\#define memcpy os\_memcpy}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00149}00149 \textcolor{preprocessor}{\#define memset os\_memset}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00150}00150 \textcolor{preprocessor}{\#define strlen os\_strlen}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00151}\mbox{\hyperlink{global_8h_aad68fd911b7da7f3fd030f29b0fe814f}{00151}} \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00152}\mbox{\hyperlink{global_8h_acb15d6d3f04328332c3dcd0c992d98c6}{00152}} \textcolor{preprocessor}{\#define ZeroMemory(a, b)        memset((char *)a, 0, b)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00153}\mbox{\hyperlink{global_8h_af47dbd0d5f182faee4221635f0c0f54c}{00153}} \textcolor{preprocessor}{\#define MemoryCopy(a,b,c)       memcpy((char *)(a), (char *)(b), (UINT)(c))}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00154}\mbox{\hyperlink{global_8h_afcad98eba765f7854efad99516a20c54}{00154}} \textcolor{preprocessor}{\#define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (UINT)c)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00155}00155 \textcolor{preprocessor}{\#define StrLen                  strlen}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00156}00156 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00157}00157 \textcolor{comment}{/* }}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00158}00158 \textcolor{comment}{ * we don't want whole hptintf.h in shared code...}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00159}00159 \textcolor{comment}{ * some constants must match that in hptintf.h!}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00160}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9}{00160}} \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00161}00161 \textcolor{keyword}{enum} \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9}{\_driver\_events\_t}}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00162}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9ae19b8680318a978ff2374c84c1e57c9d}{00162}} \{       }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00163}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9ae88a7aaffd6076ef5388b4bc7510245b}{00163}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9ae19b8680318a978ff2374c84c1e57c9d}{ET\_DEVICE}}=0,}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00164}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a903ed6f947eb253fa77681d84bc7787c}{00164}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9ae88a7aaffd6076ef5388b4bc7510245b}{ET\_DEVICE\_REMOVED}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00165}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9add483d00aede5b99858a42e91310ff2a}{00165}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a903ed6f947eb253fa77681d84bc7787c}{ET\_DEVICE\_PLUGGED}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00166}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a495b75323d504940c705c50c161dc5b3}{00166}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9add483d00aede5b99858a42e91310ff2a}{ET\_DEVICE\_ERROR}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00167}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a8022c739c6d742e25966ea852f9f256f}{00167}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a495b75323d504940c705c50c161dc5b3}{ET\_REBUILD\_STARTED}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00168}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9abbf10cdf34b20ec433eeb1b483c49725}{00168}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a8022c739c6d742e25966ea852f9f256f}{ET\_REBUILD\_ABORTED}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00169}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9acedca77158dc7b3665c47dfbaf30535f}{00169}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9abbf10cdf34b20ec433eeb1b483c49725}{ET\_REBUILD\_FINISHED}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00170}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a2a8673283cc20019559752d37385fff4}{00170}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9acedca77158dc7b3665c47dfbaf30535f}{ET\_SPARE\_TOOK\_OVER}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00171}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a4d689b4d307d52717a142e3bc63d1d13}{00171}}     \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a2a8673283cc20019559752d37385fff4}{ET\_REBUILD\_FAILED}},}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00172}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a4f0dec42789fa6b4498347f394cc782e}{00172}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a4d689b4d307d52717a142e3bc63d1d13}{ET\_VERIFY\_STARTED}},   }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00173}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a04ab2796c8ad5cb35230bafa685d5ca9}{00173}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a4f0dec42789fa6b4498347f394cc782e}{ET\_VERIFY\_ABORTED}},   }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00174}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a9eb9cb602b9873c0211870da4884c78d}{00174}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a04ab2796c8ad5cb35230bafa685d5ca9}{ET\_VERIFY\_FAILED}},    }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00175}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9accbe54630d6bfd69c33430b77513cd64}{00175}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a9eb9cb602b9873c0211870da4884c78d}{ET\_VERIFY\_FINISHED}},  }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00176}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9ae34c7308c16bbde5667c11f6135751a8}{00176}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9accbe54630d6bfd69c33430b77513cd64}{ET\_INITIALIZE\_STARTED}},   }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00177}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a2c07fba9474851dbd1ceabf6945012be}{00177}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9ae34c7308c16bbde5667c11f6135751a8}{ET\_INITIALIZE\_ABORTED}},   }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00178}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a81aa27a8124a84a0c05cf55484a07e20}{00178}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a2c07fba9474851dbd1ceabf6945012be}{ET\_INITIALIZE\_FAILED}},    }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00179}\mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a4aebc276eb3415da6622d712e7d65881}{00179}}         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a81aa27a8124a84a0c05cf55484a07e20}{ET\_INITIALIZE\_FINISHED}},  }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00180}00180         \mbox{\hyperlink{global_8h_a042cfaff72d8d664ef0251f37fb08bb9a4aebc276eb3415da6622d712e7d65881}{ET\_VERIFY\_DATA\_ERROR}},    }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00181}00181 \};}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00182}\mbox{\hyperlink{global_8h_a03ff7597bc8c07c33d4576e5eb33dc7b}{00182}} }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00183}00183 \textcolor{preprocessor}{\#define StallExec(x) mvMicroSecondsDelay(x)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00184}\mbox{\hyperlink{global_8h_a1a3b9eaf1c3767d5bd1b18a7a80682ae}{00184}} \textcolor{keyword}{extern} \textcolor{keywordtype}{void} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_a3d34c2d9f347d053472f6051af68dc0e}{ioctl\_ReportEvent}}(\mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} event, \mbox{\hyperlink{mvOs_8h_a2b5e00c0c5a5aa5199ba9f28ec3e8caa}{PVOID}} param);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00185}\mbox{\hyperlink{global_8h_a067e0a8df7c500e17e71b188dfd6c148}{00185}} \textcolor{preprocessor}{\#define fNotifyGUI(WhatHappen, pVDevice) ioctl\_ReportEvent(WhatHappen, pVDevice)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00186}00186 \textcolor{preprocessor}{\#define DECLARE\_BUFFER(type, ptr) UCHAR ptr\#\#\_\_buf[512]; type ptr=(type)ptr\#\#\_\_buf}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00187}00187 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00188}00188 \textcolor{keywordtype}{int} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_aa33630b37f9bc5300782d2c62c376061}{fDeReadWrite}}(\mbox{\hyperlink{struct__Device}{PDevice}} pDev, \mbox{\hyperlink{mvOs_8h_abe09d1bea023be6a07cbadde8e955435}{ULONG}} Lba, \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} Cmd, \textcolor{keywordtype}{void} *tmpBuffer);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00189}00189 \textcolor{keywordtype}{void} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_a7267ff6067127458ecd5b1e5e4d7a84e}{fDeSelectMode}}(\mbox{\hyperlink{struct__Device}{PDevice}} pDev, \mbox{\hyperlink{mvOs_8h_a4f4bb67531a9bf6f0b9c6ad76aeba587}{UCHAR}} NewMode);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00190}00190 \textcolor{keywordtype}{int} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_af9627e667d06736389bc7c3f4966da80}{fDeSetTCQ}}(\mbox{\hyperlink{struct__Device}{PDevice}} pDev, \textcolor{keywordtype}{int} enable, \textcolor{keywordtype}{int} depth);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00191}00191 \textcolor{keywordtype}{int} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_a7e5bd80148ef5603b38db8e132e7f8b1}{fDeSetNCQ}}(\mbox{\hyperlink{struct__Device}{PDevice}} pDev, \textcolor{keywordtype}{int} enable, \textcolor{keywordtype}{int} depth);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00192}00192 \textcolor{keywordtype}{int} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_a4b1d783f4824b2eea15c1df16ef6c729}{fDeSetWriteCache}}(\mbox{\hyperlink{struct__Device}{PDevice}} pDev, \textcolor{keywordtype}{int} enable);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00193}00193 \textcolor{keywordtype}{int} \mbox{\hyperlink{mvOs_8h_a500760f366dc41a1e734d6aaf4f4b5a7}{HPTLIBAPI}} \mbox{\hyperlink{global_8h_adef018a3d92bee3b40026f0311909ccb}{fDeSetReadAhead}}(\mbox{\hyperlink{struct__Device}{PDevice}} pDev, \textcolor{keywordtype}{int} enable);}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00194}00194 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00195}00195 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{atapi_8h}{dev/hptmv/atapi.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00196}00196 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{command_8h}{dev/hptmv/command.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00197}00197 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{array_8h}{dev/hptmv/array.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00198}00198 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{raid5n_8h}{dev/hptmv/raid5n.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00199}00199 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{vdevice_8h}{dev/hptmv/vdevice.h}}>}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00200}00200 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00201}00201 \textcolor{preprocessor}{\#if defined(\_\_FreeBSD\_\_) \&\& defined(HPTLIBAPI)}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00202}00202 \textcolor{preprocessor}{\#undef HPTLIBAPI}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00203}00203 \textcolor{preprocessor}{\#define HPTLIBAPI }}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00204}00204 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00205}00205 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00206}\mbox{\hyperlink{global_8h_a1350e099e1c162abe8fa2150fe795c7f}{00206}} \textcolor{preprocessor}{\#ifdef SUPPORT\_ARRAY}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00207}00207 \textcolor{preprocessor}{\#define ArrayTables(i) ((PVDevice)\&\_vbus\_(\_ArrayTables)[i*ARRAY\_VDEV\_SIZE])}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00208}00208 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{global_8h_source_l00209}00209 }
\DoxyCodeLine{\Hypertarget{global_8h_source_l00210}00210 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
