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

Go to the source code of this file.

Macros

#define DBG_EMERG   0
 
#define DBG_WARNING   2
 
#define DBG_DMESG   3
 
#define DBG_LOUD   4
 
#define DBG_TRACE   5
 
#define COMP_ERR   BIT(0)
 
#define COMP_FW   BIT(1)
 
#define COMP_INIT   BIT(2) /*For init/deinit */
 
#define COMP_RECV   BIT(3) /*For Rx. */
 
#define COMP_SEND   BIT(4) /*For Tx. */
 
#define COMP_MLME   BIT(5) /*For MLME. */
 
#define COMP_SCAN   BIT(6) /*For Scan. */
 
#define COMP_INTR   BIT(7) /*For interrupt Related. */
 
#define COMP_LED   BIT(8) /*For LED. */
 
#define COMP_SEC   BIT(9) /*For sec. */
 
#define COMP_BEACON   BIT(10) /*For beacon. */
 
#define COMP_RATE   BIT(11) /*For rate. */
 
#define COMP_RXDESC   BIT(12) /*For rx desc. */
 
#define COMP_DIG   BIT(13) /*For DIG */
 
#define COMP_TXAGC   BIT(14) /*For Tx power */
 
#define COMP_HIPWR   BIT(15) /*For High Power Mechanism */
 
#define COMP_POWER   BIT(16) /*For lps/ips/aspm. */
 
#define COMP_POWER_TRACKING   BIT(17) /*For TX POWER TRACKING */
 
#define COMP_BB_POWERSAVING   BIT(18)
 
#define COMP_SWAS   BIT(19) /*For SW Antenna Switch */
 
#define COMP_RF   BIT(20) /*For RF. */
 
#define COMP_TURBO   BIT(21) /*For EDCA TURBO. */
 
#define COMP_RATR   BIT(22)
 
#define COMP_CMD   BIT(23)
 
#define COMP_EFUSE   BIT(24)
 
#define COMP_QOS   BIT(25)
 
#define COMP_MAC80211   BIT(26)
 
#define COMP_REGD   BIT(27)
 
#define COMP_CHAN   BIT(28)
 
#define COMP_USB   BIT(29)
 
#define EEPROM_W   BIT(0)
 
#define EFUSE_PG   BIT(1)
 
#define EFUSE_READ_ALL   BIT(2)
 
#define INIT_EEPROM   BIT(0)
 
#define INIT_TxPower   BIT(1)
 
#define INIT_IQK   BIT(2)
 
#define INIT_RF   BIT(3)
 
#define PHY_BBR   BIT(0)
 
#define PHY_BBW   BIT(1)
 
#define PHY_RFR   BIT(2)
 
#define PHY_RFW   BIT(3)
 
#define PHY_MACR   BIT(4)
 
#define PHY_MACW   BIT(5)
 
#define PHY_ALLR   BIT(6)
 
#define PHY_ALLW   BIT(7)
 
#define PHY_TXPWR   BIT(8)
 
#define PHY_PWRDIFF   BIT(9)
 

Enumerations

enum  dbgp_flag_e {
  FQOS = 0, FTX = 1, FRX = 2, FSEC = 3,
  FMGNT = 4, FMLME = 5, FRESOURCE = 6, FBEACON = 7,
  FISR = 8, FPHY = 9, FMP = 10, FEEPROM = 11,
  FPWR = 12, FDM = 13, FDBGCtrl = 14, FC2H = 15,
  FBT = 16, FINIT = 17, FIOCTL = 18, DBGP_TYPE_MAX
}
 

