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

Go to the source code of this file.

Data Structures

struct  snd_ivtv_card
 

Macros

#define IVTV_ALSA_DBGFLG_WARN   (1 << 0)
 
#define IVTV_ALSA_DBGFLG_INFO   (1 << 1)
 
#define IVTV_ALSA_DEBUG(x, type, fmt, args...)
 
#define IVTV_ALSA_DEBUG_WARN(fmt, args...)   IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_WARN, "warning", fmt , ## args)
 
#define IVTV_ALSA_DEBUG_INFO(fmt, args...)   IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_INFO, "info", fmt , ## args)
 
#define IVTV_ALSA_ERR(fmt, args...)   pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args)
 
#define IVTV_ALSA_WARN(fmt, args...)   pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args)
 
#define IVTV_ALSA_INFO(fmt, args...)   pr_info("%s-alsa: " fmt, v4l2_dev->name , ## args)
 

Variables

int ivtv_alsa_debug
 

Macro Definition Documentation

#define IVTV_ALSA_DBGFLG_INFO   (1 << 1)

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

#define IVTV_ALSA_DBGFLG_WARN   (1 << 0)

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

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

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

#define IVTV_ALSA_DEBUG_INFO (   fmt,
  args... 
)    IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_INFO, "info", fmt , ## args)

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

#define IVTV_ALSA_DEBUG_WARN (   fmt,
  args... 
)    IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_WARN, "warning", fmt , ## args)

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

#define IVTV_ALSA_ERR (   fmt,
  args... 
)    pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args)

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

#define IVTV_ALSA_INFO (   fmt,
  args... 
)    pr_info("%s-alsa: " fmt, v4l2_dev->name , ## args)

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

#define IVTV_ALSA_WARN (   fmt,
  args... 
)    pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args)

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

Variable Documentation

int ivtv_alsa_debug

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