Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mptdebug.h File Reference

Go to the source code of this file.

Macros

#define MPT_DEBUG   0x00000001
 
#define MPT_DEBUG_MSG_FRAME   0x00000002
 
#define MPT_DEBUG_SG   0x00000004
 
#define MPT_DEBUG_EVENTS   0x00000008
 
#define MPT_DEBUG_VERBOSE_EVENTS   0x00000010
 
#define MPT_DEBUG_INIT   0x00000020
 
#define MPT_DEBUG_EXIT   0x00000040
 
#define MPT_DEBUG_FAIL   0x00000080
 
#define MPT_DEBUG_TM   0x00000100
 
#define MPT_DEBUG_DV   0x00000200
 
#define MPT_DEBUG_REPLY   0x00000400
 
#define MPT_DEBUG_HANDSHAKE   0x00000800
 
#define MPT_DEBUG_CONFIG   0x00001000
 
#define MPT_DEBUG_DL   0x00002000
 
#define MPT_DEBUG_RESET   0x00008000
 
#define MPT_DEBUG_SCSI   0x00010000
 
#define MPT_DEBUG_IOCTL   0x00020000
 
#define MPT_DEBUG_FC   0x00080000
 
#define MPT_DEBUG_SAS   0x00100000
 
#define MPT_DEBUG_SAS_WIDE   0x00200000
 
#define MPT_DEBUG_36GB_MEM   0x00400000
 
#define MPT_CHECK_LOGGING(IOC, CMD, BITS)
 
#define dprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG)
 
#define dsgprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SG)
 
#define devtprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_EVENTS)
 
#define devtverboseprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_VERBOSE_EVENTS)
 
#define dinitprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_INIT)
 
#define dexitprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_EXIT)
 
#define dfailprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_FAIL)
 
#define dtmprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_TM)
 
#define ddvprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_DV)
 
#define dreplyprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_REPLY)
 
#define dhsprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_HANDSHAKE)
 
#define dcprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_CONFIG)
 
#define ddlprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_DL)
 
#define drsprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_RESET)
 
#define dsprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SCSI)
 
#define dctlprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_IOCTL)
 
#define dfcprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_FC)
 
#define dsasprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SAS)
 
#define dsaswideprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SAS_WIDE)
 
#define d36memprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_36GB_MEM)
 
#define DBG_DUMP_FW_DOWNLOAD(IOC, mfp, numfrags)
 
#define DBG_DUMP_PUT_MSG_FRAME(IOC, mfp)
 
#define DBG_DUMP_FW_REQUEST_FRAME(IOC, mfp)
 
#define DBG_DUMP_REQUEST_FRAME(IOC, mfp)
 
#define DBG_DUMP_REPLY_FRAME(IOC, mfp)
 
#define DBG_DUMP_REQUEST_FRAME_HDR(IOC, mfp)
 
#define DBG_DUMP_TM_REQUEST_FRAME(IOC, mfp)
 
#define DBG_DUMP_TM_REPLY_FRAME(IOC, mfp)
 
#define dmfprintk(IOC, CMD)   MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_MSG_FRAME)
 

Macro Definition Documentation

#define d36memprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_36GB_MEM)

Definition at line 139 of file mptdebug.h.

#define DBG_DUMP_FW_DOWNLOAD (   IOC,
  mfp,
  numfrags 
)

Definition at line 277 of file mptdebug.h.

#define DBG_DUMP_FW_REQUEST_FRAME (   IOC,
  mfp 
)

Definition at line 279 of file mptdebug.h.

#define DBG_DUMP_PUT_MSG_FRAME (   IOC,
  mfp 
)

Definition at line 278 of file mptdebug.h.

#define DBG_DUMP_REPLY_FRAME (   IOC,
  mfp 
)

Definition at line 281 of file mptdebug.h.

#define DBG_DUMP_REQUEST_FRAME (   IOC,
  mfp 
)

Definition at line 280 of file mptdebug.h.

#define DBG_DUMP_REQUEST_FRAME_HDR (   IOC,
  mfp 
)

Definition at line 282 of file mptdebug.h.

#define DBG_DUMP_TM_REPLY_FRAME (   IOC,
  mfp 
)

Definition at line 284 of file mptdebug.h.