Functions

 __printf (2, 3) static inline void RT_ASSERT(int exp
 

Variables

const charfmt
 

Macro Definition Documentation

#define COMP_BB_POWERSAVING   BIT(18)

Definition at line 97 of file debug.h.

#define COMP_BEACON   BIT(10) /*For beacon. */

Definition at line 89 of file debug.h.

#define COMP_CHAN   BIT(28)

Definition at line 107 of file debug.h.

#define COMP_CMD   BIT(23)

Definition at line 102 of file debug.h.

#define COMP_DIG   BIT(13) /*For DIG */

Definition at line 92 of file debug.h.

#define COMP_EFUSE   BIT(24)

Definition at line 103 of file debug.h.

#define COMP_ERR   BIT(0)

Definition at line 79 of file debug.h.

#define COMP_FW   BIT(1)

Definition at line 80 of file debug.h.

#define COMP_HIPWR   BIT(15) /*For High Power Mechanism */

Definition at line 94 of file debug.h.

#define COMP_INIT   BIT(2) /*For init/deinit */

Definition at line 81 of file debug.h.

#define COMP_INTR   BIT(7) /*For interrupt Related. */

Definition at line 86 of file debug.h.

#define COMP_LED   BIT(8) /*For LED. */

Definition at line 87 of file debug.h.

#define COMP_MAC80211   BIT(26)

Definition at line 105 of file debug.h.

#define COMP_MLME   BIT(5) /*For MLME. */

Definition at line 84 of file debug.h.

#define COMP_POWER   BIT(16) /*For lps/ips/aspm. */

Definition at line 95 of file debug.h.

#define COMP_POWER_TRACKING   BIT(17) /*For TX POWER TRACKING */

Definition at line 96 of file debug.h.

#define COMP_QOS   BIT(25)

Definition at line 104 of file debug.h.

#define COMP_RATE   BIT(11) /*For rate. */

Definition at line 90 of file debug.h.

#define COMP_RATR   BIT(22)

Definition at line 101 of file debug.h.

#define COMP_RECV   BIT(3) /*For Rx. */

Definition at line 82 of file debug.h.

#define COMP_REGD   BIT(27)

Definition at line 106 of file debug.h.

#define COMP_RF   BIT(20) /*For RF. */

Definition at line 99 of file debug.h.

#define COMP_RXDESC   BIT(12) /*For rx desc. */

Definition at line 91 of file debug.h.

#define COMP_SCAN   BIT(6) /*For Scan. */

Definition at line 85 of file debug.h.

#define COMP_SEC   BIT(9) /*For sec. */

Definition at line 88 of file debug.h.

#define COMP_SEND   BIT(4) /*For Tx. */

Definition at line 83 of file debug.h.

#define COMP_SWAS   BIT(19) /*For SW Antenna Switch */

Definition at line 98 of file debug.h.

#define COMP_TURBO   BIT(21) /*For EDCA TURBO. */

Definition at line 100 of file debug.h.

#define COMP_TXAGC   BIT(14) /*For Tx power */

Definition at line 93 of file debug.h.

#define COMP_USB   BIT(29)

Definition at line 108 of file debug.h.

#define DBG_DMESG   3

Definition at line 58 of file debug.h.

#define DBG_EMERG   0

Definition at line 43 of file debug.h.

#define DBG_LOUD   4

Definition at line 68 of file debug.h.

#define DBG_TRACE   5

Definition at line 74 of file debug.h.

#define DBG_WARNING   2

Definition at line 50 of file debug.h.

#define EEPROM_W   BIT(0)

Definition at line 114 of file debug.h.

#define EFUSE_PG   BIT(1)

Definition at line 115 of file debug.h.

#define EFUSE_READ_ALL   BIT(2)

Definition at line 116 of file debug.h.

#define INIT_EEPROM   BIT(0)

Definition at line 119 of file debug.h.

#define INIT_IQK   BIT(2)

Definition at line 121 of file debug.h.

#define INIT_RF   BIT(3)

Definition at line 122 of file debug.h.

#define INIT_TxPower   BIT(1)

Definition at line 120 of file debug.h.

#define PHY_ALLR   BIT(6)

Definition at line 131 of file debug.h.

#define PHY_ALLW   BIT(7)

Definition at line 132 of file debug.h.

#define PHY_BBR   BIT(0)

Definition at line 125 of file debug.h.

#define PHY_BBW   BIT(1)

Definition at line 126 of file debug.h.

#define PHY_MACR   BIT(4)

Definition at line 129 of file debug.h.

#define PHY_MACW   BIT(5)

Definition at line 130 of file debug.h.

#define PHY_PWRDIFF   BIT(9)

Definition at line 134 of file debug.h.

#define PHY_RFR   BIT(2)

Definition at line 127 of file debug.h.

#define PHY_RFW   BIT(3)

Definition at line 128 of file debug.h.

#define PHY_TXPWR   BIT(8)

Definition at line 133 of file debug.h.

Enumeration Type Documentation

Enumerator:
FQOS 
FTX 
FRX 
FSEC 
FMGNT 
FMLME 
FRESOURCE 
FBEACON 
FISR 
FPHY 
FMP 
FEEPROM 
FPWR 
FDM 
FDBGCtrl 
FC2H 
FBT 
FINIT 
FIOCTL 
DBGP_TYPE_MAX 

Definition at line 136 of file debug.h.

Function Documentation

__printf ( ,
 
)

Variable Documentation

const char* fmt

Definition at line 205 of file debug.h.