Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gusextreme.c File Reference
#include <linux/init.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/delay.h>
#include <linux/time.h>
#include <linux/module.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/gus.h>
#include <sound/es1688.h>
#include <sound/mpu401.h>
#include <sound/opl3.h>
#include <sound/initval.h>

Go to the source code of this file.

Macros

#define SNDRV_LEGACY_AUTO_PROBE
 
#define SNDRV_LEGACY_FIND_FREE_IRQ
 
#define SNDRV_LEGACY_FIND_FREE_DMA
 
#define CRD_NAME   "Gravis UltraSound Extreme"
 
#define DEV_NAME   "gusextreme"
 

Functions

 MODULE_DESCRIPTION (CRD_NAME)
 
 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{Gravis,UltraSound Extreme}}")
 
 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 (gf1_port, long, NULL, 0444)
 
 MODULE_PARM_DESC (gf1_port,"GF1 port # for "CRD_NAME" driver (optional).")
 
 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 (gf1_irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (gf1_irq,"GF1 IRQ # for "CRD_NAME" driver.")
 
 module_param_array (dma8, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma8,"8-bit DMA # for "CRD_NAME" driver.")
 
 module_param_array (dma1, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma1,"GF1 DMA # for "CRD_NAME" driver.")
 
 module_param_array (joystick_dac, int, NULL, 0444)
 
 MODULE_PARM_DESC (joystick_dac,"Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for "CRD_NAME" driver.")
 
 module_param_array (channels, int, NULL, 0444)
 
 MODULE_PARM_DESC (channels,"GF1 channels for "CRD_NAME" driver.")
 
 module_param_array (pcm_channels, int, NULL, 0444)
 
 MODULE_PARM_DESC (pcm_channels,"Reserved PCM channels for "CRD_NAME" driver.")
 
 module_init (alsa_card_gusextreme_init)
 
 module_exit (alsa_card_gusextreme_exit)
 

Macro Definition Documentation

#define CRD_NAME   "Gravis UltraSound Extreme"

Definition at line 39 of file gusextreme.c.

#define DEV_NAME   "gusextreme"

Definition at line 40 of file gusextreme.c.

#define SNDRV_LEGACY_AUTO_PROBE

Definition at line 34 of file gusextreme.c.

#define SNDRV_LEGACY_FIND_FREE_DMA

Definition at line 36 of file gusextreme.c.

#define SNDRV_LEGACY_FIND_FREE_IRQ

Definition at line 35 of file gusextreme.c.

Function Documentation

MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( CRD_NAME  )
module_exit ( alsa_card_gusextreme_exit  )
module_init ( alsa_card_gusextreme_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 ( gf1_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 ( gf1_irq  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma8  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma1  ,
int  ,
NULL  ,
0444   
)
module_param_array ( joystick_dac  ,
int  ,
NULL  ,
0444   
)
module_param_array ( channels  ,
int  ,
NULL  ,
0444   
)
module_param_array ( pcm_channels  ,
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 ( gf1_port  ,
"GF1 port # for "CRD_NAME" driver (optional)."   
)
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 ( gf1_irq  ,
"GF1 IRQ # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( dma8  ,
"8-bit DMA # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( dma1  ,
"GF1 DMA # for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( joystick_dac  ,
"Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( channels  ,
"GF1 channels for "CRD_NAME" driver."   
)
MODULE_PARM_DESC ( pcm_channels  ,
"Reserved PCM channels for "CRD_NAME" driver."   
)
MODULE_SUPPORTED_DEVICE ( "{{Gravis,UltraSound Extreme}}"  )