Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ar5008_phy.c File Reference
#include "hw.h"
#include "hw-ops.h"
#include "../regd.h"
#include "ar9002_phy.h"

Go to the source code of this file.

Macros

#define REG_WRITE_RF_ARRAY(iniarray, regData, regWr)   ar5008_write_rf_array(ah, iniarray, regData, &(regWr))
 
#define ATH_ALLOC_BANK(bank, size)
 
#define ATH_FREE_BANK(bank)
 

Functions

void ar5008_hw_attach_phy_ops (struct ath_hw *ah)
 

Macro Definition Documentation

#define ATH_ALLOC_BANK (   bank,
  size 
)
Value:
do { \
bank = kzalloc((sizeof(u32) * size), GFP_KERNEL); \
if (!bank) { \
ath_err(common, "Cannot allocate RF banks\n"); \
return -ENOMEM; \
} \
} while (0);
#define ATH_FREE_BANK (   bank)
Value:
do { \
kfree(bank); \
bank = NULL; \
} while (0);
#define REG_WRITE_RF_ARRAY (   iniarray,
  regData,
  regWr 
)    ar5008_write_rf_array(ah, iniarray, regData, &(regWr))

Definition at line 57 of file ar5008_phy.c.

Function Documentation

void ar5008_hw_attach_phy_ops ( struct ath_hw ah)

Definition at line 1383 of file ar5008_phy.c.