video: rockchip: tve: support rk3228
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723bu / hal / OUTSRC / rtl8723b / odm_RegConfig8723B.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17  *
18  *
19  ******************************************************************************/
20 #ifndef __INC_ODM_REGCONFIG_H_8723B
21 #define __INC_ODM_REGCONFIG_H_8723B
22  
23 #if (RTL8723B_SUPPORT == 1)
24
25 void
26 odm_ConfigRFReg_8723B(
27         IN      PDM_ODM_T                               pDM_Odm,
28         IN      u4Byte                                  Addr,
29         IN      u4Byte                                  Data,
30         IN  ODM_RF_RADIO_PATH_E     RF_PATH,
31         IN      u4Byte                              RegAddr
32         );
33
34 void 
35 odm_ConfigRF_RadioA_8723B(
36         IN      PDM_ODM_T                               pDM_Odm,
37         IN      u4Byte                                  Addr,
38         IN      u4Byte                                  Data
39         );
40
41 void 
42 odm_ConfigRF_RadioB_8723B(
43         IN      PDM_ODM_T                               pDM_Odm,
44         IN      u4Byte                                  Addr,
45         IN      u4Byte                                  Data
46         );
47
48 void 
49 odm_ConfigMAC_8723B(
50         IN      PDM_ODM_T       pDM_Odm,
51         IN      u4Byte          Addr,
52         IN      u1Byte          Data
53         );
54
55 void 
56 odm_ConfigBB_AGC_8723B(
57     IN  PDM_ODM_T       pDM_Odm,
58     IN  u4Byte          Addr,
59     IN  u4Byte          Bitmask,
60     IN  u4Byte          Data
61     );
62
63 void
64 odm_ConfigBB_PHY_REG_PG_8723B(
65         IN      PDM_ODM_T       pDM_Odm,
66         IN      u4Byte          Band,
67         IN      u4Byte          RfPath,
68         IN      u4Byte          TxNum,
69     IN  u4Byte          Addr,
70     IN  u4Byte          Bitmask,
71     IN  u4Byte          Data
72     );
73
74 void 
75 odm_ConfigBB_PHY_8723B(
76         IN      PDM_ODM_T       pDM_Odm,
77     IN  u4Byte          Addr,
78     IN  u4Byte          Bitmask,
79     IN  u4Byte          Data
80     );
81
82 void
83 odm_ConfigBB_TXPWR_LMT_8723B(
84         IN      PDM_ODM_T       pDM_Odm,
85         IN      pu1Byte         Regulation,
86         IN      pu1Byte         Band,
87         IN      pu1Byte         Bandwidth,
88         IN      pu1Byte         RateSection,
89         IN      pu1Byte         RfPath,
90         IN      pu1Byte         Channel,
91         IN      pu1Byte         PowerLimit
92     );
93
94 #endif
95 #endif // end of SUPPORT
96