Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
cx88-alsa.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/vmalloc.h>
#include <linux/dma-mapping.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <asm/delay.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/control.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <media/wm8775.h>
#include "cx88.h"
#include "cx88-reg.h"

Go to the source code of this file.

Data Structures

struct  cx88_audio_buffer
 
struct  cx88_audio_dev
 

Macros

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

Typedefs

typedef struct cx88_audio_dev snd_cx88_card_t
 

Functions

 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable cx88x soundcard. default enabled.")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for cx88x capture interface(s).")
 
 MODULE_DESCRIPTION ("ALSA driver module for cx2388x based TV cards")
 
 MODULE_AUTHOR ("Ricardo Cerqueira")
 
 MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (CX88_VERSION)
 
 MODULE_SUPPORTED_DEVICE ("{{Conexant,23881},""{{Conexant,23882},""{{Conexant,23883}")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"enable debug messages")
 
 MODULE_DEVICE_TABLE (pci, cx88_audio_pci_tbl)
 
 module_init (cx88_audio_init)
 
 module_exit (cx88_audio_fini)
 

Macro Definition Documentation

#define DEFAULT_FIFO_SIZE   4096

Definition at line 313 of file cx88-alsa.c.

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

Definition at line 48 of file cx88-alsa.c.

#define dprintk_core (   level,
  fmt,
  arg... 
)
Value:
if (debug >= level) \
printk(KERN_DEBUG "%s/1: " fmt, chip->core->name , ## arg)

Definition at line 51 of file cx88-alsa.c.

#define MAX_IRQ_LOOP   50

Definition at line 198 of file cx88-alsa.c.

Typedef Documentation

Definition at line 89 of file cx88-alsa.c.

Function Documentation

MODULE_AUTHOR ( "Ricardo Cerqueira"  )
MODULE_AUTHOR ( "Mauro Carvalho Chehab <[email protected]>"  )
MODULE_DESCRIPTION ( "ALSA driver module for cx2388x based TV cards )
MODULE_DEVICE_TABLE ( pci  ,
cx88_audio_pci_tbl   
)
module_exit ( cx88_audio_fini  )
module_init ( cx88_audio_init  )
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 cx88x soundcard. default enabled."   
)
MODULE_PARM_DESC ( index  ,
"Index value for cx88x capture interface(s)."   
)
MODULE_PARM_DESC ( debug  ,
"enable debug messages"   
)
MODULE_SUPPORTED_DEVICE ( )
MODULE_VERSION ( CX88_VERSION  )