Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
r8180_rtl8225.h
Go to the documentation of this file.
1 /*
2  This is part of the rtl8180-sa2400 driver
3  released under the GPL (See file COPYING for details).
4  Copyright (c) 2005 Andrea Merello <[email protected]>
5 
6  This files contains programming code for the rtl8225
7  radio frontend.
8 
9  *Many* thanks to Realtek Corp. for their great support!
10 
11 */
12 
13 #include "r8180.h"
14 
15 #define RTL8225_ANAPARAM_ON 0xa0000b59
16 #define RTL8225_ANAPARAM_OFF 0xa00beb59
17 #define RTL8225_ANAPARAM2_OFF 0x840dec11
18 #define RTL8225_ANAPARAM2_ON 0x860dec11
19 #define RTL8225_ANAPARAM_SLEEP 0xa00bab59
20 #define RTL8225_ANAPARAM2_SLEEP 0x840dec11
21 
22 void rtl8225z2_rf_init(struct net_device *dev);
23 void rtl8225z2_rf_set_chan(struct net_device *dev, short ch);
24 void rtl8225z2_rf_close(struct net_device *dev);
25 
26 void RF_WriteReg(struct net_device *dev, u8 offset, u32 data);
28 
29 void rtl8180_set_mode(struct net_device *dev, int mode);
30 void rtl8180_set_mode(struct net_device *dev, int mode);
32 void rtl8225z4_rf_sleep(struct net_device *dev);
33 void rtl8225z4_rf_wakeup(struct net_device *dev);
34