ALSA: hda - Tweak OLPC XO-1.5 microphone bias
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / rtl8187se / r8180_rtl8225.h
blob458de6629ad0746b317b02b6992a7262d9d08a24
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 <andreamrl@tiscali.it>
6 This files contains programming code for the rtl8225
7 radio frontend.
9 *Many* thanks to Realtek Corp. for their great support!
13 #include "r8180.h"
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
22 #ifdef CONFIG_RTL8185B
23 void rtl8225z2_rf_init(struct net_device *dev);
24 void rtl8225z2_rf_set_chan(struct net_device *dev,short ch);
25 void rtl8225z2_rf_close(struct net_device *dev);
27 void rtl8225_host_pci_init(struct net_device *dev);
28 void rtl8225_host_usb_init(struct net_device *dev);
30 void write_rtl8225(struct net_device *dev, u8 adr, u16 data);
31 void RF_WriteReg(struct net_device *dev, u8 offset, u32 data);
32 u32 RF_ReadReg(struct net_device *dev, u8 offset);
33 #endif
34 void rtl8225_rf_init(struct net_device *dev);
35 void rtl8225_rf_set_chan(struct net_device *dev,short ch);
36 void rtl8225_rf_close(struct net_device *dev);
37 void rtl8225_rf_sleep(struct net_device *dev);
38 void rtl8225_rf_wakeup(struct net_device *dev);
39 void rtl8180_set_mode(struct net_device *dev,int mode);
40 void rtl8180_set_mode(struct net_device *dev,int mode);
41 bool SetZebraRFPowerState8185(struct net_device *dev,RT_RF_POWER_STATE eRFPowerState);
42 void rtl8225z4_rf_sleep(struct net_device *dev);
43 void rtl8225z4_rf_wakeup(struct net_device *dev);