Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
debug.c File Reference
#include <linux/export.h>
#include <linux/moduleparam.h>
#include <linux/seq_file.h>
#include <linux/list.h>
#include "debug.h"
#include "ath5k.h"
#include "reg.h"
#include "base.h"

Go to the source code of this file.

Data Structures

struct  reg
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define REG_STRUCT_INIT(r)   { #r, r }
 
#define CC_PRINT(_struct, _field)
 

Functions

 module_param_named (debug, ath5k_debug, uint, 0)
 
void ath5k_debug_init_device (struct ath5k_hw *ah)
 
void ath5k_debug_dump_bands (struct ath5k_hw *ah)
 
void ath5k_debug_printrxbuffs (struct ath5k_hw *ah)
 
void ath5k_debug_printtxbuf (struct ath5k_hw *ah, struct ath5k_buf *bf)
 

Macro Definition Documentation

#define CC_PRINT (   _struct,
  _field 
)
Value:
_struct._field, \
_struct.cycles > 0 ? \
_struct._field * 100 / _struct.cycles : 0
#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 61 of file debug.c.

#define REG_STRUCT_INIT (   r)    { #r, r }

Definition at line 84 of file debug.c.

Function Documentation

void ath5k_debug_dump_bands ( struct ath5k_hw ah)

Definition at line 927 of file debug.c.

void ath5k_debug_init_device ( struct ath5k_hw ah)

Definition at line 887 of file debug.c.

void ath5k_debug_printrxbuffs ( struct ath5k_hw ah)

Definition at line 987 of file debug.c.

void ath5k_debug_printtxbuf ( struct ath5k_hw ah,
struct ath5k_buf bf 
)

Definition at line 1011 of file debug.c.

module_param_named ( debug  ,
ath5k_debug  ,
uint  ,
 
)

Variable Documentation

Definition at line 295 of file debug.c.

enum ath5k_debug_level level

Definition at line 293 of file debug.c.

const char* name

Definition at line 294 of file debug.c.