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

Go to the source code of this file.

Macros

#define DBG_FUNC(name)
 

Functions

void myDbgPrint_EVL (long msgID,...)
 
int DbgRegister (char *drvName, char *drvTag, unsigned long dbgMask)
 
void DbgSetLevel (unsigned long dbgMask)
 
void DbgDeregister (void)
 
void xdi_dbg_xlog (char *x,...)
 

Variables

_DbgHandle_ myDriverDebugHandle = { 0 , DBG_HANDLE_VERSION }
 
DIVA_DI_PRINTF dprintf = no_printf
 

Macro Definition Documentation

#define DBG_FUNC (   name)
Value:
void \
myDbgPrint_##name(char *format, ...) \
{ va_list ap; \
{ va_start(ap, format); \
(myDriverDebugHandle.id, DLI_##name, format, ap); \
va_end(ap); \
} }

Definition at line 36 of file debuglib.c.

Function Documentation

void DbgDeregister ( void  )

Definition at line 132 of file debuglib.c.

int DbgRegister ( char drvName,
char drvTag,
unsigned long  dbgMask 
)

Definition at line 79 of file debuglib.c.

void DbgSetLevel ( unsigned long  dbgMask)

Definition at line 126 of file debuglib.c.

void myDbgPrint_EVL ( long  msgID,
  ... 
)

Definition at line 53 of file debuglib.c.

void xdi_dbg_xlog ( char x,
  ... 
)

Definition at line 140 of file debuglib.c.

Variable Documentation

DIVA_DI_PRINTF dprintf = no_printf

Definition at line 34 of file debuglib.c.

_DbgHandle_ myDriverDebugHandle = { 0 , DBG_HANDLE_VERSION }

Definition at line 33 of file debuglib.c.