|
iPXE
|
Go to the source code of this file.
Macros | |
| #define | RTL8225_ANAPARAM_ON 0xa0000b59 |
| #define | RTL8225_ANAPARAM2_ON 0x860dec11 |
| #define | RTL8225_ANAPARAM_OFF 0xa00beb59 |
| #define | RTL8225_ANAPARAM2_OFF 0x840dec11 |
| #define | min(a, b) |
Functions | |
| FILE_LICENCE (GPL2_ONLY) | |
| FILE_SECBOOT (FORBIDDEN) | |
| static void | rtl8225_write_phy_ofdm (struct net80211_device *dev, u8 addr, u8 data) |
| static void | rtl8225_write_phy_cck (struct net80211_device *dev, u8 addr, u8 data) |
| static void | rtl8225_write (struct net80211_device *dev, u8 addr, u16 data) |
| static u16 | rtl8225_read (struct net80211_device *dev, u8 addr) |
| static void | rtl8225_rf_set_tx_power (struct net80211_device *dev, int channel) |
| static void | rtl8225_rf_init (struct net80211_device *dev) |
| static void | rtl8225z2_rf_set_tx_power (struct net80211_device *dev, int channel) |
| static void | rtl8225z2_rf_init (struct net80211_device *dev) |
| static void | rtl8225x_rf_init (struct net80211_device *dev) |
| static void | rtl8225_rf_stop (struct net80211_device *dev) |
| static void | rtl8225_rf_set_channel (struct net80211_device *dev, struct net80211_channel *channelp) |
| static void | rtl8225_rf_conf_erp (struct net80211_device *dev) |
Variables | |
| static const u16 | rtl8225bcd_rxgain [] |
| static const u8 | rtl8225_agc [] |
| static const u8 | rtl8225_gain [] |
| static const u8 | rtl8225_threshold [] |
| static const u8 | rtl8225_tx_gain_cck_ofdm [] |
| static const u8 | rtl8225_tx_power_cck [] |
| static const u8 | rtl8225_tx_power_cck_ch14 [] |
| static const u8 | rtl8225_tx_power_ofdm [] |
| static const u32 | rtl8225_chan [] |
| static const u8 | rtl8225z2_tx_power_cck_ch14 [] |
| static const u8 | rtl8225z2_tx_power_cck_B [] |
| static const u8 | rtl8225z2_tx_power_cck_A [] |
| static const u8 | rtl8225z2_tx_power_cck [] |
| static const u16 | rtl8225z2_rxgain [] |
| struct rtl818x_rf_ops rtl8225_ops | __rtl818x_rf_driver |
| #define RTL8225_ANAPARAM_ON 0xa0000b59 |
Definition at line 28 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init(), and rtl8225z2_rf_init().
| #define RTL8225_ANAPARAM2_ON 0x860dec11 |
Definition at line 29 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
| #define RTL8225_ANAPARAM_OFF 0xa00beb59 |
Definition at line 30 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_stop().
| #define RTL8225_ANAPARAM2_OFF 0x840dec11 |
Definition at line 31 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_stop().
| #define min | ( | a, | |
| b ) |
Definition at line 33 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power(), and rtl8225z2_rf_set_tx_power().
| FILE_LICENCE | ( | GPL2_ONLY | ) |
| FILE_SECBOOT | ( | FORBIDDEN | ) |
|
inlinestatic |
Definition at line 35 of file rtl8185_rtl8225.c.
References addr, data, rtl818x_write_phy(), and u8.
Referenced by rtl8225_rf_init(), rtl8225_rf_set_tx_power(), rtl8225z2_rf_init(), and rtl8225z2_rf_set_tx_power().
|
inlinestatic |
Definition at line 41 of file rtl8185_rtl8225.c.
References addr, data, rtl818x_write_phy(), and u8.
Referenced by rtl8225_rf_init(), rtl8225_rf_set_tx_power(), rtl8225z2_rf_init(), and rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 47 of file rtl8185_rtl8225.c.
References addr, data, net80211_device::priv, priv, reg, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), u16, u32, u8, and udelay().
Referenced by rtl8225_rf_init(), rtl8225_rf_set_channel(), rtl8225_rf_stop(), rtl8225x_rf_init(), and rtl8225z2_rf_init().
|
static |
Definition at line 95 of file rtl8185_rtl8225.c.
References addr, out, net80211_device::priv, priv, reg, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), u16, u8, and udelay().
Referenced by rtl8225x_rf_init(), and rtl8225z2_rf_init().
|
static |
Definition at line 277 of file rtl8185_rtl8225.c.
References channel, mdelay(), min, net80211_device::priv, priv, reg, RTL818X_CONFIG3_ANAPARAM_WRITE, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread8(), rtl818x_iowrite32(), rtl818x_iowrite8(), RTL8225_ANAPARAM2_ON, rtl8225_tx_gain_cck_ofdm, rtl8225_tx_power_cck, rtl8225_tx_power_cck_ch14, rtl8225_tx_power_ofdm, rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), tmp, u32, and u8.
Referenced by rtl8225_rf_init(), and rtl8225_rf_set_channel().
|
static |
Definition at line 323 of file rtl8185_rtl8225.c.
References ARRAY_SIZE, mdelay(), net80211_device::priv, priv, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), rtl818x_iowrite32(), rtl818x_iowrite8(), rtl818x_set_anaparam(), rtl8225_agc, RTL8225_ANAPARAM_ON, rtl8225_chan, rtl8225_gain, rtl8225_rf_set_tx_power(), rtl8225_threshold, rtl8225_write(), rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), rtl8225bcd_rxgain, u32, and u8.
Referenced by rtl8225x_rf_init().
|
static |
Definition at line 493 of file rtl8185_rtl8225.c.
References channel, mdelay(), min, net80211_device::priv, priv, rtl818x_ioread8(), rtl818x_iowrite8(), rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), rtl8225z2_tx_power_cck, rtl8225z2_tx_power_cck_A, rtl8225z2_tx_power_cck_B, rtl8225z2_tx_power_cck_ch14, tmp, and u8.
Referenced by rtl8225_rf_set_channel(), and rtl8225z2_rf_init().
|
static |
Definition at line 552 of file rtl8185_rtl8225.c.
References ARRAY_SIZE, mdelay(), net80211_device::priv, priv, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), rtl818x_iowrite32(), rtl818x_iowrite8(), rtl818x_set_anaparam(), rtl8225_agc, RTL8225_ANAPARAM_ON, rtl8225_read(), rtl8225_write(), rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), rtl8225z2_rf_set_tx_power(), rtl8225z2_rxgain, u32, and u8.
Referenced by rtl8225x_rf_init().
|
static |
Definition at line 720 of file rtl8185_rtl8225.c.
References mdelay(), net80211_device::priv, priv, rtl818x_ioread8(), rtl818x_iowrite16(), rtl8225_read(), rtl8225_rf_init(), rtl8225_write(), rtl8225z2_rf_init(), and u16.
|
static |
Definition at line 747 of file rtl8185_rtl8225.c.
References mdelay(), net80211_device::priv, priv, reg, RTL818X_CONFIG3_ANAPARAM_WRITE, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread8(), rtl818x_iowrite32(), rtl818x_iowrite8(), RTL8225_ANAPARAM2_OFF, RTL8225_ANAPARAM_OFF, rtl8225_write(), and u8.
|
static |
Definition at line 763 of file rtl8185_rtl8225.c.
References net80211_channel::channel_nr, mdelay(), net80211_device::priv, priv, rtl8225_chan, rtl8225_rf_set_tx_power(), rtl8225_write(), and rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 778 of file rtl8185_rtl8225.c.
References NET80211_PHY_USE_SHORT_SLOT, net80211_device::phy_flags, net80211_device::priv, priv, and rtl818x_iowrite8().
|
static |
Definition at line 198 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init().
|
static |
Definition at line 213 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init(), and rtl8225z2_rf_init().
|
static |
Definition at line 232 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init().
|
static |
Definition at line 242 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init().
|
static |
Definition at line 246 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 250 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 259 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 268 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 272 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init(), and rtl8225_rf_set_channel().
|
static |
Definition at line 477 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 481 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 485 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 489 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 537 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_init().
| struct rtl818x_rf_ops rtl8225_ops __rtl818x_rf_driver |
Definition at line 797 of file rtl8185_rtl8225.c.