Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tm6000-alsa.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/usb.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/delay.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/control.h>
#include <sound/initval.h>
#include "tm6000.h"
#include "tm6000-regs.h"

Go to the source code of this file.

Macros

#define dprintk(level, fmt, arg...)
 
#define DEFAULT_FIFO_SIZE   4096
 

Functions

 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable tm6000x soundcard. default enabled.")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for tm6000x capture interface(s).")
 
 MODULE_DESCRIPTION ("ALSA driver module for tm5600/tm6000/tm6010 based TV cards")
 
 MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{Trident,tm5600},""{{Trident,tm6000},""{{Trident,tm6010}")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"enable debug messages")
 
 module_init (tm6000_alsa_register)
 
 module_exit (tm6000_alsa_unregister)
 

Macro Definition Documentation

#define DEFAULT_FIFO_SIZE   4096

Definition at line 146 of file tm6000-alsa.c.

#define dprintk (   level,
  fmt,
  arg... 
)
Value:
do { \
if (debug >= level) \
printk(KERN_INFO "%s/1: " fmt, chip->core->name , ## arg); \
} while (0)

Definition at line 34 of file tm6000-alsa.c.

Function Documentation

MODULE_AUTHOR ( "Mauro Carvalho Chehab <[email protected]>"  )
MODULE_DESCRIPTION ( "ALSA driver module for tm5600/tm6000/tm6010 based TV cards )
module_exit ( tm6000_alsa_unregister  )
module_init ( tm6000_alsa_register  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
module_param_array ( enable  ,
bool  ,
NULL  ,
0444   
)
module_param_array ( index  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( enable  ,
"Enable tm6000x soundcard. default enabled."   
)
MODULE_PARM_DESC ( index  ,
"Index value for tm6000x capture interface(s)."   
)
MODULE_PARM_DESC ( debug  ,
"enable debug messages"   
)
MODULE_SUPPORTED_DEVICE ( )