Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gusmax.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/wss.h>
#include <sound/initval.h>

Go to the source code of this file.

Data Structures

struct  snd_gusmax
 

Macros

#define SNDRV_LEGACY_FIND_FREE_IRQ
 
#define SNDRV_LEGACY_FIND_FREE_DMA
 
#define PFX   "gusmax: "
 
#define DEV_NAME   "gusmax"
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("Gravis UltraSound MAX")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{Gravis,UltraSound MAX}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for GUS MAX soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for GUS MAX soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable GUS MAX soundcard.")
 
 module_param_array (port, long, NULL, 0444)
 
 MODULE_PARM_DESC (port,"Port # for GUS MAX driver.")
 
 module_param_array (irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (irq,"IRQ # for GUS MAX driver.")
 
 module_param_array (dma1, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma1,"DMA1 # for GUS MAX driver.")
 
 module_param_array (dma2, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma2,"DMA2 # for GUS MAX 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 GUS MAX driver.")
 
 module_param_array (channels, int, NULL, 0444)
 
 MODULE_PARM_DESC (channels,"Used GF1 channels for GUS MAX driver.")
 
 module_param_array (pcm_channels, int, NULL, 0444)
 
 MODULE_PARM_DESC (pcm_channels,"Reserved PCM channels for GUS MAX driver.")
 

Macro Definition Documentation

#define DEV_NAME   "gusmax"

Definition at line 364 of file gusmax.c.

#define PFX   "gusmax: "

Definition at line 83 of file gusmax.c.

#define SNDRV_LEGACY_FIND_FREE_DMA

Definition at line 33 of file gusmax.c.

#define SNDRV_LEGACY_FIND_FREE_IRQ

Definition at line 32 of file gusmax.c.

Function Documentation

MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "Gravis UltraSound MAX )
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 ( irq  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma1  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma2  ,
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 GUS MAX soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for GUS MAX soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable GUS MAX soundcard."   
)
MODULE_PARM_DESC ( port  ,
"Port # for GUS MAX driver."   
)
MODULE_PARM_DESC ( irq  ,
"IRQ # for GUS MAX driver."   
)
MODULE_PARM_DESC ( dma1  ,
"DMA1 # for GUS MAX driver."   
)
MODULE_PARM_DESC ( dma2  ,
"DMA2 # for GUS MAX driver."   
)
MODULE_PARM_DESC ( joystick_dac  ,
"Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for GUS MAX driver."   
)
MODULE_PARM_DESC ( channels  ,
"Used GF1 channels for GUS MAX driver."   
)
MODULE_PARM_DESC ( pcm_channels  ,
"Reserved PCM channels for GUS MAX driver."   
)
MODULE_SUPPORTED_DEVICE ( "{{Gravis,UltraSound MAX}}"  )