forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192de/reg.h
....@@ -1,27 +1,5 @@
1
-/******************************************************************************
2
- *
3
- * Copyright(c) 2009-2012 Realtek Corporation.
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of version 2 of the GNU General Public License as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope that it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
- * more details.
13
- *
14
- * The full GNU General Public License is included in this distribution in the
15
- * file called LICENSE.
16
- *
17
- * Contact Information:
18
- * wlanfae <wlanfae@realtek.com>
19
- * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20
- * Hsinchu 300, Taiwan.
21
- *
22
- * Larry Finger <Larry.Finger@lwfinger.net>
23
- *
24
- *****************************************************************************/
1
+/* SPDX-License-Identifier: GPL-2.0 */
2
+/* Copyright(c) 2009-2012 Realtek Corporation.*/
253
264 #ifndef __RTL92D_REG_H__
275 #define __RTL92D_REG_H__
....@@ -752,7 +730,7 @@
752730
753731 /* SYS_FUNC_EN */
754732 #define FEN_BBRSTB BIT(0)
755
-#define FEN_BB_GLB_RSTn BIT(1)
733
+#define FEN_BB_GLB_RSTN BIT(1)
756734 #define FEN_USBA BIT(2)
757735 #define FEN_UPLL BIT(3)
758736 #define FEN_USBD BIT(4)
....@@ -773,7 +751,7 @@
773751 #define PFM_ALDN BIT(1)
774752 #define PFM_LDKP BIT(2)
775753 #define PFM_WOWL BIT(3)
776
-#define EnPDN BIT(4)
754
+#define ENPDN BIT(4)
777755 #define PDN_PL BIT(5)
778756 #define APFM_ONMAC BIT(8)
779757 #define APFM_OFF BIT(9)
....@@ -910,7 +888,7 @@
910888 /* MCUFWDL */
911889 #define MCUFWDL_EN BIT(0)
912890 #define MCUFWDL_RDY BIT(1)
913
-#define FWDL_ChkSum_rpt BIT(2)
891
+#define FWDL_CHKSUM_RPT BIT(2)
914892 #define MACINI_RDY BIT(3)
915893 #define BBINI_RDY BIT(4)
916894 #define RFINI_RDY BIT(5)
....@@ -1033,7 +1011,7 @@
10331011 #define RFPGA0_XA_LSSIPARAMETER 0x840
10341012 #define RFPGA0_XB_LSSIPARAMETER 0x844
10351013
1036
-#define RFPGA0_RFWAkEUPPARAMETER 0x850
1014
+#define RFPGA0_RFWAKEUPPARAMETER 0x850
10371015 #define RFPGA0_RFSLEEPUPPARAMETER 0x854
10381016
10391017 #define RFPGA0_XAB_SWITCHCONTROL 0x858
....@@ -1135,14 +1113,14 @@
11351113 #define ROFDM0_AGCRSSITABLE 0xc78
11361114 #define ROFDM0_HTSTFAGC 0xc7c
11371115
1138
-#define ROFDM0_XATxIQIMBALANCE 0xc80
1139
-#define ROFDM0_XATxAFE 0xc84
1140
-#define ROFDM0_XBTxIQIMBALANCE 0xc88
1141
-#define ROFDM0_XBTxAFE 0xc8c
1142
-#define ROFDM0_XCTxIQIMBALANCE 0xc90
1143
-#define ROFDM0_XCTxAFE 0xc94
1144
-#define ROFDM0_XDTxIQIMBALANCE 0xc98
1145
-#define ROFDM0_XDTxAFE 0xc9c
1116
+#define ROFDM0_XATXIQIMBALANCE 0xc80
1117
+#define ROFDM0_XATXAFE 0xc84
1118
+#define ROFDM0_XBTXIQIMBALANCE 0xc88
1119
+#define ROFDM0_XBTXAFE 0xc8c
1120
+#define ROFDM0_XCTXIQIMBALANCE 0xc90
1121
+#define ROFDM0_XCTXAFE 0xc94
1122
+#define ROFDM0_XDTXIQIMBALANCE 0xc98
1123
+#define ROFDM0_XDTXAFE 0xc9c
11461124
11471125 #define ROFDM0_RXHPPARAMETER 0xce0
11481126 #define ROFDM0_TXPSEUDONOISEWGT 0xce4
....@@ -1186,7 +1164,7 @@
11861164 #define ROFDM_AGCREPORT 0xdd0
11871165 #define ROFDM_RXSNR 0xdd4
11881166 #define ROFDM_RXEVMCSI 0xdd8
1189
-#define ROFDM_SIGReport 0xddc
1167
+#define ROFDM_SIGREPORT 0xddc
11901168
11911169 /* 8. PageE(0xE00) */
11921170 #define RTXAGC_A_RATE18_06 0xe00
....@@ -1228,7 +1206,7 @@
12281206 #define RF_IPA 0x15
12291207 #define RF_POW_ABILITY 0x17
12301208 #define RF_MODE_AG 0x18
1231
-#define rRfChannel 0x18
1209
+#define rfchannel 0x18
12321210 #define RF_CHNLBW 0x18
12331211 #define RF_TOP 0x19
12341212