audit: complex interfield comparison helper
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / rtl8712 / rtl8712_debugctrl_bitdef.h
blob8bd483795ca4a9970ee91fab3f54b4995447e5fe
1 /******************************************************************************
3 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
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.
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.
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
19 ******************************************************************************/
20 #ifndef __RTL8712_DEBUGCTRL_BITDEF_H__
21 #define __RTL8712_DEBUGCTRL_BITDEF_H__
23 /*BIST*/
24 #define _BIST_RST BIT(0)
26 /*LMS*/
27 #define _LMS_MSK 0x03
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
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
46 /*FDLOCKTURN0*/
47 /*FDLOCKTURN1*/
48 #define _TURN1 BIT(0)
50 /*FDLOCKFLAG0*/
51 /*FDLOCKFLAG1*/
52 #define _LOCKFLAG1_MSK 0x03
55 #endif /* __RTL8712_DEBUGCTRL_BITDEF_H__ */