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

Go to the source code of this file.

Macros

#define ath6kl_info(fmt,...)   ath6kl_printk(KERN_INFO, fmt, ##__VA_ARGS__)
 
#define ath6kl_err(fmt,...)   ath6kl_printk(KERN_ERR, fmt, ##__VA_ARGS__)
 
#define ath6kl_warn(fmt,...)   ath6kl_printk(KERN_WARNING, fmt, ##__VA_ARGS__)
 

Enumerations

enum  ATH6K_DEBUG_MASK {
  ATH6KL_DBG_CREDIT = BIT(0), ATH6KL_DBG_WLAN_TX = BIT(2), ATH6KL_DBG_WLAN_RX = BIT(3), ATH6KL_DBG_BMI = BIT(4),
  ATH6KL_DBG_HTC = BIT(5), ATH6KL_DBG_HIF = BIT(6), ATH6KL_DBG_IRQ = BIT(7), ATH6KL_DBG_WMI = BIT(10),
  ATH6KL_DBG_TRC = BIT(11), ATH6KL_DBG_SCATTER = BIT(12), ATH6KL_DBG_WLAN_CFG = BIT(13), ATH6KL_DBG_RAW_BYTES = BIT(14),
  ATH6KL_DBG_AGGR = BIT(15), ATH6KL_DBG_SDIO = BIT(16), ATH6KL_DBG_SDIO_DUMP = BIT(17), ATH6KL_DBG_BOOT = BIT(18),
  ATH6KL_DBG_WMI_DUMP = BIT(19), ATH6KL_DBG_SUSPEND = BIT(20), ATH6KL_DBG_USB = BIT(21), ATH6KL_DBG_USB_BULK = BIT(22),
  ATH6KL_DBG_ANY = 0xffffffff
}
 
enum  ath6kl_war { ATH6KL_WAR_INVALID_RATE }
 

Functions

 __printf (2, 3) int ath6kl_printk(const char *level
 

Variables

unsigned int debug_mask
 
const charfmt
 

Macro Definition Documentation

#define ath6kl_err (   fmt,
  ... 
)    ath6kl_printk(KERN_ERR, fmt, ##__VA_ARGS__)

Definition at line 56 of file debug.h.

#define ath6kl_info (   fmt,
  ... 
)    ath6kl_printk(KERN_INFO, fmt, ##__VA_ARGS__)

Definition at line 54 of file debug.h.

#define ath6kl_warn (   fmt,
  ... 
)    ath6kl_printk(KERN_WARNING, fmt, ##__VA_ARGS__)

Definition at line 58 of file debug.h.

Enumeration Type Documentation

Enumerator:
ATH6KL_DBG_CREDIT 
ATH6KL_DBG_WLAN_TX 
ATH6KL_DBG_WLAN_RX 
ATH6KL_DBG_BMI 
ATH6KL_DBG_HTC 
ATH6KL_DBG_HIF 
ATH6KL_DBG_IRQ 
ATH6KL_DBG_WMI 
ATH6KL_DBG_TRC 
ATH6KL_DBG_SCATTER 
ATH6KL_DBG_WLAN_CFG 
ATH6KL_DBG_RAW_BYTES 
ATH6KL_DBG_AGGR 
ATH6KL_DBG_SDIO 
ATH6KL_DBG_SDIO_DUMP 
ATH6KL_DBG_BOOT 
ATH6KL_DBG_WMI_DUMP 
ATH6KL_DBG_SUSPEND 
ATH6KL_DBG_USB 
ATH6KL_DBG_USB_BULK 
ATH6KL_DBG_ANY 

Definition at line 23 of file debug.h.

enum ath6kl_war
Enumerator:
ATH6KL_WAR_INVALID_RATE 

Definition at line 61 of file debug.h.

Function Documentation

__printf ( ,
 
) const

Variable Documentation

unsigned int debug_mask

Definition at line 30 of file core.c.

const char* fmt

Definition at line 52 of file debug.h.