Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux...
[deliverable/linux.git] / drivers / staging / rtl8712 / rtl8712_powersave_bitdef.h
CommitLineData
0e54f609
AB
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 ******************************************************************************/
2865d42c
LF
20#ifndef __RTL8712_POWERSAVE_BITDEF_H__
21#define __RTL8712_POWERSAVE_BITDEF_H__
22
23/*WOWCTRL*/
24#define _UWF BIT(3)
25#define _MAGIC BIT(2)
26#define _WOW_EN BIT(1)
27#define _PMEN BIT(0)
28
29/*PSSTATUS*/
30#define _PSSTATUS_SEL_MSK 0x0F
31
32/*PSSWITCH*/
33#define _PSSWITCH_ACT BIT(7)
34#define _PSSWITCH_SEL_MSK 0x0F
35#define _PSSWITCH_SEL_SHT 0
36
37/*LPNAV_CTRL*/
38#define _LPNAV_EN BIT(31)
39#define _LPNAV_EARLY_MSK 0x7FFF0000
40#define _LPNAV_EARLY_SHT 16
41#define _LPNAV_TH_MSK 0x0000FFFF
42#define _LPNAV_TH_SHT 0
43
44/*RPWM*/
45/*CPWM*/
46#define _TOGGLING BIT(7)
47#define _WWLAN BIT(3)
48#define _RPS_ST BIT(2)
49#define _WLAN_TRX BIT(1)
50#define _SYS_CLK BIT(0)
51
52#endif /* __RTL8712_POWERSAVE_BITDEF_H__*/
This page took 0.297107 seconds and 5 git commands to generate.