mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
e24c1f8658
This satisfies a checkpatch warning and is the preferred method for notating the license. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
41 lines
950 B
C
41 lines
950 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/******************************************************************************
|
|
*
|
|
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
|
|
*
|
|
******************************************************************************/
|
|
#ifndef __RTL8712_DEBUGCTRL_BITDEF_H__
|
|
#define __RTL8712_DEBUGCTRL_BITDEF_H__
|
|
|
|
/*BIST*/
|
|
#define _BIST_RST BIT(0)
|
|
|
|
/*LMS*/
|
|
#define _LMS_MSK 0x03
|
|
|
|
/*WDG_CTRL*/
|
|
#define _OVSEL_MSK 0x0600
|
|
#define _OVSEL_SHT 9
|
|
#define _WDGCLR BIT(8)
|
|
#define _WDGEN_MSK 0x00FF
|
|
#define _WDGEN_SHT 0
|
|
|
|
/*INTM*/
|
|
#define _TXTIMER_MSK 0xF000
|
|
#define _TXTIMER_SHT 12
|
|
#define _TXNUM_MSK 0x0F00
|
|
#define _TXNUM_SHT 8
|
|
#define _RXTIMER_MSK 0x00F0
|
|
#define _RXTIMER_SHT 4
|
|
#define _RXNUM_MSK 0x000F
|
|
#define _RXNUM_SHT 0
|
|
|
|
/*FDLOCKTURN0*/
|
|
/*FDLOCKTURN1*/
|
|
#define _TURN1 BIT(0)
|
|
|
|
/*FDLOCKFLAG0*/
|
|
/*FDLOCKFLAG1*/
|
|
#define _LOCKFLAG1_MSK 0x03
|
|
|
|
#endif /* __RTL8712_DEBUGCTRL_BITDEF_H__ */
|