Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
debug.h File Reference
#include "eeprom.h"
#include "wlan.h"
#include "hw.h"
#include "fwdesc.h"
#include "fwcmd.h"
#include "../regd.h"

Go to the source code of this file.

Data Structures

struct  hw_stat_reg_entry
 
struct  ath_stats
 
struct  carl9170_debug_mem_rbe
 
struct  carl9170_debug
 

Macros

#define STAT_MAC_REG(reg)   { (AR9170_MAC_REG_##reg), #reg }
 
#define STAT_PTA_REG(reg)   { (AR9170_PTA_REG_##reg), #reg }
 
#define STAT_USB_REG(reg)   { (AR9170_USB_REG_##reg), #reg }
 
#define DEFINE_TALLY(name)
 
#define DEFINE_STAT(name)   u32 name##_counter[ARRAY_SIZE(name##_regs)] \
 
#define CARL9170_DEBUG_RING_SIZE   64
 

Functions

void carl9170_debugfs_register (struct ar9170 *ar)
 
void carl9170_debugfs_unregister (struct ar9170 *ar)
 

Macro Definition Documentation

#define CARL9170_DEBUG_RING_SIZE   64

Definition at line 120 of file debug.h.

#define DEFINE_STAT (   name)    u32 name##_counter[ARRAY_SIZE(name##_regs)] \

Definition at line 103 of file debug.h.

#define DEFINE_TALLY (   name)
Value:
u32 name##_sum[ARRAY_SIZE(name##_regs)], \
name##_counter[ARRAY_SIZE(name##_regs)] \

Definition at line 99 of file debug.h.

#define STAT_MAC_REG (   reg)    { (AR9170_MAC_REG_##reg), #reg }

Definition at line 53 of file debug.h.

#define STAT_PTA_REG (   reg)    { (AR9170_PTA_REG_##reg), #reg }

Definition at line 56 of file debug.h.

#define STAT_USB_REG (   reg)    { (AR9170_USB_REG_##reg), #reg }

Definition at line 59 of file debug.h.

Function Documentation

void carl9170_debugfs_register ( struct ar9170 ar)

Definition at line 824 of file debug.c.

void carl9170_debugfs_unregister ( struct ar9170 ar)

Definition at line 894 of file debug.c.