Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
htc_drv_debug.c File Reference
#include "htc.h"

Go to the source code of this file.

Macros

#define RX_PHY_ERR_INC(c)   priv->debug.rx_stats.err_phy_stats[c]++
 
#define PHY_ERR(s, p)
 
#define PR_EEP(_s, _val)
 
#define PR_EEP(_s, _val)
 
#define PR_EEP(_s, _val)
 

Functions

void ath9k_htc_err_stat_rx (struct ath9k_htc_priv *priv, struct ath_htc_rx_status *rxs)
 
int ath9k_htc_init_debug (struct ath_hw *ah)
 

Macro Definition Documentation

#define PHY_ERR (   s,
  p 
)
Value:
len += snprintf(buf + len, size - len, "%20s : %10u\n", s, \
priv->debug.rx_stats.err_phy_stats[p]);
#define PR_EEP (   _s,
  _val 
)
Value:
do { \
len += snprintf(buf + len, size - len, "%20s : %10d\n", \
_s, (_val)); \
} while (0)
#define PR_EEP (   _s,
  _val 
)
Value:
do { \
if (pBase->opCapFlags & AR5416_OPFLAGS_11G) { \
pModal = &priv->ah->eeprom.def.modalHeader[1]; \
len += snprintf(buf + len, size - len, "%20s : %8d%7s", \
_s, (_val), "|"); \
} \
if (pBase->opCapFlags & AR5416_OPFLAGS_11A) { \
pModal = &priv->ah->eeprom.def.modalHeader[0]; \
len += snprintf(buf + len, size - len, "%9d\n", \
(_val)); \
} \
} while (0)
#define PR_EEP (   _s,
  _val 
)
Value:
do { \
len += snprintf(buf + len, size - len, "%20s : %10d\n", \
_s, (_val)); \
} while (0)
#define RX_PHY_ERR_INC (   c)    priv->debug.rx_stats.err_phy_stats[c]++

Function Documentation

void ath9k_htc_err_stat_rx ( struct ath9k_htc_priv priv,
struct ath_htc_rx_status rxs 
)

Definition at line 245 of file htc_drv_debug.c.

int ath9k_htc_init_debug ( struct ath_hw ah)

Definition at line 919 of file htc_drv_debug.c.