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

Go to the source code of this file.

Data Structures

struct  snd_interwave
 
struct  rom_hdr
 

Macros

#define SNDRV_LEGACY_FIND_FREE_IRQ
 
#define SNDRV_LEGACY_FIND_FREE_DMA
 
#define PFX   "interwave: "
 
#define INTERWAVE_DRIVER   "snd_interwave"
 
#define INTERWAVE_PNP_DRIVER   "interwave"
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("AMD InterWave")
 
 MODULE_SUPPORTED_DEVICE ("{{Gravis,UltraSound Plug & Play},""{STB,SoundRage32},""{MED,MED3210},""{Dynasonix,Dynasonix Pro},""{Panasonic,PCA761AW}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for InterWave soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for InterWave soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable InterWave soundcard.")
 
 module_param_array (port, long, NULL, 0444)
 
 MODULE_PARM_DESC (port,"Port # for InterWave driver.")
 
 module_param_array (irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (irq,"IRQ # for InterWave driver.")
 
 module_param_array (dma1, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma1,"DMA1 # for InterWave driver.")
 
 module_param_array (dma2, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma2,"DMA2 # for InterWave 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 InterWave driver.")
 
 module_param_array (midi, int, NULL, 0444)
 
 MODULE_PARM_DESC (midi,"MIDI UART enable for InterWave driver.")
 
 module_param_array (pcm_channels, int, NULL, 0444)
 
 MODULE_PARM_DESC (pcm_channels,"Reserved PCM channels for InterWave driver.")
 
 module_param_array (effect, int, NULL, 0444)
 
 MODULE_PARM_DESC (effect,"Effects enable for InterWave driver.")
 

Macro Definition Documentation

#define INTERWAVE_DRIVER   "snd_interwave"

Definition at line 81 of file interwave.c.

#define INTERWAVE_PNP_DRIVER   "interwave"

Definition at line 82 of file interwave.c.

#define PFX   "interwave: "

Definition at line 80 of file interwave.c.

#define SNDRV_LEGACY_FIND_FREE_DMA

Definition at line 39 of file interwave.c.

#define SNDRV_LEGACY_FIND_FREE_IRQ

Definition at line 38 of file interwave.c.

Function Documentation

MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "AMD InterWave"  )
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 ( midi  ,
int  ,
NULL  ,
0444   
)
module_param_array ( pcm_channels  ,
int  ,
NULL  ,
0444   
)
module_param_array ( effect  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for InterWave soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for InterWave soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable InterWave soundcard."   
)
MODULE_PARM_DESC ( port  ,
"Port # for InterWave driver."   
)
MODULE_PARM_DESC ( irq  ,
"IRQ # for InterWave driver."   
)
MODULE_PARM_DESC ( dma1  ,
"DMA1 # for InterWave driver."   
)
MODULE_PARM_DESC ( dma2  ,
"DMA2 # for InterWave driver."   
)
MODULE_PARM_DESC ( joystick_dac  ,
"Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for InterWave driver."   
)
MODULE_PARM_DESC ( midi  ,
"MIDI UART enable for InterWave driver."   
)
MODULE_PARM_DESC ( pcm_channels  ,
"Reserved PCM channels for InterWave driver."   
)
MODULE_PARM_DESC ( effect  ,
"Effects enable for InterWave driver."   
)
MODULE_SUPPORTED_DEVICE ( "{{Gravis,UltraSound Plug & Play},""{STB,SoundRage32},""{MED,MED3210},""{Dynasonix,Dynasonix Pro},""{Panasonic,PCA761AW}}"  )