\hypertarget{if__lgereg_8h_source}{}\doxysection{if\+\_\+lgereg.\+h}
\label{if__lgereg_8h_source}\index{dev/lge/if\_lgereg.h@{dev/lge/if\_lgereg.h}}
\mbox{\hyperlink{if__lgereg_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/4-\/Clause}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2001 Wind River Systems}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00005}00005 \textcolor{comment}{ * Copyright (c) 1997, 1998, 1999, 2000, 2001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00006}00006 \textcolor{comment}{ *      Bill Paul <wpaul@bsdi.com>.  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00007}00007 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00008}00008 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00009}00009 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00010}00010 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00011}00011 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00012}00012 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00013}00013 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00014}00014 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00015}00015 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00016}00016 \textcolor{comment}{ * 3. All advertising materials mentioning features or use of this software}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00017}00017 \textcolor{comment}{ *    must display the following acknowledgement:}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00018}00018 \textcolor{comment}{ *      This product includes software developed by Bill Paul.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00019}00019 \textcolor{comment}{ * 4. Neither the name of the author nor the names of any co-\/contributors}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00020}00020 \textcolor{comment}{ *    may be used to endorse or promote products derived from this software}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00021}00021 \textcolor{comment}{ *    without specific prior written permission.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00022}00022 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00023}00023 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00024}00024 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00025}00025 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00026}00026 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00027}00027 \textcolor{comment}{ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00028}00028 \textcolor{comment}{ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00029}00029 \textcolor{comment}{ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00030}00030 \textcolor{comment}{ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00031}00031 \textcolor{comment}{ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00032}00032 \textcolor{comment}{ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00033}00033 \textcolor{comment}{ * THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00034}00034 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00035}00035 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00036}00036 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00037}00037 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00038}00038 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00039}\mbox{\hyperlink{if__lgereg_8h_ab7c0aea2e7d1d0bddc038e80b28cd7bf}{00039}} \textcolor{preprocessor}{\#define LGE\_MODE1               0x00    }\textcolor{comment}{/* CSR00 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00040}\mbox{\hyperlink{if__lgereg_8h_ab3230dd8a12ad552a86f20631d2bdea3}{00040}} \textcolor{preprocessor}{\#define LGE\_MODE2               0x04    }\textcolor{comment}{/* CSR01 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00041}\mbox{\hyperlink{if__lgereg_8h_a83afdba604bb2e042819abcb01a0d9fa}{00041}} \textcolor{preprocessor}{\#define LGE\_PPTXBUF\_IDX         0x08    }\textcolor{comment}{/* CSR02 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00042}\mbox{\hyperlink{if__lgereg_8h_a1b52f498762467990562123aa8930df3}{00042}} \textcolor{preprocessor}{\#define LGE\_PRODID              0x0C    }\textcolor{comment}{/* CSR03 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00043}\mbox{\hyperlink{if__lgereg_8h_a03e30047bee3fcff9a2173febc30a501}{00043}} \textcolor{preprocessor}{\#define LGE\_PPTXBUF\_ADDR\_LO     0x10    }\textcolor{comment}{/* CSR04 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00044}\mbox{\hyperlink{if__lgereg_8h_a8397aa8a6deb3ababb93cf07c1be68f1}{00044}} \textcolor{preprocessor}{\#define LGE\_PPTXBUF\_ADDR\_HI     0x14    }\textcolor{comment}{/* CSR05 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00045}\mbox{\hyperlink{if__lgereg_8h_a3ae67d2415dabd4ad11ae0bbe4a14865}{00045}} \textcolor{preprocessor}{\#define LGE\_RSVD0               0x18    }\textcolor{comment}{/* CSR06 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00046}\mbox{\hyperlink{if__lgereg_8h_a48f94ba99583157b03847e0c1e5d1abd}{00046}} \textcolor{preprocessor}{\#define LGE\_PPRXBUF\_IDX         0x1C    }\textcolor{comment}{/* CSR07 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00047}\mbox{\hyperlink{if__lgereg_8h_a59f034a6e493752e4907dfae2ff4b7e5}{00047}} \textcolor{preprocessor}{\#define LGE\_PPRXBUF\_ADDR\_LO     0x20    }\textcolor{comment}{/* CSR08 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00048}\mbox{\hyperlink{if__lgereg_8h_a26e4d044dff4604ee0622c59d4a35704}{00048}} \textcolor{preprocessor}{\#define LGE\_PPRXBUF\_ADDR\_HI     0x24    }\textcolor{comment}{/* CSR09 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00049}\mbox{\hyperlink{if__lgereg_8h_adfe4a3e3a968d6b7f7c1991717858190}{00049}} \textcolor{preprocessor}{\#define LGE\_EECTL               0x28    }\textcolor{comment}{/* CSR10 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00050}\mbox{\hyperlink{if__lgereg_8h_a6ef8ff7e8fd89209484f904ef4dec065}{00050}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS             0x2C    }\textcolor{comment}{/* CSR11 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00051}\mbox{\hyperlink{if__lgereg_8h_aa501f578914a4231cf0503363c058f9c}{00051}} \textcolor{preprocessor}{\#define LGE\_TXDESC\_ADDR\_LO      0x30    }\textcolor{comment}{/* CSR12 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00052}\mbox{\hyperlink{if__lgereg_8h_a8edc2c9d5ed55e1bf3b515e4d73e9fe4}{00052}} \textcolor{preprocessor}{\#define LGE\_TXDESC\_ADDR\_HI      0x34    }\textcolor{comment}{/* CSR13 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00053}\mbox{\hyperlink{if__lgereg_8h_a530f31a9f6a57beb31c1c33c3f11f708}{00053}} \textcolor{preprocessor}{\#define LGE\_RXDESC\_ADDR\_LO      0x38    }\textcolor{comment}{/* CSR14 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00054}\mbox{\hyperlink{if__lgereg_8h_a71b218f8ae0303e6c30f3b894097b1e5}{00054}} \textcolor{preprocessor}{\#define LGE\_RXDESC\_ADDR\_HI      0x3C    }\textcolor{comment}{/* CSR15 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00055}\mbox{\hyperlink{if__lgereg_8h_a8e884f9bc5089423d911a38ad45ed9d0}{00055}} \textcolor{preprocessor}{\#define LGE\_PPTXCTL             0x40    }\textcolor{comment}{/* CSR16 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00056}\mbox{\hyperlink{if__lgereg_8h_ac72c32eac5bb6b32ddaab45f51d5089d}{00056}} \textcolor{preprocessor}{\#define LGE\_PPRXCTL             0x44    }\textcolor{comment}{/* CSR17 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00057}\mbox{\hyperlink{if__lgereg_8h_a80fd643940abae189d8be49726f203d2}{00057}} \textcolor{preprocessor}{\#define LGE\_INTR\_PERIOD         0x48    }\textcolor{comment}{/* CSR18 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00058}\mbox{\hyperlink{if__lgereg_8h_a6531c7297bf98e24652d94d68dea353a}{00058}} \textcolor{preprocessor}{\#define LGE\_TXFIFO\_PKTCNT       0x4C    }\textcolor{comment}{/* CSR19 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00059}\mbox{\hyperlink{if__lgereg_8h_a8490afae4dcb75fcd2e2afa1e01c147d}{00059}} \textcolor{preprocessor}{\#define LGE\_TXFIFO\_LOWAT        0x50    }\textcolor{comment}{/* CSR20 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00060}\mbox{\hyperlink{if__lgereg_8h_a0cd5a8b2f03cc6c959d69506c3842d01}{00060}} \textcolor{preprocessor}{\#define LGE\_TXFIFO\_FREEDWORDS   0x54    }\textcolor{comment}{/* CSR21 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00061}\mbox{\hyperlink{if__lgereg_8h_a6220b6251a1fc82bfd2560269d039431}{00061}} \textcolor{preprocessor}{\#define LGE\_TXFIFO\_WRITE        0x58    }\textcolor{comment}{/* CSR22 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00062}\mbox{\hyperlink{if__lgereg_8h_a05e5126b6d38c54bc280e7262689e85e}{00062}} \textcolor{preprocessor}{\#define LGE\_RSVD1               0x5C    }\textcolor{comment}{/* CSR23 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00063}\mbox{\hyperlink{if__lgereg_8h_a26200de71f791065d070420caa7a6b5d}{00063}} \textcolor{preprocessor}{\#define LGE\_RXFIFO\_READ         0x60    }\textcolor{comment}{/* CSR24 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00064}\mbox{\hyperlink{if__lgereg_8h_a9051428f9d9c7bd10e00ee3f993d02ee}{00064}} \textcolor{preprocessor}{\#define LGE\_RSVD2               0x64    }\textcolor{comment}{/* CSR25 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00065}\mbox{\hyperlink{if__lgereg_8h_a1c080e3292503ab0621a9f858fd39321}{00065}} \textcolor{preprocessor}{\#define LGE\_RXFIFO\_DWORDCNT     0x68    }\textcolor{comment}{/* CSR26 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00066}\mbox{\hyperlink{if__lgereg_8h_a46457a92286206d0204ff757ac7884e9}{00066}} \textcolor{preprocessor}{\#define LGE\_RXFIFO\_HIWAT        0x6C    }\textcolor{comment}{/* CSR27 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00067}\mbox{\hyperlink{if__lgereg_8h_ac3325175caafe18f266f65ae25a02082}{00067}} \textcolor{preprocessor}{\#define LGE\_RXFIFO\_PKTCNT       0x70    }\textcolor{comment}{/* CSR28 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00068}\mbox{\hyperlink{if__lgereg_8h_a3e3fb2057ff42fc638321277efc9576f}{00068}} \textcolor{preprocessor}{\#define LGE\_CMD                 0x74    }\textcolor{comment}{/* CSR29 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00069}\mbox{\hyperlink{if__lgereg_8h_ac8c78bed0aad41c9b328a6299fc59839}{00069}} \textcolor{preprocessor}{\#define LGE\_IMR                 0x78    }\textcolor{comment}{/* CSR30 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00070}\mbox{\hyperlink{if__lgereg_8h_ac7ee36291cb7d8d7acf2b3a975884eb8}{00070}} \textcolor{preprocessor}{\#define LGE\_RSVD3               0x7C    }\textcolor{comment}{/* CSR31 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00071}\mbox{\hyperlink{if__lgereg_8h_aa5cd97d530010f821afca67cfe0910d7}{00071}} \textcolor{preprocessor}{\#define LGE\_ISR                 0x80    }\textcolor{comment}{/* CSR32 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00072}\mbox{\hyperlink{if__lgereg_8h_aa66439adaca20801564edb74952e9c48}{00072}} \textcolor{preprocessor}{\#define LGE\_RSVD4               0x84    }\textcolor{comment}{/* CSR33 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00073}\mbox{\hyperlink{if__lgereg_8h_a84fff9b5ba1e552248648c4de4ea639e}{00073}} \textcolor{preprocessor}{\#define LGE\_MAR0                0x88    }\textcolor{comment}{/* CSR34 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00074}\mbox{\hyperlink{if__lgereg_8h_ad13a2886e24cfeec0a1a302d717b42e4}{00074}} \textcolor{preprocessor}{\#define LGE\_MAR1                0x8C    }\textcolor{comment}{/* CSR35 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00075}\mbox{\hyperlink{if__lgereg_8h_a65cedaf1c1a6821e901edb41001165dd}{00075}} \textcolor{preprocessor}{\#define LGE\_LEDCFG0             0x90    }\textcolor{comment}{/* CSR36 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00076}\mbox{\hyperlink{if__lgereg_8h_a21326ca6cf8f886d559f85a96a0e71e6}{00076}} \textcolor{preprocessor}{\#define LGE\_LEDCFG1             0x84    }\textcolor{comment}{/* CSR37 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00077}\mbox{\hyperlink{if__lgereg_8h_a9e2eea78281c27c326298ee0c55af102}{00077}} \textcolor{preprocessor}{\#define LGE\_LEDCFG2             0x98    }\textcolor{comment}{/* CSR38 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00078}\mbox{\hyperlink{if__lgereg_8h_a70706091ce9498f396b584724041181a}{00078}} \textcolor{preprocessor}{\#define LGE\_LEDCFG3             0x9C    }\textcolor{comment}{/* CSR39 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00079}\mbox{\hyperlink{if__lgereg_8h_a25062aa4fbe32023332d25b33ea6b189}{00079}} \textcolor{preprocessor}{\#define LGE\_RSVD5               0xA0    }\textcolor{comment}{/* CSR40 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00080}\mbox{\hyperlink{if__lgereg_8h_a19ed939a830bb636d3573dcc193a93bb}{00080}} \textcolor{preprocessor}{\#define LGE\_EEDATA              0xA4    }\textcolor{comment}{/* CSR41 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00081}\mbox{\hyperlink{if__lgereg_8h_a33ad70dbd0d0383ebb0b2b5d9621a95b}{00081}} \textcolor{preprocessor}{\#define LGE\_PAR0                0xA8    }\textcolor{comment}{/* CSR42 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00082}\mbox{\hyperlink{if__lgereg_8h_a48b5adf115b2c19ac349cff11b5acc74}{00082}} \textcolor{preprocessor}{\#define LGE\_PAR1                0xAC    }\textcolor{comment}{/* CSR43 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00083}\mbox{\hyperlink{if__lgereg_8h_ad424562c8a015fdf62828ed6e7e524b8}{00083}} \textcolor{preprocessor}{\#define LGE\_GMIICTL             0xB0    }\textcolor{comment}{/* CSR44 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00084}\mbox{\hyperlink{if__lgereg_8h_a976225a56c6ee297e1fcd4a5b5517bfe}{00084}} \textcolor{preprocessor}{\#define LGE\_GMIIMODE            0xB4    }\textcolor{comment}{/* CSR45 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00085}\mbox{\hyperlink{if__lgereg_8h_a5bbaa3f73ad3f01a5d9ba01cc3bf3736}{00085}} \textcolor{preprocessor}{\#define LGE\_STATSIDX            0xB8    }\textcolor{comment}{/* CSR46 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00086}\mbox{\hyperlink{if__lgereg_8h_ad42d6fe27779847058edb15b7b234dc1}{00086}} \textcolor{preprocessor}{\#define LGE\_STATSVAL            0xBC    }\textcolor{comment}{/* CSR47 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00087}\mbox{\hyperlink{if__lgereg_8h_a5f3e35e64d02ff79f1da4d388ce95e82}{00087}} \textcolor{preprocessor}{\#define LGE\_VLANCTL             0xC0    }\textcolor{comment}{/* CSR48 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00088}\mbox{\hyperlink{if__lgereg_8h_ad65372af5d41ec6a5c9d64f133527fcd}{00088}} \textcolor{preprocessor}{\#define LGE\_RSVD6               0xC4    }\textcolor{comment}{/* CSR49 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00089}\mbox{\hyperlink{if__lgereg_8h_a6795331849fcf31dbf15abfea6e2c14a}{00089}} \textcolor{preprocessor}{\#define LGE\_RSVD7               0xC8    }\textcolor{comment}{/* CSR50 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00090}\mbox{\hyperlink{if__lgereg_8h_a2a3d5770d840ebb542853e278e52904b}{00090}} \textcolor{preprocessor}{\#define LGE\_CMDSTS              0xCC    }\textcolor{comment}{/* CSR51 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00091}\mbox{\hyperlink{if__lgereg_8h_a6df69d2584df348a50437644c8a73440}{00091}} \textcolor{preprocessor}{\#define LGE\_FLOWCTL\_WAT         0xD0    }\textcolor{comment}{/* CSR52 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00092}\mbox{\hyperlink{if__lgereg_8h_a97f7ebbfaf816f380ce136ace7c85aee}{00092}} \textcolor{preprocessor}{\#define LGE\_RSVD8               0xD4    }\textcolor{comment}{/* CSR53 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00093}\mbox{\hyperlink{if__lgereg_8h_a66249458d66f4961c5b6d15855fb8257}{00093}} \textcolor{preprocessor}{\#define LGE\_RSVD9               0xD8    }\textcolor{comment}{/* CSR54 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00094}\mbox{\hyperlink{if__lgereg_8h_aee01a3c091891ff6c6cd2d9206105a6b}{00094}} \textcolor{preprocessor}{\#define LGE\_RSVD10              0xDC    }\textcolor{comment}{/* CSR55 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00095}\mbox{\hyperlink{if__lgereg_8h_a2d3b20abe112739fdb1e025483731151}{00095}} \textcolor{preprocessor}{\#define LGE\_RSVD11              0xE0    }\textcolor{comment}{/* CSR56 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00096}\mbox{\hyperlink{if__lgereg_8h_a48ee01b798a354e2200c0bd465011e4a}{00096}} \textcolor{preprocessor}{\#define LGE\_RSVD12              0xE4    }\textcolor{comment}{/* CSR57 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00097}\mbox{\hyperlink{if__lgereg_8h_a23d77f68c5c5b92bd5f9babe2087b610}{00097}} \textcolor{preprocessor}{\#define LGE\_TIMER0\_CNT          0xE8    }\textcolor{comment}{/* CSR58 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00098}\mbox{\hyperlink{if__lgereg_8h_a1b8581e60d5f9edb81b1d8f9b8507ed2}{00098}} \textcolor{preprocessor}{\#define LGE\_TIMER0\_INT          0xEC    }\textcolor{comment}{/* CSR59 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00099}\mbox{\hyperlink{if__lgereg_8h_aceb416d1fe64b691e2b464ddaf9f649f}{00099}} \textcolor{preprocessor}{\#define LGE\_TIMER1\_CNT          0xF0    }\textcolor{comment}{/* CSR60 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00100}\mbox{\hyperlink{if__lgereg_8h_a7dabf5262686116fd526a95923ccb812}{00100}} \textcolor{preprocessor}{\#define LGE\_TIMER1\_INT          0xF4    }\textcolor{comment}{/* CSR61 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00101}\mbox{\hyperlink{if__lgereg_8h_a4a4575b1966d5c6b50ab65f338546656}{00101}} \textcolor{preprocessor}{\#define LGE\_DBG\_CMD             0xF8    }\textcolor{comment}{/* CSR62 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00102}\mbox{\hyperlink{if__lgereg_8h_abf7e6d035f299e1b063603b886952fe6}{00102}} \textcolor{preprocessor}{\#define LGE\_DBG\_DATA            0xFC    }\textcolor{comment}{/* CSR63 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00103}00103 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00104}00104 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00105}00105 \textcolor{comment}{/* Mode register 1 */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00106}\mbox{\hyperlink{if__lgereg_8h_a999b53e1b006d947b290c1b880621727}{00106}} \textcolor{preprocessor}{\#define LGE\_MODE1\_SETRST\_CTL0   0x00000001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00107}\mbox{\hyperlink{if__lgereg_8h_a0342fe94316107f3d8b7ec11fd8a588d}{00107}} \textcolor{preprocessor}{\#define LGE\_MODE1\_SOFTRST       0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00108}\mbox{\hyperlink{if__lgereg_8h_a77ba77abc25cf6c4209c66ad1216ae06}{00108}} \textcolor{preprocessor}{\#define LGE\_MODE1\_DEBTOD        0x00000004      }\textcolor{comment}{/* Not documented? */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00109}\mbox{\hyperlink{if__lgereg_8h_af607b9028ce7a52f521e954816b246c7}{00109}} \textcolor{preprocessor}{\#define LGE\_MODE1\_TX\_FLOWCTL    0x00000008      }\textcolor{comment}{/* Not documented? */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00110}\mbox{\hyperlink{if__lgereg_8h_a2e08a5b17f5635b9c1c1f0ecc1889c30}{00110}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RXTXRIO       0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00111}\mbox{\hyperlink{if__lgereg_8h_a05669655bc87ac069035f31753f578c3}{00111}} \textcolor{preprocessor}{\#define LGE\_MODE1\_GMIIPOLL      0x00000020}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00112}\mbox{\hyperlink{if__lgereg_8h_a8bf6eea1143943da22b3b1d9e355045a}{00112}} \textcolor{preprocessor}{\#define LGE\_MODE1\_TXPAD         0x00000040}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00113}\mbox{\hyperlink{if__lgereg_8h_a2a7eecead594dd7e7e3b2e1e0f77d701}{00113}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RMVPAD        0x00000080      }\textcolor{comment}{/* Not documented? */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00114}\mbox{\hyperlink{if__lgereg_8h_ae1850fd752648095abc122ef8d7feea5}{00114}} \textcolor{preprocessor}{\#define LGE\_MODE1\_SETRST\_CTL1   0x00000100}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00115}\mbox{\hyperlink{if__lgereg_8h_aea01dde7cefead3f1db84d6bc7c52e2e}{00115}} \textcolor{preprocessor}{\#define LGE\_MODE1\_TX\_ENB        0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00116}\mbox{\hyperlink{if__lgereg_8h_a2177a7e6bf7c1d140095b39843e7ded9}{00116}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_ENB        0x00000400}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00117}\mbox{\hyperlink{if__lgereg_8h_a48958b96c318cbc453f065fafd800467}{00117}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_MCAST      0x00000800}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00118}\mbox{\hyperlink{if__lgereg_8h_a6d5d73bd9f79c9b49a9ff9a7f020cb5e}{00118}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_BCAST      0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00119}\mbox{\hyperlink{if__lgereg_8h_a9b2dde91fce9ffa0a9cf94853e1134b3}{00119}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_PROMISC    0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00120}\mbox{\hyperlink{if__lgereg_8h_a37bfb5e99ab71d86898358b2ee023742}{00120}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_UCAST      0x00004000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00121}\mbox{\hyperlink{if__lgereg_8h_a4aac0d4e414d2326b8a96fd67f6ef1f7}{00121}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_GIANTS     0x00008000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00122}\mbox{\hyperlink{if__lgereg_8h_ae4f150451e442f1ebd5d18530a7baf48}{00122}} \textcolor{preprocessor}{\#define LGE\_MODE1\_SETRST\_CTL2   0x00010000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00123}\mbox{\hyperlink{if__lgereg_8h_a5712c3cbc335171537df7a38fff3fb14}{00123}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_CRC        0x00020000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00124}\mbox{\hyperlink{if__lgereg_8h_a27f3b4664910f5c71319ae434bf87153}{00124}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_ERRPKTS    0x00040000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00125}\mbox{\hyperlink{if__lgereg_8h_a83f931cc6252b1f4b4e45b35d04043ab}{00125}} \textcolor{preprocessor}{\#define LGE\_MODE1\_TX\_CRC        0x00080000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00126}\mbox{\hyperlink{if__lgereg_8h_a311092991f8decc6ed7160744288a838}{00126}} \textcolor{preprocessor}{\#define LGE\_MODE1\_DEMDEN        0x00100000      }\textcolor{comment}{/* Not documented? */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00127}\mbox{\hyperlink{if__lgereg_8h_a0afcdab404fba754ec9054e9d84dbe2e}{00127}} \textcolor{preprocessor}{\#define LGE\_MODE1\_MPACK\_ENB     0x00200000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00128}\mbox{\hyperlink{if__lgereg_8h_a9f4107c94ba7411c4a7a493ee476dfd2}{00128}} \textcolor{preprocessor}{\#define LGE\_MODE1\_MPACK\_BCAST   0x00400000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00129}\mbox{\hyperlink{if__lgereg_8h_abcaf0853dfa9c8a9f71f1ef1f63c28ad}{00129}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_FLOWCTL    0x00800000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00130}\mbox{\hyperlink{if__lgereg_8h_ad5976272e08622cc2503a91ed5a9a9c1}{00130}} \textcolor{preprocessor}{\#define LGE\_MODE1\_SETRST\_CTL3   0x01000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00131}\mbox{\hyperlink{if__lgereg_8h_a68e71b0f99ed60efc74ea66fbbae22a7}{00131}} \textcolor{preprocessor}{\#define LGE\_MODE1\_VLAN\_RX       0x02000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00132}\mbox{\hyperlink{if__lgereg_8h_ac57d80847dcecda474695684ff4752f4}{00132}} \textcolor{preprocessor}{\#define LGE\_MODE1\_VLAN\_TX       0x04000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00133}\mbox{\hyperlink{if__lgereg_8h_ae4812a867e69e89b8be789383703f7e3}{00133}} \textcolor{preprocessor}{\#define LGE\_MODE1\_VLAN\_STRIP    0x08000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00134}\mbox{\hyperlink{if__lgereg_8h_aa60e54a1e75ff7c9bacc331ab655d70b}{00134}} \textcolor{preprocessor}{\#define LGE\_MODE1\_VLAN\_INSERT   0x10000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00135}\mbox{\hyperlink{if__lgereg_8h_a84c7ca9207fa46de557edf4a64ee2eea}{00135}} \textcolor{preprocessor}{\#define LGE\_MODE1\_GPIO\_CTL0     0x20000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00136}\mbox{\hyperlink{if__lgereg_8h_aefdd3ecbf7bcd5a6b15dd535602049e9}{00136}} \textcolor{preprocessor}{\#define LGE\_MODE1\_GPIO\_CTL1     0x40000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00137}\mbox{\hyperlink{if__lgereg_8h_ac085b6b76035c8c98a95dc82f5af1b38}{00137}} \textcolor{preprocessor}{\#define LGE\_MODE1\_RX\_LENCHK     0x80000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00138}00138 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00139}00139 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00140}00140 \textcolor{comment}{/* Mode register 2 */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00141}\mbox{\hyperlink{if__lgereg_8h_ac2274ed1ab08d0269adb7e73d3951119}{00141}} \textcolor{preprocessor}{\#define LGE\_MODE2\_LOOPBACK      0x000000E0}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00142}\mbox{\hyperlink{if__lgereg_8h_a9e6f77137293e574948e12d33aa0946f}{00142}} \textcolor{preprocessor}{\#define LGE\_MODE2\_RX\_IPCSUM     0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00143}\mbox{\hyperlink{if__lgereg_8h_a192c5a15c7a49e18708a5e34c5ac5a5a}{00143}} \textcolor{preprocessor}{\#define LGE\_MODE2\_RX\_TCPCSUM    0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00144}\mbox{\hyperlink{if__lgereg_8h_a8a99c6d5699ec52fae91c1e681322e27}{00144}} \textcolor{preprocessor}{\#define LGE\_MODE2\_RX\_UDPCSUM    0x00004000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00145}\mbox{\hyperlink{if__lgereg_8h_aef9f26a0121c7ae8a188d85373abadd2}{00145}} \textcolor{preprocessor}{\#define LGE\_MODE2\_RX\_ERRCSUM    0x00008000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00146}00146 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00147}00147 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00148}00148 \textcolor{comment}{/* EEPROM register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00149}\mbox{\hyperlink{if__lgereg_8h_a3da680b7c11b2067599dcca255f6fcaa}{00149}} \textcolor{preprocessor}{\#define LGE\_EECTL\_HAVE\_EEPROM   0x00000001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00150}\mbox{\hyperlink{if__lgereg_8h_aa742d6e0488b40ba0d93a26ad047dbb9}{00150}} \textcolor{preprocessor}{\#define LGE\_EECTL\_CMD\_READ      0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00151}\mbox{\hyperlink{if__lgereg_8h_ad54b3c61cbfd463aa44353413765c9a1}{00151}} \textcolor{preprocessor}{\#define LGE\_EECTL\_CMD\_WRITE     0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00152}\mbox{\hyperlink{if__lgereg_8h_a61c4f6332d5b960f0fcd82b93b685d09}{00152}} \textcolor{preprocessor}{\#define LGE\_EECTL\_CSUMERR       0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00153}\mbox{\hyperlink{if__lgereg_8h_a4a691b89050611e6fd22b876fbb1c4d0}{00153}} \textcolor{preprocessor}{\#define LGE\_EECTL\_MULTIACCESS   0x00000020}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00154}\mbox{\hyperlink{if__lgereg_8h_a8dbc876140f70159d30699d5c13656ef}{00154}} \textcolor{preprocessor}{\#define LGE\_EECTL\_SINGLEACCESS  0x00000040}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00155}\mbox{\hyperlink{if__lgereg_8h_a7578a409a4718d683a3b63ed2b60af92}{00155}} \textcolor{preprocessor}{\#define LGE\_EECTL\_ADDR          0x00001F00}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00156}\mbox{\hyperlink{if__lgereg_8h_a656ad95131d5882a99cf5a8942e003c2}{00156}} \textcolor{preprocessor}{\#define LGE\_EECTL\_ROM\_TIMING    0x000F0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00157}\mbox{\hyperlink{if__lgereg_8h_a1e6c09df51713b2c51f55224a6438a71}{00157}} \textcolor{preprocessor}{\#define LGE\_EECTL\_HAVE\_FLASH    0x00100000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00158}\mbox{\hyperlink{if__lgereg_8h_a675e1ce1d74e1e3a142c7aa9e9d865ba}{00158}} \textcolor{preprocessor}{\#define LGE\_EECTL\_WRITEFLASH    0x00200000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00159}00159 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00160}\mbox{\hyperlink{if__lgereg_8h_a416db5e9698b47d4a20624ec6bcf1739}{00160}} \textcolor{preprocessor}{\#define LGE\_EE\_NODEADDR\_0       0x12}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00161}\mbox{\hyperlink{if__lgereg_8h_ab6ec201e3656a7f3319e98e286b6aa9c}{00161}} \textcolor{preprocessor}{\#define LGE\_EE\_NODEADDR\_1       0x13}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00162}\mbox{\hyperlink{if__lgereg_8h_ae14a60c7261d8442806c8062c7e09f95}{00162}} \textcolor{preprocessor}{\#define LGE\_EE\_NODEADDR\_2       0x10}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00163}00163 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00164}00164 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00165}00165 \textcolor{comment}{/* Chip status register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00166}\mbox{\hyperlink{if__lgereg_8h_af441195bd3501aeaa02793892fdc2a75}{00166}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS\_HAVETXSPC   0x00000001 }\textcolor{comment}{/* have room in TX FIFO for pkt */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00167}\mbox{\hyperlink{if__lgereg_8h_accae201e6fc791111107a975a9b42058}{00167}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS\_HAVERXPKT   0x00000002 }\textcolor{comment}{/* RX FIFO holds complete pkt */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00168}\mbox{\hyperlink{if__lgereg_8h_a66bc06616e77b169cea7d2d07f3ea23b}{00168}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS\_FLOWCTL\_STS 0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00169}\mbox{\hyperlink{if__lgereg_8h_a59a340e648afb08866dbf58fb356b169}{00169}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS\_GPIO\_STS0   0x00000008}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00170}\mbox{\hyperlink{if__lgereg_8h_a35f160cf5fec11f2497c1ef20a95a8c0}{00170}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS\_GPIO\_STS1   0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00171}\mbox{\hyperlink{if__lgereg_8h_a15680def032ad7a6a29529cd685d5e77}{00171}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS\_TXIDLE      0x00000020}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00172}\mbox{\hyperlink{if__lgereg_8h_ae56e1119fbb6e66703a37e9876126529}{00172}} \textcolor{preprocessor}{\#define LGE\_CHIPSTS\_RXIDLE      0x00000040}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00173}00173 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00174}00174 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00175}00175 \textcolor{comment}{/* TX PacketPropulsion control register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00176}\mbox{\hyperlink{if__lgereg_8h_aefd1963d35f960dbc3e25c621e9ac908}{00176}} \textcolor{preprocessor}{\#define LGE\_PPTXCTL\_BUFLEN      0x0000FFFF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00177}\mbox{\hyperlink{if__lgereg_8h_a6b27ff60e1077ced2cb8a2c24fef7587}{00177}} \textcolor{preprocessor}{\#define LGE\_PPTXCTL\_BUFID       0x003F0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00178}\mbox{\hyperlink{if__lgereg_8h_ac276081ba76fdf89e587a9b082a3f05f}{00178}} \textcolor{preprocessor}{\#define LGE\_PPTXCTL\_WANTINTR    0x01000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00179}00179 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00180}00180 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00181}00181 \textcolor{comment}{/* RX PacketPropulsion control register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00182}\mbox{\hyperlink{if__lgereg_8h_aa3d8944e29671243a5e7b4b8155125d6}{00182}} \textcolor{preprocessor}{\#define LGE\_PPRXCTL\_BUFLEN      0x0000FFFF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00183}\mbox{\hyperlink{if__lgereg_8h_a256ce0d310fb44ed24ed474ae8f0c203}{00183}} \textcolor{preprocessor}{\#define LGE\_PPRXCTL\_BUFID       0x003F0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00184}\mbox{\hyperlink{if__lgereg_8h_a80c6d82cd2f363a8e2050c3838e8affc}{00184}} \textcolor{preprocessor}{\#define LGE\_PPRXCTL\_WANTINTR    0x10000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00185}00185 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00186}00186 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00187}00187 \textcolor{comment}{/* Command register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00188}\mbox{\hyperlink{if__lgereg_8h_a073fbf1e794ee61097a2363692e142d3}{00188}} \textcolor{preprocessor}{\#define LGE\_CMD\_SETRST\_CTL0     0x00000001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00189}\mbox{\hyperlink{if__lgereg_8h_ad0a854ad07924d3a667040faea557fa0}{00189}} \textcolor{preprocessor}{\#define LGE\_CMD\_STARTTX         0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00190}\mbox{\hyperlink{if__lgereg_8h_a7351773410e45c369ebf6bdce638c27d}{00190}} \textcolor{preprocessor}{\#define LGE\_CMD\_SKIP\_RXPKT      0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00191}\mbox{\hyperlink{if__lgereg_8h_af5d69deef74e0d5053d77bf01135eb9f}{00191}} \textcolor{preprocessor}{\#define LGE\_CMD\_DEL\_INTREQ      0x00000008}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00192}\mbox{\hyperlink{if__lgereg_8h_aa32f6ad43da86adeb5ae46beda9a58c1}{00192}} \textcolor{preprocessor}{\#define LGE\_CMD\_PER\_INTREQ      0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00193}\mbox{\hyperlink{if__lgereg_8h_ae8398fae298839d65cc9d66ae709065b}{00193}} \textcolor{preprocessor}{\#define LGE\_CMD\_TIMER0          0x00000020}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00194}\mbox{\hyperlink{if__lgereg_8h_a16d6e39e6da77dddcecfb5d68c0a8994}{00194}} \textcolor{preprocessor}{\#define LGE\_CMD\_TIMER1          0x00000040}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00195}00195 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00196}00196 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00197}00197 \textcolor{comment}{/* Interrupt mask register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00198}\mbox{\hyperlink{if__lgereg_8h_aa34e6c50bae47302a5edee6d458c445a}{00198}} \textcolor{preprocessor}{\#define LGE\_IMR\_SETRST\_CTL0     0x00000001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00199}\mbox{\hyperlink{if__lgereg_8h_a8cbfcc26236a0bd3b1f91dadf5fc1a7d}{00199}} \textcolor{preprocessor}{\#define LGE\_IMR\_TXCMDFIFO\_EMPTY 0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00200}\mbox{\hyperlink{if__lgereg_8h_abba1b42d9fc1285134ff66c945c8c822}{00200}} \textcolor{preprocessor}{\#define LGE\_IMR\_TXFIFO\_WAT      0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00201}\mbox{\hyperlink{if__lgereg_8h_a232490528a6507e8dd79e2de89e0e756}{00201}} \textcolor{preprocessor}{\#define LGE\_IMR\_TXDMA\_DONE      0x00000008}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00202}\mbox{\hyperlink{if__lgereg_8h_ab9988c91f2dfe1865f72d5544f9d518c}{00202}} \textcolor{preprocessor}{\#define LGE\_IMR\_DELAYEDINTR     0x00000040}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00203}\mbox{\hyperlink{if__lgereg_8h_aa16f67cbcfd7c8b6fd0c9048408d0352}{00203}} \textcolor{preprocessor}{\#define LGE\_IMR\_INTR\_ENB        0x00000080}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00204}\mbox{\hyperlink{if__lgereg_8h_a6f8b824dc1d2b1272d89220dc35ffe68}{00204}} \textcolor{preprocessor}{\#define LGE\_IMR\_SETRST\_CTL1     0x00000100}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00205}\mbox{\hyperlink{if__lgereg_8h_a9fd5ee4d6ba13288ee0308a39a3330c0}{00205}} \textcolor{preprocessor}{\#define LGE\_IMR\_RXCMDFIFO\_EMPTY 0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00206}\mbox{\hyperlink{if__lgereg_8h_ac8cf22fb5a9f36d578aacec6cf199c68}{00206}} \textcolor{preprocessor}{\#define LGE\_IMR\_RXFIFO\_WAT      0x00000400}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00207}\mbox{\hyperlink{if__lgereg_8h_a4a7f5c9e4d68a92d6176538f874248f3}{00207}} \textcolor{preprocessor}{\#define LGE\_IMR\_RX\_DONE         0x00000800}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00208}\mbox{\hyperlink{if__lgereg_8h_a07010a693780005f04abee1bd9c9cb62}{00208}} \textcolor{preprocessor}{\#define LGE\_IMR\_RXDMA\_DONE      0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00209}\mbox{\hyperlink{if__lgereg_8h_a5739188092232a47b12f21e78e57c289}{00209}} \textcolor{preprocessor}{\#define LGE\_IMR\_PHY\_INTR        0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00210}\mbox{\hyperlink{if__lgereg_8h_aea6b91039de6288633c0833547192481}{00210}} \textcolor{preprocessor}{\#define LGE\_IMR\_MAGICPKT        0x00004000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00211}\mbox{\hyperlink{if__lgereg_8h_a2238a6aba4e27400d4dc6a423bc44c37}{00211}} \textcolor{preprocessor}{\#define LGE\_IMR\_SETRST\_CTL2     0x00010000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00212}\mbox{\hyperlink{if__lgereg_8h_a58c33fe9e99135bd795ec1758a56b3dd}{00212}} \textcolor{preprocessor}{\#define LGE\_IMR\_GPIO0           0x00020000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00213}\mbox{\hyperlink{if__lgereg_8h_a751bae5b65a7c00a112a0ecb21643921}{00213}} \textcolor{preprocessor}{\#define LGE\_IMR\_GPIO1           0x00040000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00214}\mbox{\hyperlink{if__lgereg_8h_aa08db8bd2a3c56bdfa513fb20437dc7b}{00214}} \textcolor{preprocessor}{\#define LGE\_IMR\_TIMER0          0x00080000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00215}\mbox{\hyperlink{if__lgereg_8h_ac72c2ace4f4ba3fb3a68569aff3d31f4}{00215}} \textcolor{preprocessor}{\#define LGE\_IMR\_TIMER1          0x00100000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00216}00216 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00217}00217 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00218}\mbox{\hyperlink{if__lgereg_8h_a49eff5bb52c38e92ba34a1852e29ce6e}{00218}} \textcolor{preprocessor}{\#define LGE\_INTRS       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00219}00219 \textcolor{preprocessor}{        (LGE\_IMR\_TXCMDFIFO\_EMPTY|LGE\_IMR\_TXDMA\_DONE|LGE\_IMR\_RX\_DONE| \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00220}00220 \textcolor{preprocessor}{         LGE\_IMR\_RXCMDFIFO\_EMPTY|LGE\_IMR\_RXDMA\_DONE|LGE\_IMR\_PHY\_INTR)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00221}00221 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00222}00222 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00223}00223 \textcolor{comment}{/* Interrupt status register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00224}\mbox{\hyperlink{if__lgereg_8h_ace350fee196c35051692657763fd0356}{00224}} \textcolor{preprocessor}{\#define LGE\_ISR\_TXCMDFIFO\_EMPTY 0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00225}\mbox{\hyperlink{if__lgereg_8h_aa44ac733fd55dfef036a054a9a307913}{00225}} \textcolor{preprocessor}{\#define LGE\_ISR\_TXFIFO\_WAT      0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00226}\mbox{\hyperlink{if__lgereg_8h_a2f83e3e3e65cdd05c514a60d33fa252f}{00226}} \textcolor{preprocessor}{\#define LGE\_ISR\_TXDMA\_DONE      0x00000008}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00227}\mbox{\hyperlink{if__lgereg_8h_ae891b0e7bec11c93731de759a3e772e6}{00227}} \textcolor{preprocessor}{\#define LGE\_ISR\_DELAYEDINTR     0x00000040}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00228}\mbox{\hyperlink{if__lgereg_8h_ac45e14d6270f68b3abe934356413edf3}{00228}} \textcolor{preprocessor}{\#define LGE\_ISR\_INTR\_ENB        0x00000080}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00229}\mbox{\hyperlink{if__lgereg_8h_aa8d3b5dff6a746becf1abaabff872243}{00229}} \textcolor{preprocessor}{\#define LGE\_ISR\_RXCMDFIFO\_EMPTY 0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00230}\mbox{\hyperlink{if__lgereg_8h_a4ed081d668ca9c8605ff9a47feb46758}{00230}} \textcolor{preprocessor}{\#define LGE\_ISR\_RXFIFO\_WAT      0x00000400}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00231}\mbox{\hyperlink{if__lgereg_8h_a1509540f5a8b557c5297bfd1e291b570}{00231}} \textcolor{preprocessor}{\#define LGE\_ISR\_RX\_DONE         0x00000800}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00232}\mbox{\hyperlink{if__lgereg_8h_adaa9145e73f5e54ea3ed4d2751018951}{00232}} \textcolor{preprocessor}{\#define LGE\_ISR\_RXDMA\_DONE      0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00233}\mbox{\hyperlink{if__lgereg_8h_aa598cbc7bfdb7b91fb819e8a85376c7a}{00233}} \textcolor{preprocessor}{\#define LGE\_ISR\_PHY\_INTR        0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00234}\mbox{\hyperlink{if__lgereg_8h_a2d798b8ecff71e482646473fc5200839}{00234}} \textcolor{preprocessor}{\#define LGE\_ISR\_MAGICPKT        0x00004000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00235}\mbox{\hyperlink{if__lgereg_8h_a15a9e126db9f50141244ae908816b13d}{00235}} \textcolor{preprocessor}{\#define LGE\_ISR\_GPIO0           0x00020000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00236}\mbox{\hyperlink{if__lgereg_8h_a7e4e7c98301fb3f73c932041b5d67504}{00236}} \textcolor{preprocessor}{\#define LGE\_ISR\_GPIO1           0x00040000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00237}\mbox{\hyperlink{if__lgereg_8h_a8e8abd74cb96e085de21e103d06f571a}{00237}} \textcolor{preprocessor}{\#define LGE\_ISR\_TIMER0          0x00080000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00238}\mbox{\hyperlink{if__lgereg_8h_aabc0affa922319fd3df186301e992c62}{00238}} \textcolor{preprocessor}{\#define LGE\_ISR\_TIMER1          0x00100000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00239}\mbox{\hyperlink{if__lgereg_8h_acd019670c015ecf67b1ac74f942461a8}{00239}} \textcolor{preprocessor}{\#define LGE\_ISR\_RXDMADONE\_CNT   0xFF000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00240}\mbox{\hyperlink{if__lgereg_8h_a10da39be157200d9f4f0e751de2ff815}{00240}} \textcolor{preprocessor}{\#define LGE\_RX\_DMACNT(x)        ((x \& LGE\_ISR\_RXDMADONE\_CNT) >> 24)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00241}00241 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00242}00242 \textcolor{comment}{/* LED0 config register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00243}\mbox{\hyperlink{if__lgereg_8h_acebf2c07b05e166f73954c8c34812c7f}{00243}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_ENABLE      0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00244}\mbox{\hyperlink{if__lgereg_8h_a883ff39bebcfd034acfaebb5edde32ac}{00244}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_INPUT\_POL   0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00245}\mbox{\hyperlink{if__lgereg_8h_ac8a875c2986b0f75e341537876cb5730}{00245}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_PULSE\_EXP   0x00000008}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00246}\mbox{\hyperlink{if__lgereg_8h_ae7621f88616de62b6a56dd7368d77294}{00246}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_10MBPS      0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00247}\mbox{\hyperlink{if__lgereg_8h_abf389762c36574e1d1a8ce5fb9ae4e9a}{00247}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_100MBPS     0x00000100}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00248}\mbox{\hyperlink{if__lgereg_8h_afdabd792780875d9975f372c29bfa6f5}{00248}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_1000MBPS    0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00249}\mbox{\hyperlink{if__lgereg_8h_afbb98a652eb0b6b1ee3153ac16e2be9a}{00249}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_FDX         0x00000400}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00250}\mbox{\hyperlink{if__lgereg_8h_aeeb2a88fa53df8f0f065a243a0d96299}{00250}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_ANEG        0x00000800}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00251}\mbox{\hyperlink{if__lgereg_8h_a46fc858b7df824155846715669ffbe1a}{00251}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_LINKSTS     0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00252}\mbox{\hyperlink{if__lgereg_8h_a646bd90973468b67980f9d492fa20be7}{00252}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_RXMATCH     0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00253}\mbox{\hyperlink{if__lgereg_8h_ad4449850e35e1ce2f26800fff4ed8bcc}{00253}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_TX          0x00004000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00254}\mbox{\hyperlink{if__lgereg_8h_a8ab9345642e417a26df7c33e17f1793d}{00254}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_RX          0x00008000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00255}\mbox{\hyperlink{if__lgereg_8h_a22cad4b8df4b90f1a4eb1d24950f507b}{00255}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_JABBER      0x00010000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00256}\mbox{\hyperlink{if__lgereg_8h_a7fa8799c1eb14dee6f3ecffb8ffee233}{00256}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_COLLISION   0x00020000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00257}\mbox{\hyperlink{if__lgereg_8h_a3ab5f6538d19663d19969e1dc8a33f16}{00257}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_CARRIER     0x00040000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00258}\mbox{\hyperlink{if__lgereg_8h_afdd9e7bc451b6a020721ab28f5f9e2d6}{00258}} \textcolor{preprocessor}{\#define LGE\_LED0CFG\_LEDOUT      0x10000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00259}00259 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00260}00260 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00261}00261 \textcolor{comment}{/* LED1 config register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00262}\mbox{\hyperlink{if__lgereg_8h_adaf753f00dbacd82fa33d41b3a8f59cb}{00262}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_ENABLE      0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00263}\mbox{\hyperlink{if__lgereg_8h_a02b362a65d8322b3674061b51c4bf7ae}{00263}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_INPUT\_POL   0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00264}\mbox{\hyperlink{if__lgereg_8h_accc0671bd7e210490fc5b2987985471d}{00264}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_PULSE\_EXP   0x00000008}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00265}\mbox{\hyperlink{if__lgereg_8h_a5e76c7f5b66273480edbca071e73718a}{00265}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_10MBPS      0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00266}\mbox{\hyperlink{if__lgereg_8h_a02f11fcb64e2a05355d532cc228560cd}{00266}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_100MBPS     0x00000100}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00267}\mbox{\hyperlink{if__lgereg_8h_a48e84ec1722758783f10f54a77ec867d}{00267}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_1000MBPS    0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00268}\mbox{\hyperlink{if__lgereg_8h_a5a1ee899a32c77b580b2061ee90cb4b5}{00268}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_FDX         0x00000400}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00269}\mbox{\hyperlink{if__lgereg_8h_a0893032ef518be921a4630eabff5c5a8}{00269}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_ANEG        0x00000800}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00270}\mbox{\hyperlink{if__lgereg_8h_a5f9354c0ced2596c2f3d5e9ed022f9c1}{00270}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_LINKSTS     0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00271}\mbox{\hyperlink{if__lgereg_8h_ac2e7e3e9a23d77536d6744e5f12f5b86}{00271}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_RXMATCH     0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00272}\mbox{\hyperlink{if__lgereg_8h_a25b1a93a49deea998327d24d1d4182c6}{00272}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_TX          0x00004000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00273}\mbox{\hyperlink{if__lgereg_8h_a34d262f1eb77809da3b4c165c1af01ed}{00273}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_RX          0x00008000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00274}\mbox{\hyperlink{if__lgereg_8h_ac5247ce763310d0221d9773ecd66b2b7}{00274}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_JABBER      0x00010000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00275}\mbox{\hyperlink{if__lgereg_8h_af2178ea94f54553288af8ea08438797f}{00275}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_COLLISION   0x00020000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00276}\mbox{\hyperlink{if__lgereg_8h_ad0210786911195effe8d3fd406c3076c}{00276}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_CARRIER     0x00040000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00277}\mbox{\hyperlink{if__lgereg_8h_a7a05708dc4f8b3e22c5595f319ec1cdc}{00277}} \textcolor{preprocessor}{\#define LGE\_LED1CFG\_LEDOUT      0x10000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00278}00278 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00279}00279 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00280}00280 \textcolor{comment}{/* LED2 config register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00281}\mbox{\hyperlink{if__lgereg_8h_a0943bafb67b5635cf9dbd637612f945b}{00281}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_ENABLE      0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00282}\mbox{\hyperlink{if__lgereg_8h_af4ca03dcaa89621488b84db4cd9409ea}{00282}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_INPUT\_POL   0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00283}\mbox{\hyperlink{if__lgereg_8h_af8aa85bd00c2ff3ee6dbf9a4e2d6c449}{00283}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_PULSE\_EXP   0x00000008}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00284}\mbox{\hyperlink{if__lgereg_8h_af33cb7b9c1492fb26820a604227aefbd}{00284}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_10MBPS      0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00285}\mbox{\hyperlink{if__lgereg_8h_a1e8c29c5670002b35c1cf45bb6d4f8cd}{00285}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_100MBPS     0x00000100}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00286}\mbox{\hyperlink{if__lgereg_8h_a10d39561a12ba46eb8b96fdb6d5d9fd4}{00286}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_1000MBPS    0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00287}\mbox{\hyperlink{if__lgereg_8h_a2194488ea2a87cb615ac519fbec42364}{00287}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_FDX         0x00000400}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00288}\mbox{\hyperlink{if__lgereg_8h_a220a8643d2e5a4ecb406d2000add4b72}{00288}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_ANEG        0x00000800}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00289}\mbox{\hyperlink{if__lgereg_8h_af61c85e0d6a9f8f0de030b4085876664}{00289}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_LINKSTS     0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00290}\mbox{\hyperlink{if__lgereg_8h_ae62f28e5f50cc151058f318c0f3ce778}{00290}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_RXMATCH     0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00291}\mbox{\hyperlink{if__lgereg_8h_a367612bbcec0e4910f0e7fce4a7ed9a8}{00291}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_TX          0x00004000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00292}\mbox{\hyperlink{if__lgereg_8h_aec28d448165b94cf6c8a6bc96270040b}{00292}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_RX          0x00008000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00293}\mbox{\hyperlink{if__lgereg_8h_ab27362a40de59acc7953f2bf74aca6e6}{00293}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_JABBER      0x00010000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00294}\mbox{\hyperlink{if__lgereg_8h_a0472bd5c54161a4f6ec2c507bba93b3d}{00294}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_COLLISION   0x00020000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00295}\mbox{\hyperlink{if__lgereg_8h_a3febf2d35926e6e3bd88a969bb91cd9b}{00295}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_CARRIER     0x00040000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00296}\mbox{\hyperlink{if__lgereg_8h_a97d7ac427222d72da708f6d023ca6383}{00296}} \textcolor{preprocessor}{\#define LGE\_LED2CFG\_LEDOUT      0x10000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00297}00297 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00298}00298 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00299}00299 \textcolor{comment}{/* GMII PHY access register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00300}\mbox{\hyperlink{if__lgereg_8h_a776a3c057796720756d0c364a1011c97}{00300}} \textcolor{preprocessor}{\#define LGE\_GMIICTL\_PHYREG      0x0000001F}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00301}\mbox{\hyperlink{if__lgereg_8h_a070168a90d3b1c303f8b40f3726ee167}{00301}} \textcolor{preprocessor}{\#define LGE\_GMIICTL\_CMD         0x00000080}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00302}\mbox{\hyperlink{if__lgereg_8h_a9a1fdfd59b0fd49f95348c3e916b6d90}{00302}} \textcolor{preprocessor}{\#define LGE\_GMIICTL\_PHYADDR     0x00001F00}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00303}\mbox{\hyperlink{if__lgereg_8h_a5c22e8879fde78c510f3177851bd2cdd}{00303}} \textcolor{preprocessor}{\#define LGE\_GMIICTL\_CMDBUSY     0x00008000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00304}\mbox{\hyperlink{if__lgereg_8h_ae6363a680e3879f8a875b0c7d4655484}{00304}} \textcolor{preprocessor}{\#define LGE\_GMIICTL\_DATA        0xFFFF0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00305}00305 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00306}\mbox{\hyperlink{if__lgereg_8h_af38f5832fd7b195e65e1fd5a2f62422b}{00306}} \textcolor{preprocessor}{\#define LGE\_GMIICMD\_READ        0x00000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00307}\mbox{\hyperlink{if__lgereg_8h_aa80c21a5d89617b23beca2bfab6ba247}{00307}} \textcolor{preprocessor}{\#define LGE\_GMIICMD\_WRITE       0x00000080}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00308}00308 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00309}00309 \textcolor{comment}{/* GMII PHY mode register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00310}\mbox{\hyperlink{if__lgereg_8h_a7aedbecb81cb25346c821de2c1202a84}{00310}} \textcolor{preprocessor}{\#define LGE\_GMIIMODE\_SPEED      0x00000003}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00311}\mbox{\hyperlink{if__lgereg_8h_a932a7d06f3b3361e0ac058d6b546bfab}{00311}} \textcolor{preprocessor}{\#define LGE\_GMIIMODE\_FDX        0x00000004}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00312}\mbox{\hyperlink{if__lgereg_8h_aa8418b60f27c8c8d6534f91ad901d23f}{00312}} \textcolor{preprocessor}{\#define LGE\_GMIIMODE\_PROTSEL    0x00000100 }\textcolor{comment}{/* 0 == GMII, 1 == TBI */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00313}\mbox{\hyperlink{if__lgereg_8h_a4407c46f52b5965cdc30aa6c9830f787}{00313}} \textcolor{preprocessor}{\#define LGE\_GMIIMODE\_PCSENH     0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00314}00314 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00315}\mbox{\hyperlink{if__lgereg_8h_a77cb2917df825b4828903b95efb10e42}{00315}} \textcolor{preprocessor}{\#define LGE\_SPEED\_10            0x00000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00316}\mbox{\hyperlink{if__lgereg_8h_afcd7fccb16ab4da26dcce4e924090f96}{00316}} \textcolor{preprocessor}{\#define LGE\_SPEED\_100           0x00000001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00317}\mbox{\hyperlink{if__lgereg_8h_a6e7fc74e062f98984a74cf3c7a4cb1a6}{00317}} \textcolor{preprocessor}{\#define LGE\_SPEED\_1000          0x00000002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00318}00318 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00319}00319 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00320}00320 \textcolor{comment}{/* VLAN tag control register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00321}\mbox{\hyperlink{if__lgereg_8h_aad90c689bbbeaa1e7bc6bba7ed1a33c8}{00321}} \textcolor{preprocessor}{\#define LGE\_VLANCTL\_VLID        0x00000FFF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00322}\mbox{\hyperlink{if__lgereg_8h_a16a1621911cf2a3908a2217947bed887}{00322}} \textcolor{preprocessor}{\#define LGE\_VLANCTL\_USERPRIO    0x0000E000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00323}\mbox{\hyperlink{if__lgereg_8h_ae53a5c6638bd057e349d2f5dbb516a88}{00323}} \textcolor{preprocessor}{\#define LGE\_VLANCTL\_TCI\_IDX     0x000D0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00324}\mbox{\hyperlink{if__lgereg_8h_aa84e84adfffd8a05fec146eacffe50bd}{00324}} \textcolor{preprocessor}{\#define LGE\_VLANCTL\_TBLCMD      0x00200000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00325}00325 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00326}00326 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00327}00327 \textcolor{comment}{/* Command status register */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00328}\mbox{\hyperlink{if__lgereg_8h_acc62bd7d4c4960401af96340e9cf579e}{00328}} \textcolor{preprocessor}{\#define LGE\_CMDSTS\_TXDMADONE    0x000000FF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00329}\mbox{\hyperlink{if__lgereg_8h_ad8e8a364d3c6f223ff5842bfbde0398b}{00329}} \textcolor{preprocessor}{\#define LGE\_CMDSTS\_RXDMADONE    0x0000FF00}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00330}\mbox{\hyperlink{if__lgereg_8h_abb336af392cbf6fb50a1d9c6ea7ad57a}{00330}} \textcolor{preprocessor}{\#define LGE\_CMDSTS\_TXCMDFREE    0x003F0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00331}\mbox{\hyperlink{if__lgereg_8h_aa26ac167733cd5ffdb9bafec13ffc9f1}{00331}} \textcolor{preprocessor}{\#define LGE\_CMDSTS\_RXCMDFREE    0x3F000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00332}00332 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00333}\mbox{\hyperlink{if__lgereg_8h_a8d10d7b6b59fa6969545ac4c899f4240}{00333}} \textcolor{preprocessor}{\#define LGE\_TXDMADONE\_8BIT      LGE\_CMDSTS}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00334}\mbox{\hyperlink{if__lgereg_8h_a9e5d5bffaca3abae10087514b30f9dd9}{00334}} \textcolor{preprocessor}{\#define LGE\_RXDMADONE\_8BIT      (LGE\_CMDSTS + 1)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00335}\mbox{\hyperlink{if__lgereg_8h_a9010769b94a09a448ddaa97560fd80be}{00335}} \textcolor{preprocessor}{\#define LGE\_TXCMDFREE\_8BIT      (LGE\_CMDSTS + 2)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00336}\mbox{\hyperlink{if__lgereg_8h_a6fffd8e891b5e71adff02877f033b5a0}{00336}} \textcolor{preprocessor}{\#define LGE\_RXCMDFREE\_8BIT      (LGE\_CMDSTS + 3)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00337}00337 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00338}\mbox{\hyperlink{if__lgereg_8h_a224edfb0cf26cbdada8f56088482c56f}{00338}} \textcolor{preprocessor}{\#define LGE\_MAXCMDS             31}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00339}00339 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00340}00340 \textcolor{comment}{/* Index for statistics counters. */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00341}\mbox{\hyperlink{if__lgereg_8h_a4d0e5c6802c4fae8382d92c512c9c4ac}{00341}} \textcolor{preprocessor}{\#define LGE\_STATS\_TX\_PKTS\_OK            0x00}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00342}\mbox{\hyperlink{if__lgereg_8h_a1c0ae9dbafba41f6e785a3921ada0340}{00342}} \textcolor{preprocessor}{\#define LGE\_STATS\_SINGLE\_COLL\_PKTS      0x01}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00343}\mbox{\hyperlink{if__lgereg_8h_aac8cbe6c75413ffc9897c0023c31e39d}{00343}} \textcolor{preprocessor}{\#define LGE\_STATS\_MULTI\_COLL\_PKTS       0x02}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00344}\mbox{\hyperlink{if__lgereg_8h_aa6c7adbfe22392afc5a1303bfe467703}{00344}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_PKTS\_OK            0x03}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00345}\mbox{\hyperlink{if__lgereg_8h_ad1bc05b704302edd4e8e4f0475ad1dee}{00345}} \textcolor{preprocessor}{\#define LGE\_STATS\_FCS\_ERRS              0x04}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00346}\mbox{\hyperlink{if__lgereg_8h_ae8cdc39ec467cf45fe7fcf52424940bf}{00346}} \textcolor{preprocessor}{\#define LGE\_STATS\_ALIGN\_ERRS            0x05}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00347}\mbox{\hyperlink{if__lgereg_8h_a746d9fb4c29e690601a5b49f41379429}{00347}} \textcolor{preprocessor}{\#define LGE\_STATS\_DROPPED\_PKTS          0x06}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00348}\mbox{\hyperlink{if__lgereg_8h_a5524222d6a1a40d0eb9a4302387a6d67}{00348}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_ERR\_PKTS           0x07}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00349}\mbox{\hyperlink{if__lgereg_8h_a154412cb92c3e7e0be5cb0337dcf58b9}{00349}} \textcolor{preprocessor}{\#define LGE\_STATS\_TX\_ERR\_PKTS           0x08}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00350}\mbox{\hyperlink{if__lgereg_8h_a6c44c1089a5411fd8dd11dcd546388e2}{00350}} \textcolor{preprocessor}{\#define LGE\_STATS\_LATE\_COLLS            0x09}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00351}\mbox{\hyperlink{if__lgereg_8h_adb097bc7ba6095132db581f10aecc00c}{00351}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_RUNTS              0x0A}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00352}\mbox{\hyperlink{if__lgereg_8h_a6bc8e160d0b751118415fc99d62961ca}{00352}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_GIANTS             0x0B}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00353}\mbox{\hyperlink{if__lgereg_8h_a1149ddbb60492df53f98a936d61b13e1}{00353}} \textcolor{preprocessor}{\#define LGE\_STATS\_VLAN\_PKTS\_ACCEPT      0x0C}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00354}\mbox{\hyperlink{if__lgereg_8h_a9b1d84ce8ecaf4dfe9ed2c94a2559f16}{00354}} \textcolor{preprocessor}{\#define LGE\_STATS\_VLAN\_PKTS\_REJECT      0x0D}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00355}\mbox{\hyperlink{if__lgereg_8h_a55623013d0b430c4c736ddf0aff0f8ce}{00355}} \textcolor{preprocessor}{\#define LGE\_STATS\_IP\_CSUM\_ERR           0x0E}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00356}\mbox{\hyperlink{if__lgereg_8h_a1ec73936bdde6dc2402929ad98f68a13}{00356}} \textcolor{preprocessor}{\#define LGE\_STATS\_UDP\_CSUM\_ERR          0x0F}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00357}\mbox{\hyperlink{if__lgereg_8h_ac6a8a497d05b2f41416ac6c0470cdfdd}{00357}} \textcolor{preprocessor}{\#define LGE\_STATS\_RANGELEN\_ERRS         0x10}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00358}\mbox{\hyperlink{if__lgereg_8h_ada6a65ff6a7e9e1a8641202a2846c3b1}{00358}} \textcolor{preprocessor}{\#define LGE\_STATS\_TCP\_CSUM\_ERR          0x11}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00359}\mbox{\hyperlink{if__lgereg_8h_af8ee1ac34f8be6895bc37ab701cb8ea2}{00359}} \textcolor{preprocessor}{\#define LGE\_STATS\_RSVD0                 0x12}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00360}\mbox{\hyperlink{if__lgereg_8h_a5ed9e37f78e9dc73776e783ecf30c923}{00360}} \textcolor{preprocessor}{\#define LGE\_STATS\_TX\_EXCESS\_COLLS       0x13}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00361}\mbox{\hyperlink{if__lgereg_8h_a7d72d630e14d309c80f879698633760d}{00361}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_UCASTS             0x14}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00362}\mbox{\hyperlink{if__lgereg_8h_a9fcc22d6ee5a585c34c6e92a6fc78c56}{00362}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_MCASTS             0x15}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00363}\mbox{\hyperlink{if__lgereg_8h_a0c7a04ac5f6d12b0f5a61c5d58128653}{00363}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_BCASTS             0x16}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00364}\mbox{\hyperlink{if__lgereg_8h_aba3b98f94115f9f9f1dd9426d207b35a}{00364}} \textcolor{preprocessor}{\#define LGE\_STATS\_RX\_PAUSE\_PKTS         0x17}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00365}\mbox{\hyperlink{if__lgereg_8h_a328589c2f99b3020de86270077699545}{00365}} \textcolor{preprocessor}{\#define LGE\_STATS\_TX\_PAUSE\_PKTS         0x18}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00366}\mbox{\hyperlink{if__lgereg_8h_a736cc237ef130e0dafd3bb3219710e07}{00366}} \textcolor{preprocessor}{\#define LGE\_STATS\_TX\_PKTS\_DEFERRED      0x19}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00367}\mbox{\hyperlink{if__lgereg_8h_a0165f485fcedc1e71655545c3b2257d2}{00367}} \textcolor{preprocessor}{\#define LGE\_STATS\_TX\_EXCESS\_DEFER       0x1A}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00368}\mbox{\hyperlink{if__lgereg_8h_a082796a4eb6988526b7a739646c9b9e9}{00368}} \textcolor{preprocessor}{\#define LGE\_STATS\_CARRIER\_SENSE\_ERR     0x1B}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00369}00369 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00370}00370 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00371}00371 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00372}00372 \textcolor{comment}{ * RX and TX DMA descriptor structures for scatter/gather.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00373}00373 \textcolor{comment}{ * Each descriptor can have up to 31 fragments in it, however for}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00374}00374 \textcolor{comment}{ * RX we only need one fragment, and for transmit we only allocate}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00375}00375 \textcolor{comment}{ * 10 in order to reduce the amount of space we need for the}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00376}00376 \textcolor{comment}{ * descriptor lists.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00377}00377 \textcolor{comment}{ * Note: descriptor structures must be 64-\/bit aligned.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00378}00378 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00379}00379 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00380}\mbox{\hyperlink{structlge__rx__desc}{00380}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__rx__desc}{lge\_rx\_desc}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00381}00381         \textcolor{comment}{/* Hardware descriptor section */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00382}\mbox{\hyperlink{structlge__rx__desc_ab52b7650b40b5a68a7d2d0e5c57000aa}{00382}}         u\_int32\_t               \mbox{\hyperlink{structlge__rx__desc_ab52b7650b40b5a68a7d2d0e5c57000aa}{lge\_ctl}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00383}\mbox{\hyperlink{structlge__rx__desc_a93a033ae9097bf8d142bab83bebb39bb}{00383}}         u\_int32\_t               \mbox{\hyperlink{structlge__rx__desc_a93a033ae9097bf8d142bab83bebb39bb}{lge\_sts}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00384}\mbox{\hyperlink{structlge__rx__desc_aa9173582015c74ae18e73b8cc8204f24}{00384}}         u\_int32\_t               \mbox{\hyperlink{structlge__rx__desc_aa9173582015c74ae18e73b8cc8204f24}{lge\_fragptr\_lo}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00385}\mbox{\hyperlink{structlge__rx__desc_a844f9377c54afb3f04c0b7bd2cb94849}{00385}}         u\_int32\_t               \mbox{\hyperlink{structlge__rx__desc_a844f9377c54afb3f04c0b7bd2cb94849}{lge\_fragptr\_hi}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00386}\mbox{\hyperlink{structlge__rx__desc_ac3a3f3cc21f3111d30623106c70ba52a}{00386}}         u\_int16\_t               \mbox{\hyperlink{structlge__rx__desc_ac3a3f3cc21f3111d30623106c70ba52a}{lge\_fraglen}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00387}\mbox{\hyperlink{structlge__rx__desc_a04b0bdfd180bb5f9f0f06d006f162cbc}{00387}}         u\_int16\_t               \mbox{\hyperlink{structlge__rx__desc_a04b0bdfd180bb5f9f0f06d006f162cbc}{lge\_rsvd0}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00388}\mbox{\hyperlink{structlge__rx__desc_a5e8dcd381ca73a0b2574eb4fcf8e6890}{00388}}         u\_int32\_t               \mbox{\hyperlink{structlge__rx__desc_a5e8dcd381ca73a0b2574eb4fcf8e6890}{lge\_rsvd1}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00389}00389         \textcolor{comment}{/* Driver software section */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00390}00390         \textcolor{keyword}{union }\{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00391}\mbox{\hyperlink{structlge__rx__desc_a64b154de0ea4a0bc1d5532e9894ac5a1}{00391}}                 \textcolor{keyword}{struct }mbuf             *\mbox{\hyperlink{structlge__rx__desc_a64b154de0ea4a0bc1d5532e9894ac5a1}{lge\_mbuf}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00392}\mbox{\hyperlink{structlge__rx__desc_aa776f1853dc8b66d5f04be01c254cc65}{00392}}                 u\_int64\_t               \mbox{\hyperlink{structlge__rx__desc_aa776f1853dc8b66d5f04be01c254cc65}{lge\_dummy}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00393}\mbox{\hyperlink{structlge__rx__desc_af015263d3ffe00995288500dfe5d414d}{00393}}         \} \mbox{\hyperlink{structlge__rx__desc_af015263d3ffe00995288500dfe5d414d}{lge\_u}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00394}00394 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00395}00395 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00396}\mbox{\hyperlink{structlge__frag}{00396}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__frag}{lge\_frag}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00397}\mbox{\hyperlink{structlge__frag_aa24a2a606fc4f4770c6562ca50559269}{00397}}         u\_int32\_t               \mbox{\hyperlink{structlge__frag_aa24a2a606fc4f4770c6562ca50559269}{lge\_rsvd0}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00398}\mbox{\hyperlink{structlge__frag_a8f21096d75008c2022ed55935bc709d6}{00398}}         u\_int32\_t               \mbox{\hyperlink{structlge__frag_a8f21096d75008c2022ed55935bc709d6}{lge\_fragptr\_lo}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00399}\mbox{\hyperlink{structlge__frag_a985ea82af91f862203bc951928e89802}{00399}}         u\_int32\_t               \mbox{\hyperlink{structlge__frag_a985ea82af91f862203bc951928e89802}{lge\_fragptr\_hi}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00400}\mbox{\hyperlink{structlge__frag_a43d1bdea7a5c0d78e3b0dff7f7b07969}{00400}}         u\_int16\_t               \mbox{\hyperlink{structlge__frag_a43d1bdea7a5c0d78e3b0dff7f7b07969}{lge\_fraglen}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00401}\mbox{\hyperlink{structlge__frag_a9db179d0cf2a2f49fce89b74cd68a8af}{00401}}         u\_int16\_t               \mbox{\hyperlink{structlge__frag_a9db179d0cf2a2f49fce89b74cd68a8af}{lge\_rsvd1}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00402}00402 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00403}00403 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00404}\mbox{\hyperlink{structlge__tx__desc}{00404}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__tx__desc}{lge\_tx\_desc}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00405}00405         \textcolor{comment}{/* Hardware descriptor section */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00406}\mbox{\hyperlink{structlge__tx__desc_a113d45eccb5fdf30c05da8ac79413552}{00406}}         u\_int32\_t               \mbox{\hyperlink{structlge__tx__desc_a113d45eccb5fdf30c05da8ac79413552}{lge\_ctl}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00407}\mbox{\hyperlink{structlge__tx__desc_abe8c6108d6d60b35d42f537cd4ea2e21}{00407}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__frag}{lge\_frag}}         \mbox{\hyperlink{structlge__tx__desc_abe8c6108d6d60b35d42f537cd4ea2e21}{lge\_frags}}[10];}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00408}\mbox{\hyperlink{structlge__tx__desc_a2bad7383e17866e27a95680269be25af}{00408}}         u\_int32\_t               \mbox{\hyperlink{structlge__tx__desc_a2bad7383e17866e27a95680269be25af}{lge\_rsvd0}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00409}00409         \textcolor{keyword}{union }\{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00410}\mbox{\hyperlink{structlge__tx__desc_ac884cd6601608ae923bf8ef11118f2a4}{00410}}                 \textcolor{keyword}{struct }mbuf             *\mbox{\hyperlink{structlge__tx__desc_ac884cd6601608ae923bf8ef11118f2a4}{lge\_mbuf}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00411}\mbox{\hyperlink{structlge__tx__desc_a4afb01c7bde3f0cd54b67e717b7cc7a3}{00411}}                 u\_int64\_t               \mbox{\hyperlink{structlge__tx__desc_a4afb01c7bde3f0cd54b67e717b7cc7a3}{lge\_dummy}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00412}\mbox{\hyperlink{structlge__tx__desc_a24300f7507515e2394289287f9114582}{00412}}         \} \mbox{\hyperlink{structlge__tx__desc_a24300f7507515e2394289287f9114582}{lge\_u}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00413}00413 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00414}00414 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00415}\mbox{\hyperlink{if__lgereg_8h_a96b5fbb4c50e0dc9f90e84efbeca6811}{00415}} \textcolor{preprocessor}{\#define lge\_mbuf        lge\_u.lge\_mbuf}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00416}00416 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00417}\mbox{\hyperlink{if__lgereg_8h_a5403d0d965e6a9b6ec229d6901379ea3}{00417}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_BUFLEN        0x0000FFFF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00418}\mbox{\hyperlink{if__lgereg_8h_a28648e5959f7827ecccf8e009def5baf}{00418}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_FRAGCNT       0x001F0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00419}\mbox{\hyperlink{if__lgereg_8h_a9e564668db2b411ca6a751eb07b8cb4d}{00419}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_LENERR        0x00400000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00420}\mbox{\hyperlink{if__lgereg_8h_a77712c25bc3bded01781cf4a9ce219bf}{00420}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_UCAST         0x00800000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00421}\mbox{\hyperlink{if__lgereg_8h_ad4cbc046cd758018f9bc01439f83a9f4}{00421}} \textcolor{preprocessor}{\#define LGR\_RXCTL\_BCAST         0x01000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00422}\mbox{\hyperlink{if__lgereg_8h_af201c3bb4fc00ef8226b3d56bd30dc27}{00422}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_MCAST         0x02000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00423}\mbox{\hyperlink{if__lgereg_8h_a5e9e5d316933a64989d647180840eb66}{00423}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_GIANT         0x04000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00424}\mbox{\hyperlink{if__lgereg_8h_a28ad4a61f1a73cd84dfb5a4e3a6edc7e}{00424}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_OFLOW         0x08000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00425}\mbox{\hyperlink{if__lgereg_8h_addf449f8b108f1bac775925112275ff3}{00425}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_CRCERR        0x10000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00426}\mbox{\hyperlink{if__lgereg_8h_a3fe9fd6ac4438798cfa7ce3463c4cb06}{00426}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_RUNT          0x20000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00427}\mbox{\hyperlink{if__lgereg_8h_a85c5b27b95a04ded313852d2d3cc0e23}{00427}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_ALGNERR       0x40000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00428}\mbox{\hyperlink{if__lgereg_8h_aed2b7582cefef40edb0b5ceb44e8a09b}{00428}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_WANTINTR      0x80000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00429}00429 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00430}\mbox{\hyperlink{if__lgereg_8h_a8ad28622127dc6ed310ecfc13beeab17}{00430}} \textcolor{preprocessor}{\#define LGE\_RXCTL\_ERRMASK       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00431}00431 \textcolor{preprocessor}{        (LGE\_RXCTL\_LENERR|LGE\_RXCTL\_OFLOW|      \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00432}00432 \textcolor{preprocessor}{         LGE\_RXCTL\_CRCERR|LGE\_RXCTL\_RUNT|       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00433}00433 \textcolor{preprocessor}{         LGE\_RXCTL\_ALGNERR)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00434}00434 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00435}\mbox{\hyperlink{if__lgereg_8h_ae3fb581f180ae614a75f5ca83c3fe103}{00435}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_VLTBIDX       0x0000000F}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00436}\mbox{\hyperlink{if__lgereg_8h_a8d4bb68b9d36553d293be82ea7c5e012}{00436}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_VLTBLHIT      0x00000010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00437}\mbox{\hyperlink{if__lgereg_8h_aa6474c8784f33ffb3400d9b51015795f}{00437}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_IPCSUMERR     0x00000100}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00438}\mbox{\hyperlink{if__lgereg_8h_a20860215dd4325b74e7dc2cbcd8045f3}{00438}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_TCPCSUMERR    0x00000200}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00439}\mbox{\hyperlink{if__lgereg_8h_a5fce76dfa1ba2c1eea9196ce895fb041}{00439}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_UDPCSUMERR    0x00000400}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00440}\mbox{\hyperlink{if__lgereg_8h_ab57b4d3b0b7161e74d70eaaa7e4f20e6}{00440}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_ISIP          0x00000800}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00441}\mbox{\hyperlink{if__lgereg_8h_a936676779dcabe50f2e8b1a6fcecb202}{00441}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_ISTCP         0x00001000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00442}\mbox{\hyperlink{if__lgereg_8h_ae76b8713aae8a7b70dac29a18dd5901a}{00442}} \textcolor{preprocessor}{\#define LGE\_RXSTS\_ISUDP         0x00002000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00443}00443 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00444}\mbox{\hyperlink{if__lgereg_8h_a55753d34aa5fb0d4f49d7edaff4e1dc0}{00444}} \textcolor{preprocessor}{\#define LGE\_TXCTL\_BUFLEN        0x0000FFFF}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00445}\mbox{\hyperlink{if__lgereg_8h_aa0615b45e70ff4ef006e7a9513f8e82a}{00445}} \textcolor{preprocessor}{\#define LGE\_TXCTL\_FRAGCNT       0x001F0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00446}\mbox{\hyperlink{if__lgereg_8h_a25f6178bf96a57bb7308f831d0f9f1aa}{00446}} \textcolor{preprocessor}{\#define LGE\_TXCTL\_VLTBIDX       0x0F000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00447}\mbox{\hyperlink{if__lgereg_8h_afd4582f88f6f3651b1531e71c05d0b6b}{00447}} \textcolor{preprocessor}{\#define LGE\_TXCTL\_VLIS          0x10000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00448}\mbox{\hyperlink{if__lgereg_8h_a852dafe439b3df3bf182a5de1b2b587c}{00448}} \textcolor{preprocessor}{\#define LGE\_TXCTL\_WANTINTR      0x80000000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00449}00449 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00450}\mbox{\hyperlink{if__lgereg_8h_ad4b035d9b4024a4e3c39bd2274d0c1d0}{00450}} \textcolor{preprocessor}{\#define LGE\_INC(x, y)           (x) = (x + 1) \% y}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00451}\mbox{\hyperlink{if__lgereg_8h_a61b92f51c53158c4bd3d187d558c9164}{00451}} \textcolor{preprocessor}{\#define LGE\_FRAGCNT\_1           (1<<16)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00452}\mbox{\hyperlink{if__lgereg_8h_a540b3740e24dd18bd56652d12825ef1c}{00452}} \textcolor{preprocessor}{\#define LGE\_FRAGCNT\_10          (10<<16)  }}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00453}\mbox{\hyperlink{if__lgereg_8h_a78390861a34330faa9edcd6479f3bb8f}{00453}} \textcolor{preprocessor}{\#define LGE\_FRAGCNT(x)          (x<<16)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00454}\mbox{\hyperlink{if__lgereg_8h_aa12e79f706da74dccb3d5833f755e7c9}{00454}} \textcolor{preprocessor}{\#define LGE\_RXBYTES(x)          (x-\/>lge\_ctl \& 0xFFFF)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00455}\mbox{\hyperlink{if__lgereg_8h_ac7b1ccc046dab6f78386f1b515f0b471}{00455}} \textcolor{preprocessor}{\#define LGE\_RXTAIL(x)           \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00456}00456 \textcolor{preprocessor}{        (x-\/>lge\_ldata-\/>lge\_rx\_list[x-\/>lge\_cdata.lge\_rx\_prod])}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00457}00457 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00458}\mbox{\hyperlink{if__lgereg_8h_aa04ae3e3ea59f1d58f2eacc5f5bcf373}{00458}} \textcolor{preprocessor}{\#define LGE\_RX\_LIST\_CNT         64}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00459}\mbox{\hyperlink{if__lgereg_8h_a30fcd71cdba5c575105b3b6ed30ce91d}{00459}} \textcolor{preprocessor}{\#define LGE\_TX\_LIST\_CNT         128}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00460}00460 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00461}\mbox{\hyperlink{structlge__list__data}{00461}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__list__data}{lge\_list\_data}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00462}\mbox{\hyperlink{structlge__list__data_a467d444f7d8e9fabbc4dec807715de42}{00462}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__rx__desc}{lge\_rx\_desc}}   \mbox{\hyperlink{structlge__list__data_a467d444f7d8e9fabbc4dec807715de42}{lge\_rx\_list}}[\mbox{\hyperlink{if__lgereg_8h_aa04ae3e3ea59f1d58f2eacc5f5bcf373}{LGE\_RX\_LIST\_CNT}}];}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00463}\mbox{\hyperlink{structlge__list__data_a283d25348ade381e32b61bade75d20ef}{00463}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__tx__desc}{lge\_tx\_desc}}   \mbox{\hyperlink{structlge__list__data_a283d25348ade381e32b61bade75d20ef}{lge\_tx\_list}}[\mbox{\hyperlink{if__lgereg_8h_a30fcd71cdba5c575105b3b6ed30ce91d}{LGE\_TX\_LIST\_CNT}}];}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00464}00464 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00465}00465 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00466}00466 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00467}00467 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00468}00468 \textcolor{comment}{ * Level 1 PCI vendor ID.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00469}00469 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00470}\mbox{\hyperlink{if__lgereg_8h_af0e23480ee30dcbb5d977283930638d6}{00470}} \textcolor{preprocessor}{\#define LGE\_VENDORID            0x1394}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00471}00471 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00472}00472 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00473}00473 \textcolor{comment}{ * LXT 1001 PCI device IDs}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00474}00474 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00475}\mbox{\hyperlink{if__lgereg_8h_a740e04b49d7963ca0163c11cb45b9bbe}{00475}} \textcolor{preprocessor}{\#define LGE\_DEVICEID            0x0001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00476}00476 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00477}\mbox{\hyperlink{structlge__type}{00477}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__type}{lge\_type}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00478}\mbox{\hyperlink{structlge__type_ae8bda3920f43822bd7b731f9ec1b4950}{00478}}         u\_int16\_t               \mbox{\hyperlink{structlge__type_ae8bda3920f43822bd7b731f9ec1b4950}{lge\_vid}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00479}\mbox{\hyperlink{structlge__type_a8b8ee4dedd4e22576675efb55f826895}{00479}}         u\_int16\_t               \mbox{\hyperlink{structlge__type_a8b8ee4dedd4e22576675efb55f826895}{lge\_did}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00480}\mbox{\hyperlink{structlge__type_a37093af2574957b57eed250d440bb5c9}{00480}}         \textcolor{keyword}{const} \textcolor{keywordtype}{char}              *\mbox{\hyperlink{structlge__type_a37093af2574957b57eed250d440bb5c9}{lge\_name}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00481}00481 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00482}00482 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00483}\mbox{\hyperlink{if__lgereg_8h_a606ecd952132d0cbc601d7387a7ec22d}{00483}} \textcolor{preprocessor}{\#define LGE\_JUMBO\_FRAMELEN      9018}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00484}\mbox{\hyperlink{if__lgereg_8h_aa81612977ec8a2204c34bff6d3ecba5a}{00484}} \textcolor{preprocessor}{\#define LGE\_JUMBO\_MTU           (LGE\_JUMBO\_FRAMELEN-\/ETHER\_HDR\_LEN-\/ETHER\_CRC\_LEN)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00485}\mbox{\hyperlink{if__lgereg_8h_a915b5757ff656e196e0eddd150e52463}{00485}} \textcolor{preprocessor}{\#define LGE\_JSLOTS              384}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00486}00486 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00487}\mbox{\hyperlink{if__lgereg_8h_a927b11ef76a64c710db0d505ed095cea}{00487}} \textcolor{preprocessor}{\#define LGE\_JRAWLEN (LGE\_JUMBO\_FRAMELEN + ETHER\_ALIGN)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00488}\mbox{\hyperlink{if__lgereg_8h_a51aab4b3381599dd47a316033626a60f}{00488}} \textcolor{preprocessor}{\#define LGE\_JLEN (LGE\_JRAWLEN + (sizeof(u\_int64\_t) -\/ \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00489}00489 \textcolor{preprocessor}{        (LGE\_JRAWLEN \% sizeof(u\_int64\_t))))}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00490}\mbox{\hyperlink{if__lgereg_8h_a30516e8b5ba736cec12faea1f9acf9c8}{00490}} \textcolor{preprocessor}{\#define LGE\_JPAGESZ PAGE\_SIZE}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00491}\mbox{\hyperlink{if__lgereg_8h_a3b52fbbeb16a4a17307112dca46dad3f}{00491}} \textcolor{preprocessor}{\#define LGE\_RESID (LGE\_JPAGESZ -\/ (LGE\_JLEN * LGE\_JSLOTS) \% LGE\_JPAGESZ)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00492}\mbox{\hyperlink{if__lgereg_8h_ac17f49cc4c7cb8847e9cac5ca54ed207}{00492}} \textcolor{preprocessor}{\#define LGE\_JMEM ((LGE\_JLEN * LGE\_JSLOTS) + LGE\_RESID)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00493}00493 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00494}\mbox{\hyperlink{structlge__jpool__entry}{00494}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__jpool__entry}{lge\_jpool\_entry}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00495}\mbox{\hyperlink{structlge__jpool__entry_aee757bcae177f5741d7cd2b81c98b3fd}{00495}}         \textcolor{keywordtype}{int}                             \mbox{\hyperlink{structlge__jpool__entry_aee757bcae177f5741d7cd2b81c98b3fd}{slot}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00496}\mbox{\hyperlink{structlge__jpool__entry_acd0d9ebe32676e3c37bb16455d9cebb8}{00496}}         \mbox{\hyperlink{structlge__jpool__entry_acd0d9ebe32676e3c37bb16455d9cebb8}{SLIST\_ENTRY}}(\mbox{\hyperlink{structlge__jpool__entry}{lge\_jpool\_entry}})  jpool\_entries;}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00497}00497 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00498}00498 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00499}\mbox{\hyperlink{structlge__ring__data}{00499}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__ring__data}{lge\_ring\_data}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00500}\mbox{\hyperlink{structlge__ring__data_a3e12b906e3ece6c76e46b6e5e5acb39e}{00500}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structlge__ring__data_a3e12b906e3ece6c76e46b6e5e5acb39e}{lge\_rx\_prod}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00501}\mbox{\hyperlink{structlge__ring__data_a1754921b80a68a13ce9704e84e146050}{00501}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structlge__ring__data_a1754921b80a68a13ce9704e84e146050}{lge\_rx\_cons}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00502}\mbox{\hyperlink{structlge__ring__data_aae1337c962b6c91c13bb39113e093919}{00502}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structlge__ring__data_aae1337c962b6c91c13bb39113e093919}{lge\_tx\_prod}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00503}\mbox{\hyperlink{structlge__ring__data_a72592268a4bea8bee3d15c649da5aeaf}{00503}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structlge__ring__data_a72592268a4bea8bee3d15c649da5aeaf}{lge\_tx\_cons}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00504}00504         \textcolor{comment}{/* Stick the jumbo mem management stuff here too. */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00505}\mbox{\hyperlink{structlge__ring__data_af7883c508b758f16c9af8a155f6c7aa9}{00505}}         caddr\_t                 \mbox{\hyperlink{structlge__ring__data_af7883c508b758f16c9af8a155f6c7aa9}{lge\_jslots}}[\mbox{\hyperlink{if__lgereg_8h_a915b5757ff656e196e0eddd150e52463}{LGE\_JSLOTS}}];}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00506}\mbox{\hyperlink{structlge__ring__data_a4563be9532e3fe40bcf01fbfee24c596}{00506}}         \textcolor{keywordtype}{void}                    *\mbox{\hyperlink{structlge__ring__data_a4563be9532e3fe40bcf01fbfee24c596}{lge\_jumbo\_buf}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00507}00507 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00508}00508 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00509}\mbox{\hyperlink{structlge__softc}{00509}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__softc}{lge\_softc}} \{}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00510}\mbox{\hyperlink{structlge__softc_aaa8504c7457a98c1e87d21e99593d163}{00510}}         \textcolor{keyword}{struct }ifnet            *\mbox{\hyperlink{structlge__softc_aaa8504c7457a98c1e87d21e99593d163}{lge\_ifp}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00511}\mbox{\hyperlink{structlge__softc_a48b41ad357b297d5f6ba58a02d0062df}{00511}}         device\_t                \mbox{\hyperlink{structlge__softc_a48b41ad357b297d5f6ba58a02d0062df}{lge\_dev}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00512}\mbox{\hyperlink{structlge__softc_a7b5de0c246624f7190fdd2caa44ae113}{00512}}         bus\_space\_handle\_t      \mbox{\hyperlink{structlge__softc_a7b5de0c246624f7190fdd2caa44ae113}{lge\_bhandle}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00513}\mbox{\hyperlink{structlge__softc_a46df768cf06e5df15a07f9c4d6449dff}{00513}}         bus\_space\_tag\_t         \mbox{\hyperlink{structlge__softc_a46df768cf06e5df15a07f9c4d6449dff}{lge\_btag}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00514}\mbox{\hyperlink{structlge__softc_aff473c019e6c776bb528474b7cfc09ac}{00514}}         \textcolor{keyword}{struct }resource         *\mbox{\hyperlink{structlge__softc_aff473c019e6c776bb528474b7cfc09ac}{lge\_res}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00515}\mbox{\hyperlink{structlge__softc_acba598d3bc9f21e1353669ed26f5ba81}{00515}}         \textcolor{keyword}{struct }resource         *\mbox{\hyperlink{structlge__softc_acba598d3bc9f21e1353669ed26f5ba81}{lge\_irq}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00516}\mbox{\hyperlink{structlge__softc_a3c4f90a11a9044d596abb968f5c7b564}{00516}}         \textcolor{keywordtype}{void}                    *\mbox{\hyperlink{structlge__softc_a3c4f90a11a9044d596abb968f5c7b564}{lge\_intrhand}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00517}\mbox{\hyperlink{structlge__softc_a35d02416dcbefe0adc6dd3a8ec3780f7}{00517}}         device\_t                \mbox{\hyperlink{structlge__softc_a35d02416dcbefe0adc6dd3a8ec3780f7}{lge\_miibus}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00518}\mbox{\hyperlink{structlge__softc_aaeb211a4514a90ddd7c599d347190d9d}{00518}}         u\_int8\_t                \mbox{\hyperlink{structlge__softc_aaeb211a4514a90ddd7c599d347190d9d}{lge\_type}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00519}\mbox{\hyperlink{structlge__softc_af57eb85d1da88765e845c5a8bdfe18d0}{00519}}         u\_int8\_t                \mbox{\hyperlink{structlge__softc_af57eb85d1da88765e845c5a8bdfe18d0}{lge\_link}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00520}\mbox{\hyperlink{structlge__softc_a98851e53c6ca22a9b053fc529669f73c}{00520}}         u\_int8\_t                \mbox{\hyperlink{structlge__softc_a98851e53c6ca22a9b053fc529669f73c}{lge\_pcs}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00521}\mbox{\hyperlink{structlge__softc_a1ec76927bcae37b44eadcbaf6616de47}{00521}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structlge__softc_a1ec76927bcae37b44eadcbaf6616de47}{lge\_if\_flags}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00522}\mbox{\hyperlink{structlge__softc_a49531e0a593fb548504c2ca625f2fcd2}{00522}}         \textcolor{keywordtype}{int}                     \mbox{\hyperlink{structlge__softc_a49531e0a593fb548504c2ca625f2fcd2}{lge\_timer}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00523}\mbox{\hyperlink{structlge__softc_a32d9253cb35fc6fc5ac031ff88d50a06}{00523}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__list__data}{lge\_list\_data}}       *\mbox{\hyperlink{structlge__softc_a32d9253cb35fc6fc5ac031ff88d50a06}{lge\_ldata}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00524}\mbox{\hyperlink{structlge__softc_aa1500b244a7053375e45eeaee1aa134d}{00524}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlge__ring__data}{lge\_ring\_data}}       \mbox{\hyperlink{structlge__softc_aa1500b244a7053375e45eeaee1aa134d}{lge\_cdata}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00525}\mbox{\hyperlink{structlge__softc_a7c5d61da7768a58fe8615020b0e8aef3}{00525}}         \textcolor{keyword}{struct }callout          \mbox{\hyperlink{structlge__softc_a7c5d61da7768a58fe8615020b0e8aef3}{lge\_stat\_callout}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00526}\mbox{\hyperlink{structlge__softc_a063cb3ce6e7ba9b4eeaa7f7b9f8d956e}{00526}}         \textcolor{keyword}{struct }mtx              \mbox{\hyperlink{structlge__softc_a063cb3ce6e7ba9b4eeaa7f7b9f8d956e}{lge\_mtx}};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00527}\mbox{\hyperlink{structlge__softc_aa13bc3e00e79746af0ea51eb65cdc7ed}{00527}}         \mbox{\hyperlink{structlge__softc_aa13bc3e00e79746af0ea51eb65cdc7ed}{SLIST\_HEAD}}(\_\_lge\_jfreehead, \mbox{\hyperlink{structlge__jpool__entry}{lge\_jpool\_entry}})   lge\_jfree\_listhead;}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00528}\mbox{\hyperlink{structlge__softc_a3fd311810e7dc79f653f26bbc5571893}{00528}}         \mbox{\hyperlink{structlge__softc_a3fd311810e7dc79f653f26bbc5571893}{SLIST\_HEAD}}(\_\_lge\_jinusehead, \mbox{\hyperlink{structlge__jpool__entry}{lge\_jpool\_entry}})  lge\_jinuse\_listhead;}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00529}00529 \};}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00530}00530 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00531}00531 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00532}00532 \textcolor{comment}{ * register space access macros}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00533}00533 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00534}\mbox{\hyperlink{if__lgereg_8h_a75a501122f68bd7e548d14dac28d2cf2}{00534}} \textcolor{preprocessor}{\#define CSR\_WRITE\_4(sc, reg, val)       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00535}00535 \textcolor{preprocessor}{        bus\_space\_write\_4(sc-\/>lge\_btag, sc-\/>lge\_bhandle, reg, val)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00536}00536 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00537}\mbox{\hyperlink{if__lgereg_8h_abcbd66d8b79e49d14b88a10bad81e012}{00537}} \textcolor{preprocessor}{\#define CSR\_READ\_2(sc, reg)             \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00538}00538 \textcolor{preprocessor}{        bus\_space\_read\_2(sc-\/>lge\_btag, sc-\/>lge\_bhandle, reg)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00539}00539 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00540}\mbox{\hyperlink{if__lgereg_8h_a08ca32fbdc23b0ac5387c64a29f0da5b}{00540}} \textcolor{preprocessor}{\#define CSR\_WRITE\_2(sc, reg, val)       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00541}00541 \textcolor{preprocessor}{        bus\_space\_write\_2(sc-\/>lge\_btag, sc-\/>lge\_bhandle, reg, val)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00542}00542 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00543}\mbox{\hyperlink{if__lgereg_8h_a8888d9d0c5b8e75f1894f519cfb86309}{00543}} \textcolor{preprocessor}{\#define CSR\_READ\_4(sc, reg)             \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00544}00544 \textcolor{preprocessor}{        bus\_space\_read\_4(sc-\/>lge\_btag, sc-\/>lge\_bhandle, reg)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00545}00545 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00546}\mbox{\hyperlink{if__lgereg_8h_a599e6257afcc9ee97d0ce35b8e71389b}{00546}} \textcolor{preprocessor}{\#define CSR\_WRITE\_1(sc, reg, val)       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00547}00547 \textcolor{preprocessor}{        bus\_space\_write\_1(sc-\/>lge\_btag, sc-\/>lge\_bhandle, reg, val)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00548}00548 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00549}\mbox{\hyperlink{if__lgereg_8h_a394044f8c65a429cea3c1993c9ed7766}{00549}} \textcolor{preprocessor}{\#define CSR\_READ\_1(sc, reg)             \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00550}00550 \textcolor{preprocessor}{        bus\_space\_read\_1(sc-\/>lge\_btag, sc-\/>lge\_bhandle, reg)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00551}00551 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00552}\mbox{\hyperlink{if__lgereg_8h_a979c0b0266ec6d6efc9d2e40d8580d31}{00552}} \textcolor{preprocessor}{\#define LGE\_LOCK(sc)            mtx\_lock(\&(sc)-\/>lge\_mtx)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00553}\mbox{\hyperlink{if__lgereg_8h_a2fba991aeb843a23de30e7d196e2f119}{00553}} \textcolor{preprocessor}{\#define LGE\_UNLOCK(sc)          mtx\_unlock(\&(sc)-\/>lge\_mtx)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00554}\mbox{\hyperlink{if__lgereg_8h_aaccd7e5b4a97745229ba5cfa6653cd8d}{00554}} \textcolor{preprocessor}{\#define LGE\_LOCK\_ASSERT(sc)     mtx\_assert(\&(sc)-\/>lge\_mtx, MA\_OWNED)}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00555}00555 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00556}\mbox{\hyperlink{if__lgereg_8h_a83bb64fe639235951ac8fb7b4f367341}{00556}} \textcolor{preprocessor}{\#define LGE\_TIMEOUT             1000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00557}\mbox{\hyperlink{if__lgereg_8h_a7fe11f9a34b874ec4725af0f3576dbbd}{00557}} \textcolor{preprocessor}{\#define LGE\_RXLEN               1536}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00558}\mbox{\hyperlink{if__lgereg_8h_a54d00a03ee182e79aaab45b7f5659cc4}{00558}} \textcolor{preprocessor}{\#define LGE\_MIN\_FRAMELEN        60}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00559}00559 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00560}00560 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00561}00561 \textcolor{comment}{ * PCI low memory base and low I/O base register, and}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00562}00562 \textcolor{comment}{ * other PCI registers.}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00563}00563 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00564}00564 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00565}\mbox{\hyperlink{if__lgereg_8h_ae0ecbd2a6cf67984b41da5e167c9e201}{00565}} \textcolor{preprocessor}{\#define LGE\_PCI\_VENDOR\_ID       0x00}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00566}\mbox{\hyperlink{if__lgereg_8h_a1afa616da603a2c9a9b65b05a2c6908f}{00566}} \textcolor{preprocessor}{\#define LGE\_PCI\_DEVICE\_ID       0x02}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00567}\mbox{\hyperlink{if__lgereg_8h_ae6bab6b3f717846456566a1770a6dff6}{00567}} \textcolor{preprocessor}{\#define LGE\_PCI\_COMMAND         0x04}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00568}\mbox{\hyperlink{if__lgereg_8h_a302c44e12737037f2c09a59fb726c2fb}{00568}} \textcolor{preprocessor}{\#define LGE\_PCI\_STATUS          0x06}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00569}\mbox{\hyperlink{if__lgereg_8h_ad91b58b47c25689c9c627b96c64d5640}{00569}} \textcolor{preprocessor}{\#define LGE\_PCI\_REVID           0x08}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00570}\mbox{\hyperlink{if__lgereg_8h_ae5b951058058b786c43369f4a1c53359}{00570}} \textcolor{preprocessor}{\#define LGE\_PCI\_CLASSCODE       0x09}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00571}\mbox{\hyperlink{if__lgereg_8h_af9aa4627cbf352d033af7308aae3076f}{00571}} \textcolor{preprocessor}{\#define LGE\_PCI\_CACHELEN        0x0C}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00572}\mbox{\hyperlink{if__lgereg_8h_a461c940bd9c2b1208028ca6b3be314b2}{00572}} \textcolor{preprocessor}{\#define LGE\_PCI\_LATENCY\_TIMER   0x0D}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00573}\mbox{\hyperlink{if__lgereg_8h_a9a45a303249b708d1d43e0dbcd1b2bb9}{00573}} \textcolor{preprocessor}{\#define LGE\_PCI\_HEADER\_TYPE     0x0E}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00574}\mbox{\hyperlink{if__lgereg_8h_aaf49e13403b9dbcb58711e4554a4abc0}{00574}} \textcolor{preprocessor}{\#define LGE\_PCI\_LOIO            0x10}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00575}\mbox{\hyperlink{if__lgereg_8h_a3bb6f54415c2f20cfec1430a375d62c2}{00575}} \textcolor{preprocessor}{\#define LGE\_PCI\_LOMEM           0x14}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00576}\mbox{\hyperlink{if__lgereg_8h_ae4fe49827912df3263a1a07482dac2bc}{00576}} \textcolor{preprocessor}{\#define LGE\_PCI\_BIOSROM         0x30}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00577}\mbox{\hyperlink{if__lgereg_8h_aac7d9eb70be43c8956bd5ffbf227d1b1}{00577}} \textcolor{preprocessor}{\#define LGE\_PCI\_INTLINE         0x3C}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00578}\mbox{\hyperlink{if__lgereg_8h_ae6e7423b8644b7f8ea67c6d682d1c129}{00578}} \textcolor{preprocessor}{\#define LGE\_PCI\_INTPIN          0x3D}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00579}\mbox{\hyperlink{if__lgereg_8h_afe645c787f46883d69c29ade80d16acd}{00579}} \textcolor{preprocessor}{\#define LGE\_PCI\_MINGNT          0x3E}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00580}\mbox{\hyperlink{if__lgereg_8h_a4aa41e9bfc09b3c2ab940e1c70700dee}{00580}} \textcolor{preprocessor}{\#define LGE\_PCI\_MINLAT          0x0F}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00581}\mbox{\hyperlink{if__lgereg_8h_a45f39ad44f92d01fb311831d9a8cc98a}{00581}} \textcolor{preprocessor}{\#define LGE\_PCI\_RESETOPT        0x48}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00582}\mbox{\hyperlink{if__lgereg_8h_aba8f6411bc9665329f5811e57c8a3882}{00582}} \textcolor{preprocessor}{\#define LGE\_PCI\_EEPROM\_DATA     0x4C}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00583}00583 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00584}00584 \textcolor{comment}{/* power management registers */}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00585}\mbox{\hyperlink{if__lgereg_8h_a52c88d570e4db9e09e7e38c9a7e7837e}{00585}} \textcolor{preprocessor}{\#define LGE\_PCI\_CAPID           0x50 }\textcolor{comment}{/* 8 bits */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00586}\mbox{\hyperlink{if__lgereg_8h_aa98702eab00bee89313ae2409194a8b7}{00586}} \textcolor{preprocessor}{\#define LGE\_PCI\_NEXTPTR         0x51 }\textcolor{comment}{/* 8 bits */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00587}\mbox{\hyperlink{if__lgereg_8h_a65eeb8783623addadc693d3e7bb87528}{00587}} \textcolor{preprocessor}{\#define LGE\_PCI\_PWRMGMTCAP      0x52 }\textcolor{comment}{/* 16 bits */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00588}\mbox{\hyperlink{if__lgereg_8h_a7abbff299edf9d971742a4ad38896029}{00588}} \textcolor{preprocessor}{\#define LGE\_PCI\_PWRMGMTCTRL     0x54 }\textcolor{comment}{/* 16 bits */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00589}00589 }
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00590}\mbox{\hyperlink{if__lgereg_8h_a36033d5d5345fa403d8e5b6980788c32}{00590}} \textcolor{preprocessor}{\#define LGE\_PSTATE\_MASK         0x0003}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00591}\mbox{\hyperlink{if__lgereg_8h_a48275ce38cdfaae66f20bd9ff42b1820}{00591}} \textcolor{preprocessor}{\#define LGE\_PSTATE\_D0           0x0000}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00592}\mbox{\hyperlink{if__lgereg_8h_aebabf85abc507c7df569c762c11e7602}{00592}} \textcolor{preprocessor}{\#define LGE\_PSTATE\_D1           0x0001}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00593}\mbox{\hyperlink{if__lgereg_8h_a852fb9340cef82e711afe3db698a9268}{00593}} \textcolor{preprocessor}{\#define LGE\_PSTATE\_D2           0x0002}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00594}\mbox{\hyperlink{if__lgereg_8h_a40c0a60404d6471b60c8d284e271762c}{00594}} \textcolor{preprocessor}{\#define LGE\_PSTATE\_D3           0x0003}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00595}\mbox{\hyperlink{if__lgereg_8h_a645a3968a4b04d1fb25faa153a446e14}{00595}} \textcolor{preprocessor}{\#define LGE\_PME\_EN              0x0010}}
\DoxyCodeLine{\Hypertarget{if__lgereg_8h_source_l00596}\mbox{\hyperlink{if__lgereg_8h_ac7e7613a71316b6ec319fd45189d5ee9}{00596}} \textcolor{preprocessor}{\#define LGE\_PME\_STATUS          0x8000}}

\end{DoxyCode}
