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

Go to the source code of this file.

Data Structures

struct  snd_cx18_card
 

Macros

#define CX18_ALSA_DBGFLG_WARN   (1 << 0)
 
#define CX18_ALSA_DBGFLG_WARN   (1 << 0)
 
#define CX18_ALSA_DBGFLG_INFO   (1 << 1)
 
#define CX18_ALSA_DEBUG(x, type, fmt, args...)
 
#define CX18_ALSA_DEBUG_WARN(fmt, args...)   CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_WARN, "warning", fmt , ## args)
 
#define CX18_ALSA_DEBUG_INFO(fmt, args...)   CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_INFO, "info", fmt , ## args)
 
#define CX18_ALSA_ERR(fmt, args...)   printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args)
 
#define CX18_ALSA_WARN(fmt, args...)   printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args)
 
#define CX18_ALSA_INFO(fmt, args...)   printk(KERN_INFO "%s-alsa: " fmt, v4l2_dev->name , ## args)
 

Variables

int cx18_alsa_debug
 

Macro Definition Documentation

#define CX18_ALSA_DBGFLG_INFO   (1 << 1)

Definition at line 53 of file cx18-alsa.h.

#define CX18_ALSA_DBGFLG_WARN   (1 << 0)

Definition at line 52 of file cx18-alsa.h.

#define CX18_ALSA_DBGFLG_WARN   (1 << 0)

Definition at line 52 of file cx18-alsa.h.

#define CX18_ALSA_DEBUG (   x,
  type,
  fmt,
  args... 
)
Value:
do { \
if ((x) & cx18_alsa_debug) \
printk(KERN_INFO "%s-alsa: " type ": " fmt, \
v4l2_dev->name , ## args); \
} while (0)

Definition at line 55 of file cx18-alsa.h.

#define CX18_ALSA_DEBUG_INFO (   fmt,
  args... 
)    CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_INFO, "info", fmt , ## args)

Definition at line 65 of file cx18-alsa.h.

#define CX18_ALSA_DEBUG_WARN (   fmt,
  args... 
)    CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_WARN, "warning", fmt , ## args)

Definition at line 62 of file cx18-alsa.h.

#define CX18_ALSA_ERR (   fmt,
  args... 
)    printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args)

Definition at line 68 of file cx18-alsa.h.

#define CX18_ALSA_INFO (   fmt,
  args... 
)    printk(KERN_INFO "%s-alsa: " fmt, v4l2_dev->name , ## args)

Definition at line 74 of file cx18-alsa.h.

#define CX18_ALSA_WARN (   fmt,
  args... 
)    printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args)

Definition at line 71 of file cx18-alsa.h.

Variable Documentation

int cx18_alsa_debug

Definition at line 43 of file cx18-alsa-main.c.