Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
eeprom_def.c File Reference
#include <asm/unaligned.h>
#include "hw.h"
#include "ar9002_phy.h"

Go to the source code of this file.

Macros

#define SIZE_EEPROM_DEF   (sizeof(struct ar5416_eeprom_def) / sizeof(u16))
 
#define XPA_LVL_FREQ(cnt)   (pModal->xpaBiasLvlFreq[cnt])
 
#define NUM_PDADC(diff)   (AR5416_NUM_PDADC_VALUES - diff)
 
#define SM_PD_GAIN(x)   SM(0x38, AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_##x)
 
#define SM_PDGAIN_B(x, y)   SM((gainBoundaries[x]), AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_##y)
 
#define RT_AR_DELTA(x)   (ratesArray[x] - cck_ofdm_delta)
 
#define EEP_DEF_SPURCHAN   (ah->eeprom.def.modalHeader[is2GHz].spurChans[i].spurChan)
 

Variables

struct eeprom_ops eep_def_ops
 

Macro Definition Documentation

#define EEP_DEF_SPURCHAN   (ah->eeprom.def.modalHeader[is2GHz].spurChans[i].spurChan)
#define NUM_PDADC (   diff)    (AR5416_NUM_PDADC_VALUES - diff)
#define RT_AR_DELTA (   x)    (ratesArray[x] - cck_ofdm_delta)
#define SIZE_EEPROM_DEF   (sizeof(struct ar5416_eeprom_def) / sizeof(u16))

Definition at line 90 of file eeprom_def.c.

#define SM_PD_GAIN (   x)    SM(0x38, AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_##x)
#define SM_PDGAIN_B (   x,
  y 
)    SM((gainBoundaries[x]), AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_##y)
#define XPA_LVL_FREQ (   cnt)    (pModal->xpaBiasLvlFreq[cnt])

Variable Documentation

struct eeprom_ops eep_def_ops
Initial value:
= {
.check_eeprom = ath9k_hw_def_check_eeprom,
.get_eeprom = ath9k_hw_def_get_eeprom,
.fill_eeprom = ath9k_hw_def_fill_eeprom,
.dump_eeprom = ath9k_hw_def_dump_eeprom,
.get_eeprom_ver = ath9k_hw_def_get_eeprom_ver,
.get_eeprom_rev = ath9k_hw_def_get_eeprom_rev,
.set_board_values = ath9k_hw_def_set_board_values,
.set_addac = ath9k_hw_def_set_addac,
.set_txpower = ath9k_hw_def_set_txpower,
.get_spur_channel = ath9k_hw_def_get_spur_channel
}

Definition at line 1382 of file eeprom_def.c.