Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cs4231.c File Reference
#include <linux/init.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/mpu401.h>
#include <sound/initval.h>

Go to the source code of this file.

Macros

#define CRD_NAME   "Generic CS4231"
 
#define DEV_NAME   "cs4231"
 

Functions

 MODULE_DESCRIPTION (CRD_NAME)
 
 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{Crystal Semiconductors,CS4231}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for "CRD_NAME" soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for "CRD_NAME" soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable "CRD_NAME" soundcard.")
 
 module_param_array (port, long, NULL, 0444)
 
 MODULE_PARM_DESC (port,"Port # for "CRD_NAME" driver.")
 
 module_param_array (mpu_port, long, NULL, 0444)
 
 MODULE_PARM_DESC (mpu_port,"MPU-401 port # for "CRD_NAME" driver.")
 
 module_param_array (irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (irq,"IRQ # for "CRD_NAME" driver.")
 
 module_param_array (mpu_irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (mpu_irq,"MPU-401 IRQ # for "CRD_NAME" driver.")
 
 module_param_array (dma1, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma1,"DMA1 # for "CRD_NAME" driver.")
 
 module_param_array (dma2, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma2,"DMA2 # for "CRD_NAME" driver.")
 
 module_init (alsa_card_cs4231_init)
 
 module_exit (alsa_card_cs4231_exit)
 

Macro Definition Documentation

#define CRD_NAME   "Generic CS4231"

Definition at line 34 of file cs4231.c.

#define DEV_NAME   "cs4231"

Definition at line 35 of file cs4231.c.

Function Documentation

MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( CRD_NAME  )
module_exit ( alsa_card_cs4231_exit  )
module_init ( alsa_card_cs4231_init  )
MODULE_LICENSE ( "GPL"  )
module_param_array ( index  ,
int  ,
NULL  ,
0444   
)
module_param_array ( id  ,
charp  ,
NULL  ,
0444   
)
module_param_array ( enable  ,
bool  ,
NULL  ,
0444   
)
module_param_array ( port  ,
long  ,
NULL  ,
0444   
)
module_param_array ( mpu_port  ,
long  ,
NULL  ,
0444   
)
module_param_array ( irq  ,
int  ,
NULL  ,
0444   
)
module_param_array ( mpu_irq  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma1  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma2  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for "CRD_NAME" soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for "CRD_NAME" soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable "CRD_NAME" soundcard."   
)
MODULE_PARM_DESC ( port  ,
"Port # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( mpu_port  ,
"MPU-401 port # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( irq  ,
"IRQ # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( mpu_irq  ,
"MPU-401 IRQ # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( dma1  ,
"DMA1 # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( dma2  ,
"DMA2 # for "CRD_NAME" driver."   
)
MODULE_SUPPORTED_DEVICE ( "{{Crystal Semiconductors,CS4231}}"  )