rcu: Provide API to suppress stall warnings while sysrc runs
[pandora-kernel.git] / drivers / staging / rtl8187se / r8180_rtl8225.h
1 /*
2  * This is part of the rtl8180-sa2400 driver released under the GPL (See file
3  * COPYING for details).
4  *
5  * Copyright (c) 2005 Andrea Merello <andrea.merello@gmail.com>
6  *
7  * This files contains programming code for the rtl8225 radio frontend.
8  *
9  * *Many* thanks to Realtek Corp. for their great support!
10  */
11
12 #include "r8180.h"
13
14 #define RTL8225_ANAPARAM_ON  0xa0000b59
15 #define RTL8225_ANAPARAM_OFF 0xa00beb59
16 #define RTL8225_ANAPARAM2_OFF 0x840dec11
17 #define RTL8225_ANAPARAM2_ON  0x860dec11
18 #define RTL8225_ANAPARAM_SLEEP 0xa00bab59
19 #define RTL8225_ANAPARAM2_SLEEP 0x840dec11
20
21 void rtl8225z2_rf_init(struct net_device *dev);
22 void rtl8225z2_rf_set_chan(struct net_device *dev, short ch);
23 void rtl8225z2_rf_close(struct net_device *dev);
24
25 void RF_WriteReg(struct net_device *dev, u8 offset, u16 data);
26 u16 RF_ReadReg(struct net_device *dev, u8 offset);
27
28 void rtl8180_set_mode(struct net_device *dev, int mode);
29 void rtl8180_set_mode(struct net_device *dev, int mode);
30 bool SetZebraRFPowerState8185(struct net_device *dev,
31                               enum rt_rf_power_state eRFPowerState);
32 void rtl8225z4_rf_sleep(struct net_device *dev);
33 void rtl8225z4_rf_wakeup(struct net_device *dev);
34