1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef __RTL8712_DEBUGCTRL_BITDEF_H__
8 #define __RTL8712_DEBUGCTRL_BITDEF_H__
9 
10 /*BIST*/
11 #define	_BIST_RST			BIT(0)
12 
13 /*LMS*/
14 #define	_LMS_MSK			0x03
15 
16 /*WDG_CTRL*/
17 #define	_OVSEL_MSK			0x0600
18 #define	_OVSEL_SHT			9
19 #define	_WDGCLR				BIT(8)
20 #define	_WDGEN_MSK			0x00FF
21 #define	_WDGEN_SHT			0
22 
23 /*INTM*/
24 #define	_TXTIMER_MSK		0xF000
25 #define	_TXTIMER_SHT		12
26 #define	_TXNUM_MSK			0x0F00
27 #define	_TXNUM_SHT			8
28 #define	_RXTIMER_MSK		0x00F0
29 #define	_RXTIMER_SHT		4
30 #define	_RXNUM_MSK			0x000F
31 #define	_RXNUM_SHT			0
32 
33 /*FDLOCKTURN0*/
34 /*FDLOCKTURN1*/
35 #define	_TURN1				BIT(0)
36 
37 /*FDLOCKFLAG0*/
38 /*FDLOCKFLAG1*/
39 #define	_LOCKFLAG1_MSK		0x03
40 
41 #endif /* __RTL8712_DEBUGCTRL_BITDEF_H__ */
42