\hypertarget{ctl_8h_source}{}\doxysection{ctl.\+h}
\label{ctl_8h_source}\index{cam/ctl/ctl.h@{cam/ctl/ctl.h}}
\mbox{\hyperlink{ctl_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2003 Silicon Graphics International Corp.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions, and the following disclaimer,}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00012}00012 \textcolor{comment}{ *    without modification.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00013}00013 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce at minimum a disclaimer}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00014}00014 \textcolor{comment}{ *    substantially similar to the "{}NO WARRANTY"{} disclaimer below}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00015}00015 \textcolor{comment}{ *    ("{}Disclaimer"{}) and any redistribution must be conditioned upon}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00016}00016 \textcolor{comment}{ *    including a substantially similar Disclaimer requirement for further}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00017}00017 \textcolor{comment}{ *    binary redistribution.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00018}00018 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00019}00019 \textcolor{comment}{ * NO WARRANTY}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00020}00020 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00021}00021 \textcolor{comment}{ * "{}AS IS"{} AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00022}00022 \textcolor{comment}{ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00023}00023 \textcolor{comment}{ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00024}00024 \textcolor{comment}{ * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00025}00025 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00026}00026 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00027}00027 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00028}00028 \textcolor{comment}{ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00029}00029 \textcolor{comment}{ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00030}00030 \textcolor{comment}{ * POSSIBILITY OF SUCH DAMAGES.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00031}00031 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00032}00032 \textcolor{comment}{ * \$Id: //depot/users/kenm/FreeBSD-\/test2/sys/cam/ctl/ctl.h\#5 \$}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00033}00033 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00034}00034 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00035}00035 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00036}00036 \textcolor{comment}{ * Function definitions used both within CTL and potentially in various CTL}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00037}00037 \textcolor{comment}{ * clients.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00038}00038 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00039}00039 \textcolor{comment}{ * Author: Ken Merry <ken@FreeBSD.org>}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00040}00040 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00041}00041 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00042}00042 \textcolor{preprocessor}{\#ifndef \_CTL\_H\_}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00043}00043 \textcolor{preprocessor}{\#define \_CTL\_H\_}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00044}00044 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00045}\mbox{\hyperlink{ctl_8h_a38cc7e60dc67430eb55c587fd6126a62}{00045}} \textcolor{preprocessor}{\#define CTL\_RETVAL\_COMPLETE     0}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00046}\mbox{\hyperlink{ctl_8h_a9580f2903fae9ce7849a59a302ce30a6}{00046}} \textcolor{preprocessor}{\#define CTL\_RETVAL\_QUEUED       1}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00047}\mbox{\hyperlink{ctl_8h_a21941617e00379b90d7cbc65e16ea7cd}{00047}} \textcolor{preprocessor}{\#define CTL\_RETVAL\_ALLOCATED    2}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00048}\mbox{\hyperlink{ctl_8h_a4f6c73e57be873216dc8650d98009d98}{00048}} \textcolor{preprocessor}{\#define CTL\_RETVAL\_ERROR        3}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00049}00049 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00050}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836}{00050}} \textcolor{keyword}{typedef} \textcolor{keyword}{enum} \{}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00051}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a81b212971f9f3bd0f672b97c14da1160}{00051}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a81b212971f9f3bd0f672b97c14da1160}{CTL\_PORT\_NONE}}              = 0x00,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00052}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836aa37580230c70a55987af3a8a0b449ee9}{00052}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836aa37580230c70a55987af3a8a0b449ee9}{CTL\_PORT\_FC}}          = 0x01,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00053}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a7d54d601faf70c6747d6cfd71341aae9}{00053}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a7d54d601faf70c6747d6cfd71341aae9}{CTL\_PORT\_SCSI}}              = 0x02,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00054}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a343c89f4095aef0dcd89c498a7d4275b}{00054}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a343c89f4095aef0dcd89c498a7d4275b}{CTL\_PORT\_IOCTL}}            = 0x04,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00055}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a03ebb15247b9f6e5abf12b9eec8ff95d}{00055}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a03ebb15247b9f6e5abf12b9eec8ff95d}{CTL\_PORT\_INTERNAL}}      = 0x08,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00056}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a26315184d66032a951a3c0c2ea639382}{00056}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a26315184d66032a951a3c0c2ea639382}{CTL\_PORT\_ISCSI}}            = 0x10,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00057}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836abd4fc03f3129a3208f77c3b85126409b}{00057}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836abd4fc03f3129a3208f77c3b85126409b}{CTL\_PORT\_SAS}}                = 0x20,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00058}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a9812835c86c4a07665cecb23c45f0d26}{00058}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a9812835c86c4a07665cecb23c45f0d26}{CTL\_PORT\_UMASS}}            = 0x40,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00059}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a6875d63b64b685e32afc2322243036d7}{00059}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a6875d63b64b685e32afc2322243036d7}{CTL\_PORT\_ALL}}                = 0xff,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00060}00060         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a96affa2c6571f2bf854b7dec0b92ad17}{CTL\_PORT\_ISC}}                = 0x100 \textcolor{comment}{// FC port for inter-\/shelf communication}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00061}\mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836a96affa2c6571f2bf854b7dec0b92ad17}{00061}} \} \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836}{ctl\_port\_type}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00062}00062 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00063}\mbox{\hyperlink{structctl__port__entry}{00063}} \textcolor{keyword}{struct }\mbox{\hyperlink{structctl__port__entry}{ctl\_port\_entry}} \{}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00064}\mbox{\hyperlink{structctl__port__entry_aae574fa117f708f0dadb13fc84eca70c}{00064}}         \mbox{\hyperlink{ctl_8h_a53fea0b1e347573f754d603b45e0f836}{ctl\_port\_type}}              \mbox{\hyperlink{structctl__port__entry_aae574fa117f708f0dadb13fc84eca70c}{port\_type}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00065}\mbox{\hyperlink{structctl__port__entry_ab964a4bdbaea2cd984dd2e23dcf6bf95}{00065}}         \textcolor{keywordtype}{char}                    \mbox{\hyperlink{structctl__port__entry_ab964a4bdbaea2cd984dd2e23dcf6bf95}{port\_name}}[64];}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00066}\mbox{\hyperlink{structctl__port__entry_a5f969a97bb387e5eb5122cf12b35ef72}{00066}}         int32\_t                 \mbox{\hyperlink{structctl__port__entry_a5f969a97bb387e5eb5122cf12b35ef72}{targ\_port}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00067}\mbox{\hyperlink{structctl__port__entry_a522162b5744586a4d7eb0c67ec3c6595}{00067}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structctl__port__entry_a522162b5744586a4d7eb0c67ec3c6595}{physical\_port}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00068}\mbox{\hyperlink{structctl__port__entry_a3b7224dcb50e50930ba69f6369360fc7}{00068}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structctl__port__entry_a3b7224dcb50e50930ba69f6369360fc7}{virtual\_port}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00069}\mbox{\hyperlink{structctl__port__entry_ae8064d3b1ee740cc3e31a27e0f0a5f62}{00069}}         u\_int                   \mbox{\hyperlink{structctl__port__entry_ae8064d3b1ee740cc3e31a27e0f0a5f62}{flags}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00070}\mbox{\hyperlink{ctl_8h_a3acca83f5f61134f0b030fe7a1e258e2}{00070}} \textcolor{preprocessor}{\#define CTL\_PORT\_WWNN\_VALID     0x01}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00071}\mbox{\hyperlink{ctl_8h_a019caffda28ed1a0f6f298a33736032e}{00071}} \textcolor{preprocessor}{\#define CTL\_PORT\_WWPN\_VALID     0x02}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00072}\mbox{\hyperlink{structctl__port__entry_a0f824b811b5f215ba485eadf8acc0dea}{00072}}         uint64\_t                \mbox{\hyperlink{structctl__port__entry_a0f824b811b5f215ba485eadf8acc0dea}{wwnn}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00073}\mbox{\hyperlink{structctl__port__entry_a675f6f5ebc9b07a71708f794c6157abd}{00073}}         uint64\_t                \mbox{\hyperlink{structctl__port__entry_a675f6f5ebc9b07a71708f794c6157abd}{wwpn}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00074}\mbox{\hyperlink{structctl__port__entry_a0c9f39bf85103b801e5b6d4d0a6141a9}{00074}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structctl__port__entry_a0c9f39bf85103b801e5b6d4d0a6141a9}{online}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00075}00075 \};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00076}00076 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00077}\mbox{\hyperlink{structctl__modepage__header}{00077}} \textcolor{keyword}{struct }\mbox{\hyperlink{structctl__modepage__header}{ctl\_modepage\_header}} \{}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00078}\mbox{\hyperlink{structctl__modepage__header_ae94c14034d34061aa5c3f5d1f103d3c2}{00078}}         uint8\_t                 \mbox{\hyperlink{structctl__modepage__header_ae94c14034d34061aa5c3f5d1f103d3c2}{page\_code}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00079}\mbox{\hyperlink{structctl__modepage__header_a6cb77c7edfdd22ac2ae37d494d0c52c5}{00079}}         uint8\_t                 \mbox{\hyperlink{structctl__modepage__header_a6cb77c7edfdd22ac2ae37d494d0c52c5}{subpage}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00080}\mbox{\hyperlink{structctl__modepage__header_ae0cadcd4b273c559303dffc38ddd65ef}{00080}}         uint16\_t                \mbox{\hyperlink{structctl__modepage__header_ae0cadcd4b273c559303dffc38ddd65ef}{len\_used}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00081}\mbox{\hyperlink{structctl__modepage__header_ab3c5a011100503610b3b6c26ed451583}{00081}}         uint16\_t                \mbox{\hyperlink{structctl__modepage__header_ab3c5a011100503610b3b6c26ed451583}{len\_left}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00082}00082 \};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00083}00083 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00084}\mbox{\hyperlink{unionctl__modepage__info}{00084}} \textcolor{keyword}{union }\mbox{\hyperlink{unionctl__modepage__info}{ctl\_modepage\_info}} \{}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00085}\mbox{\hyperlink{unionctl__modepage__info_ab73f12cc31bc4750d97142533175deaf}{00085}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structctl__modepage__header}{ctl\_modepage\_header}} \mbox{\hyperlink{unionctl__modepage__info_ab73f12cc31bc4750d97142533175deaf}{header}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00086}00086 \};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00087}00087 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00088}00088 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00089}00089 \textcolor{comment}{ * Serial number length, for VPD page 0x80.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00090}00090 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00091}\mbox{\hyperlink{ctl_8h_a28bc8ba106e5c3f1e95af2cbab99945b}{00091}} \textcolor{preprocessor}{\#define CTL\_SN\_LEN      16}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00092}00092 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00093}00093 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00094}00094 \textcolor{comment}{ * Device ID length, for VPD page 0x83.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00095}00095 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00096}\mbox{\hyperlink{ctl_8h_a2989d20325511782a2895cceaa93b3e1}{00096}} \textcolor{preprocessor}{\#define CTL\_DEVID\_LEN   64}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00097}\mbox{\hyperlink{ctl_8h_a80ae6355ec61202ff9df2a13402dd20a}{00097}} \textcolor{preprocessor}{\#define CTL\_DEVID\_MIN\_LEN       16}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00098}00098 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00099}00099 \textcolor{comment}{ * WWPN length, for VPD page 0x83.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00100}00100 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00101}\mbox{\hyperlink{ctl_8h_a51050ed61583b56daabd614a77669cca}{00101}} \textcolor{preprocessor}{\#define CTL\_WWPN\_LEN   8}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00102}00102 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00103}\mbox{\hyperlink{ctl_8h_a684dca70a4568049e72ccb94062f458d}{00103}} \textcolor{preprocessor}{\#define CTL\_DRIVER\_NAME\_LEN     32}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00104}00104 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00105}00105 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00106}00106 \textcolor{comment}{ * Unit attention types. ASC/ASCQ values for these should be placed in}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00107}00107 \textcolor{comment}{ * ctl\_build\_ua.  These are also listed in order of reporting priority.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00108}00108 \textcolor{comment}{ * i.e. a poweron UA is reported first, bus reset second, etc.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00109}00109 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00110}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{00110}} \textcolor{keyword}{typedef} \textcolor{keyword}{enum} \{}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00111}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a904dad7fac2ac6b2f865cb681c23f50b}{00111}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a904dad7fac2ac6b2f865cb681c23f50b}{CTL\_UA\_NONE}}          = 0x0000,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00112}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a1ce4ca119d76a9f9de9b40509a8850ac}{00112}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a1ce4ca119d76a9f9de9b40509a8850ac}{CTL\_UA\_POWERON}}            = 0x0001,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00113}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a63068040220d957f5d9dfebf5e912d69}{00113}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a63068040220d957f5d9dfebf5e912d69}{CTL\_UA\_BUS\_RESET}}        = 0x0002,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00114}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9ab0ab21e88c06d0ed3665c1a81685838a}{00114}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9ab0ab21e88c06d0ed3665c1a81685838a}{CTL\_UA\_TARG\_RESET}}      = 0x0004,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00115}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a8fe15da1c2152767941b4d61ad15b042}{00115}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a8fe15da1c2152767941b4d61ad15b042}{CTL\_UA\_I\_T\_NEXUS\_LOSS}}      = 0x0008,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00116}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a11b6313e1b31125055ab580a7bfdf9f1}{00116}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a11b6313e1b31125055ab580a7bfdf9f1}{CTL\_UA\_LUN\_RESET}}        = 0x0010,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00117}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9aea354c75651de24b311ba671349f2a51}{00117}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9aea354c75651de24b311ba671349f2a51}{CTL\_UA\_LUN\_CHANGE}}      = 0x0020,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00118}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9ae8c53ea7706f306a8bfa079afb56d3ff}{00118}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9ae8c53ea7706f306a8bfa079afb56d3ff}{CTL\_UA\_MODE\_CHANGE}}    = 0x0040,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00119}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9aeaa7c1f0e95cb1e2d8cd8fa9dffad95e}{00119}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9aeaa7c1f0e95cb1e2d8cd8fa9dffad95e}{CTL\_UA\_LOG\_CHANGE}}      = 0x0080,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00120}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a7b24a616636511718142a6c9c9edd069}{00120}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a7b24a616636511718142a6c9c9edd069}{CTL\_UA\_INQ\_CHANGE}}      = 0x0100,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00121}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9aeddced1038dd10b7212669e5f16945f1}{00121}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9aeddced1038dd10b7212669e5f16945f1}{CTL\_UA\_RES\_PREEMPT}}    = 0x0400,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00122}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a815d0d0a44e152392498e0a3a3e8bbaf}{00122}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a815d0d0a44e152392498e0a3a3e8bbaf}{CTL\_UA\_RES\_RELEASE}}    = 0x0800,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00123}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9af06f7da6983777262612b91130d4728c}{00123}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9af06f7da6983777262612b91130d4728c}{CTL\_UA\_REG\_PREEMPT}}    = 0x1000,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00124}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a55db8fee764d26ef551c57bedc45451c}{00124}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a55db8fee764d26ef551c57bedc45451c}{CTL\_UA\_ASYM\_ACC\_CHANGE}}    = 0x2000,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00125}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9acdb1e4044971e9016414e2477ac46853}{00125}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9acdb1e4044971e9016414e2477ac46853}{CTL\_UA\_CAPACITY\_CHANGE}}    = 0x4000,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00126}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a357bae24b45b2390d21b5b81ea0871f8}{00126}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a357bae24b45b2390d21b5b81ea0871f8}{CTL\_UA\_THIN\_PROV\_THRES}}    = 0x8000,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00127}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9ac1668823cff82ee19e2a4a467fab7904}{00127}}         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9ac1668823cff82ee19e2a4a467fab7904}{CTL\_UA\_MEDIUM\_CHANGE}}        = 0x10000,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00128}00128         \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a61d1ee9a976175300f8a8fdce9a6560c}{CTL\_UA\_IE}}              = 0x20000}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00129}\mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9a61d1ee9a976175300f8a8fdce9a6560c}{00129}} \} \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{ctl\_ua\_type}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00130}00130 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00131}00131 \textcolor{preprocessor}{\#ifdef  \_KERNEL}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00132}00132 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00133}\mbox{\hyperlink{ctl_8h_abf355ab2f7ba37bdc1b8a696c6544634}{00133}} \mbox{\hyperlink{ctl_8h_abf355ab2f7ba37bdc1b8a696c6544634}{MALLOC\_DECLARE}}(M\_CTL);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00134}00134 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00135}00135 \textcolor{keyword}{struct }\mbox{\hyperlink{structctl__page__index}{ctl\_page\_index}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00136}00136 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00137}00137 \textcolor{preprocessor}{\#ifdef SYSCTL\_DECL      }\textcolor{comment}{/* from sysctl.h */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00138}00138 \mbox{\hyperlink{scsi__enc__internal_8h_a46aa2cc54b10ef5a85838afeb82e6d53}{SYSCTL\_DECL}}(\_kern\_cam\_ctl);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00139}00139 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00140}00140 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00141}00141 \textcolor{keyword}{struct }\mbox{\hyperlink{structctl__lun}{ctl\_lun}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00142}00142 \textcolor{keyword}{struct }\mbox{\hyperlink{structctl__port}{ctl\_port}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00143}00143 \textcolor{keyword}{struct }\mbox{\hyperlink{structctl__softc}{ctl\_softc}};}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00144}00144 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00145}00145 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00146}00146 \textcolor{comment}{ * Put a string into an sbuf, escaping characters that are illegal or not}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00147}00147 \textcolor{comment}{ * recommended in XML.  Note this doesn't escape everything, just > < and \&.}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00148}00148 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00149}00149 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_adec6df478a1f40c0612f9ba7ddddfaef}{ctl\_sbuf\_printf\_esc}}(\textcolor{keyword}{struct} sbuf *sb, \textcolor{keywordtype}{char} *str, \textcolor{keywordtype}{int} size);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00150}00150 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00151}00151 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a51733afc200a2f49eddab73308c20a6b}{ctl\_ffz}}(uint32\_t *mask, uint32\_t first, uint32\_t last);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00152}00152 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a5603335ad004a266613a8d90a692878c}{ctl\_set\_mask}}(uint32\_t *mask, uint32\_t bit);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00153}00153 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a9b7122df6a9d45fbbf12650b27d32239}{ctl\_clear\_mask}}(uint32\_t *mask, uint32\_t bit);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00154}00154 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_afb6df36653e49fce6d7dc77bdd321a12}{ctl\_is\_set}}(uint32\_t *mask, uint32\_t bit);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00155}00155 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_abc4c500878184b17b11c3c6fe93e8bd7}{ctl\_default\_page\_handler}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__scsiio}{ctl\_scsiio}} *ctsio,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00156}00156                              \textcolor{keyword}{struct} \mbox{\hyperlink{structctl__page__index}{ctl\_page\_index}} *page\_index,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00157}00157                              uint8\_t *page\_ptr);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00158}00158 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a249c39e70f3f221e71dcf3c1cd388ed8}{ctl\_ie\_page\_handler}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__scsiio}{ctl\_scsiio}} *ctsio,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00159}00159                         \textcolor{keyword}{struct} \mbox{\hyperlink{structctl__page__index}{ctl\_page\_index}} *page\_index,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00160}00160                         uint8\_t *page\_ptr);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00161}00161 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_ae0141d4671c7b6e0ee8112f78e0d733b}{ctl\_temp\_log\_sense\_handler}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__scsiio}{ctl\_scsiio}} *ctsio,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00162}00162                                    \textcolor{keyword}{struct} \mbox{\hyperlink{structctl__page__index}{ctl\_page\_index}} *page\_index,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00163}00163                                    \textcolor{keywordtype}{int} pc);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00164}00164 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a43e55270ba19638ccc5e51d64a64e1f0}{ctl\_lbp\_log\_sense\_handler}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__scsiio}{ctl\_scsiio}} *ctsio,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00165}00165                                    \textcolor{keyword}{struct} \mbox{\hyperlink{structctl__page__index}{ctl\_page\_index}} *page\_index,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00166}00166                                    \textcolor{keywordtype}{int} pc);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00167}00167 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a71a3693cde9f36cc1fed22466216d1a7}{ctl\_sap\_log\_sense\_handler}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__scsiio}{ctl\_scsiio}} *ctsio,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00168}00168                                    \textcolor{keyword}{struct} \mbox{\hyperlink{structctl__page__index}{ctl\_page\_index}} *page\_index,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00169}00169                                    \textcolor{keywordtype}{int} pc);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00170}00170 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a51c7c950f3d5aa1e198ee7ac42011383}{ctl\_ie\_log\_sense\_handler}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__scsiio}{ctl\_scsiio}} *ctsio,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00171}00171                                    \textcolor{keyword}{struct} \mbox{\hyperlink{structctl__page__index}{ctl\_page\_index}} *page\_index,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00172}00172                                    \textcolor{keywordtype}{int} pc);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00173}00173 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a1ffd9db72d8cb9fba3a833bf23519c89}{ctl\_config\_move\_done}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io, \textcolor{keywordtype}{bool} samethr);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00174}00174 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a6892247897c7ca88bda0322cf63d001f}{ctl\_datamove\_done}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io, \textcolor{keywordtype}{bool} samethr);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00175}00175 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a49760cade85f81ce6460c22dd463bef2}{ctl\_datamove}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00176}00176 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a265a1b2f5af49ae58ec35f9565b4fb9a}{ctl\_serseq\_done}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00177}00177 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_aea568a1affb1a4367acda2b21e1424ef}{ctl\_done}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00178}00178 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_aea70eb20e6185620b25d624f4c96fc3b}{ctl\_data\_submit\_done}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00179}00179 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_ae467e10f19fdd8f946a7ebd54c8c8493}{ctl\_config\_read\_done}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00180}00180 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a73b35d36615b139b01051ebe24f1e014}{ctl\_config\_write\_done}}(\textcolor{keyword}{union} \mbox{\hyperlink{unionctl__io}{ctl\_io}} *io);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00181}\mbox{\hyperlink{ctl_8h_a17b778f0cb2a183f390b925890c246bc}{00181}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a17b778f0cb2a183f390b925890c246bc}{ctl\_portDB\_changed}}(\textcolor{keywordtype}{int} portnum);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00182}00182 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_ac15eff83272f24f728a80d7b88ad3a2e}{ctl\_ioctl\_io}}(\textcolor{keyword}{struct} cdev *\mbox{\hyperlink{structctl__softc_a910f5e835e73e8f1bb5018cde5daa79f}{dev}}, u\_long cmd, caddr\_t addr, \textcolor{keywordtype}{int} flag,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00183}00183                  \textcolor{keyword}{struct} thread *td);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00184}00184 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00185}00185 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a03ee250decfa85c9352fc644f871e16f}{ctl\_est\_ua}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__lun}{ctl\_lun}} *lun, uint32\_t initidx, \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{ctl\_ua\_type}} ua);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00186}00186 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a11a02357634f537f35c76bdf6b2f7f29}{ctl\_est\_ua\_port}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__lun}{ctl\_lun}} *lun, \textcolor{keywordtype}{int} port, uint32\_t except,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00187}00187     \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{ctl\_ua\_type}} ua);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00188}00188 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a837b4051d68671d7bb8afce139dd165a}{ctl\_est\_ua\_all}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__lun}{ctl\_lun}} *lun, uint32\_t except, \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{ctl\_ua\_type}} ua);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00189}00189 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a42e56a96339380bdfce40d565802f63f}{ctl\_clr\_ua}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__lun}{ctl\_lun}} *lun, uint32\_t initidx, \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{ctl\_ua\_type}} ua);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00190}00190 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a5c5e659dadced47a593ad3a2bed6927f}{ctl\_clr\_ua\_all}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__lun}{ctl\_lun}} *lun, uint32\_t except, \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{ctl\_ua\_type}} ua);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00191}00191 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_adf08bdead6a30e77ab793bf9669df09c}{ctl\_clr\_ua\_allluns}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__softc}{ctl\_softc}} *\mbox{\hyperlink{structctl__softc}{ctl\_softc}}, uint32\_t initidx,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00192}00192     \mbox{\hyperlink{ctl_8h_a99ae458b8206bdbf6db071f17ba660c9}{ctl\_ua\_type}} ua\_type);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00193}00193 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00194}00194 uint32\_t \mbox{\hyperlink{ctl_8h_a1b156d2e1012c817dcd22482c0e2f354}{ctl\_decode\_lun}}(uint64\_t encoded);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00195}00195 uint64\_t \mbox{\hyperlink{ctl_8h_ac5b6c05303f56b31710e2814df6e12ec}{ctl\_encode\_lun}}(uint32\_t decoded);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00196}00196 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00197}00197 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a6655e75962514234b9c6a1398a4d6256}{ctl\_isc\_announce\_lun}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__lun}{ctl\_lun}} *lun);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00198}00198 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_abf58c3f634bfdb6ac9b66caf58cdacf1}{ctl\_isc\_announce\_port}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__port}{ctl\_port}} *port);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00199}00199 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_aea59fd95d5d9ebb1075fee86a671577e}{ctl\_isc\_announce\_iid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__port}{ctl\_port}} *port, \textcolor{keywordtype}{int} iid);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00200}00200 \textcolor{keywordtype}{void} \mbox{\hyperlink{ctl_8h_a4fd898cda22c34936ce0c5280ec91462}{ctl\_isc\_announce\_mode}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structctl__lun}{ctl\_lun}} *lun, uint32\_t initidx,}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00201}00201     uint8\_t page, uint8\_t subpage);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00202}00202 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00203}00203 \textcolor{keywordtype}{int} \mbox{\hyperlink{ctl_8h_a5250a8ce523637d25fffdcfdf4837f66}{ctl\_expand\_number}}(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *buf, uint64\_t *num);}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00204}00204 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00205}00205 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_KERNEL */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00206}00206 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00207}00207 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_CTL\_H\_ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00208}00208 }
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00209}00209 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00210}00210 \textcolor{comment}{ * vim: ts=8}}
\DoxyCodeLine{\Hypertarget{ctl_8h_source_l00211}00211 \textcolor{comment}{ */}}

\end{DoxyCode}