#define DBG_DUMP_TM_REQUEST_FRAME (   IOC,
  mfp 
)

Definition at line 283 of file mptdebug.h.

#define dcprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_CONFIG)

Definition at line 115 of file mptdebug.h.

#define dctlprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_IOCTL)

Definition at line 127 of file mptdebug.h.

#define ddlprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_DL)

Definition at line 118 of file mptdebug.h.

#define ddvprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_DV)

Definition at line 106 of file mptdebug.h.

#define devtprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_EVENTS)

Definition at line 88 of file mptdebug.h.

#define devtverboseprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_VERBOSE_EVENTS)

Definition at line 91 of file mptdebug.h.

#define dexitprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_EXIT)

Definition at line 97 of file mptdebug.h.

#define dfailprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_FAIL)

Definition at line 100 of file mptdebug.h.

#define dfcprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_FC)

Definition at line 130 of file mptdebug.h.

#define dhsprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_HANDSHAKE)

Definition at line 112 of file mptdebug.h.

#define dinitprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_INIT)

Definition at line 94 of file mptdebug.h.

#define dmfprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_MSG_FRAME)

Definition at line 286 of file mptdebug.h.

#define dprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG)

Definition at line 82 of file mptdebug.h.

#define dreplyprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_REPLY)

Definition at line 109 of file mptdebug.h.

#define drsprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_RESET)

Definition at line 121 of file mptdebug.h.

#define dsasprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SAS)

Definition at line 133 of file mptdebug.h.

#define dsaswideprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SAS_WIDE)

Definition at line 136 of file mptdebug.h.

#define dsgprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SG)

Definition at line 85 of file mptdebug.h.

#define dsprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SCSI)

Definition at line 124 of file mptdebug.h.

#define dtmprintk (   IOC,
  CMD 
)    MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_TM)

Definition at line 103 of file mptdebug.h.

#define MPT_CHECK_LOGGING (   IOC,
  CMD,
  BITS 
)

Definition at line 74 of file mptdebug.h.

#define MPT_DEBUG   0x00000001

Definition at line 41 of file mptdebug.h.

#define MPT_DEBUG_36GB_MEM   0x00400000

Definition at line 61 of file mptdebug.h.

#define MPT_DEBUG_CONFIG   0x00001000

Definition at line 53 of file mptdebug.h.

#define MPT_DEBUG_DL   0x00002000

Definition at line 54 of file mptdebug.h.

#define MPT_DEBUG_DV   0x00000200

Definition at line 50 of file mptdebug.h.

#define MPT_DEBUG_EVENTS   0x00000008

Definition at line 44 of file mptdebug.h.

#define MPT_DEBUG_EXIT   0x00000040

Definition at line 47 of file mptdebug.h.

#define MPT_DEBUG_FAIL   0x00000080

Definition at line 48 of file mptdebug.h.

#define MPT_DEBUG_FC   0x00080000

Definition at line 58 of file mptdebug.h.

#define MPT_DEBUG_HANDSHAKE   0x00000800

Definition at line 52 of file mptdebug.h.

#define MPT_DEBUG_INIT   0x00000020

Definition at line 46 of file mptdebug.h.

#define MPT_DEBUG_IOCTL   0x00020000

Definition at line 57 of file mptdebug.h.

#define MPT_DEBUG_MSG_FRAME   0x00000002

Definition at line 42 of file mptdebug.h.

#define MPT_DEBUG_REPLY   0x00000400

Definition at line 51 of file mptdebug.h.

#define MPT_DEBUG_RESET   0x00008000

Definition at line 55 of file mptdebug.h.

#define MPT_DEBUG_SAS   0x00100000

Definition at line 59 of file mptdebug.h.

#define MPT_DEBUG_SAS_WIDE   0x00200000

Definition at line 60 of file mptdebug.h.

#define MPT_DEBUG_SCSI   0x00010000

Definition at line 56 of file mptdebug.h.

#define MPT_DEBUG_SG   0x00000004

Definition at line 43 of file mptdebug.h.

#define MPT_DEBUG_TM   0x00000100

Definition at line 49 of file mptdebug.h.

#define MPT_DEBUG_VERBOSE_EVENTS   0x00000010

Definition at line 45 of file mptdebug.h.