Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / rtl8712 / rtl8712_debugctrl_bitdef.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2010 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 __RTL8712_DEBUGCTRL_BITDEF_H__
21 #define __RTL8712_DEBUGCTRL_BITDEF_H__
22
23 /*BIST*/
24 #define _BIST_RST                       BIT(0)
25
26 /*LMS*/
27 #define _LMS_MSK                        0x03
28
29 /*WDG_CTRL*/
30 #define _OVSEL_MSK                      0x0600
31 #define _OVSEL_SHT                      9
32 #define _WDGCLR                         BIT(8)
33 #define _WDGEN_MSK                      0x00FF
34 #define _WDGEN_SHT                      0
35
36 /*INTM*/
37 #define _TXTIMER_MSK            0xF000
38 #define _TXTIMER_SHT            12
39 #define _TXNUM_MSK                      0x0F00
40 #define _TXNUM_SHT                      8
41 #define _RXTIMER_MSK            0x00F0
42 #define _RXTIMER_SHT            4
43 #define _RXNUM_MSK                      0x000F
44 #define _RXNUM_SHT                      0
45
46 /*FDLOCKTURN0*/
47 /*FDLOCKTURN1*/
48 #define _TURN1                          BIT(0)
49
50 /*FDLOCKFLAG0*/
51 /*FDLOCKFLAG1*/
52 #define _LOCKFLAG1_MSK          0x03
53
54
55 #endif /* __RTL8712_DEBUGCTRL_BITDEF_H__ */