Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cx18-alsa-main.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/spinlock.h>
#include <media/v4l2-device.h>
#include <sound/core.h>
#include <sound/initval.h>
#include "cx18-driver.h"
#include "cx18-version.h"
#include "cx18-alsa.h"
#include "cx18-alsa-mixer.h"
#include "cx18-alsa-pcm.h"

Go to the source code of this file.

Macros

#define CX18_DEBUG_ALSA_INFO(fmt, arg...)
 

Functions

 module_param_named (debug, cx18_alsa_debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Debug level (bitmask). Default: 0\n""\t\t\t 1/0x0001: warning\n""\t\t\t 2/0x0002: info\n")
 
 MODULE_AUTHOR ("Andy Walls")
 
 MODULE_DESCRIPTION ("CX23418 ALSA Interface")
 
 MODULE_SUPPORTED_DEVICE ("CX23418 MPEG2 encoder")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (CX18_VERSION)
 
int cx18_alsa_load (struct cx18 *cx)
 
 module_init (cx18_alsa_init)
 
 module_exit (cx18_alsa_exit)
 

Variables

int cx18_alsa_debug
 

Macro Definition Documentation

#define CX18_DEBUG_ALSA_INFO (   fmt,
  arg... 
)
Value:
do { \
if (cx18_alsa_debug & 2) \
printk(KERN_INFO "%s: " fmt, "cx18-alsa", ## arg); \
} while (0);

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

Function Documentation

int cx18_alsa_load ( struct cx18 cx)

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

MODULE_AUTHOR ( "Andy Walls"  )
MODULE_DESCRIPTION ( "CX23418 ALSA Interface )
module_exit ( cx18_alsa_exit  )
module_init ( cx18_alsa_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
cx18_alsa_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Debug level (bitmask). Default: 0\n""\t\t\t 1/0x0001: warning\n""\t\t\t 2/0x0002: info\n"   
)
MODULE_SUPPORTED_DEVICE ( "CX23418 MPEG2 encoder"  )
MODULE_VERSION ( CX18_VERSION  )

Variable Documentation

int cx18_alsa_debug

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