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

Go to the source code of this file.

Macros

#define DEBUG
 
#define mfc_debug(level, fmt, args...)
 
#define mfc_debug_enter()   mfc_debug(5, "enter")
 
#define mfc_debug_leave()   mfc_debug(5, "leave")
 
#define mfc_err(fmt, args...)
 
#define mfc_info(fmt, args...)
 

Variables

int debug
 

Macro Definition Documentation

#define DEBUG

Definition at line 18 of file s5p_mfc_debug.h.

#define mfc_debug (   level,
  fmt,
  args... 
)
Value:
do { \
if (debug >= level) \
printk(KERN_DEBUG "%s:%d: " fmt, \
__func__, __LINE__, ##args); \
} while (0)

Definition at line 23 of file s5p_mfc_debug.h.

#define mfc_debug_enter ( )    mfc_debug(5, "enter")

Definition at line 33 of file s5p_mfc_debug.h.

#define mfc_debug_leave ( )    mfc_debug(5, "leave")

Definition at line 34 of file s5p_mfc_debug.h.

#define mfc_err (   fmt,
  args... 
)
Value:
do { \
printk(KERN_ERR "%s:%d: " fmt, \
__func__, __LINE__, ##args); \
} while (0)

Definition at line 36 of file s5p_mfc_debug.h.

#define mfc_info (   fmt,
  args... 
)
Value:
do { \
printk(KERN_INFO "%s:%d: " fmt, \
__func__, __LINE__, ##args); \
} while (0)

Definition at line 42 of file s5p_mfc_debug.h.

Variable Documentation

int debug

Definition at line 223 of file registers.h.