Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sb16.c File Reference
#include <asm/dma.h>
#include <linux/init.h>
#include <linux/pnp.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/sb.h>
#include <sound/sb16_csp.h>
#include <sound/mpu401.h>
#include <sound/opl3.h>
#include <sound/emu8000.h>
#include <sound/seq_device.h>
#include <sound/initval.h>

Go to the source code of this file.

Data Structures

struct  snd_card_sb16
 

Macros

#define SNDRV_LEGACY_FIND_FREE_IRQ
 
#define SNDRV_LEGACY_FIND_FREE_DMA
 
#define PFX   "sb16: "
 
#define DRIVER_NAME   "snd-card-sb16"
 
#define is_isapnp_selected(dev)   0
 
#define DEV_NAME   "sb16"
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Sound Blaster 16")
 
 MODULE_SUPPORTED_DEVICE ("{{Creative Labs,SB 16},""{Creative Labs,SB Vibra16S},""{Creative Labs,SB Vibra16C},""{Creative Labs,SB Vibra16CL},""{Creative Labs,SB Vibra16X}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for SoundBlaster 16 soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for SoundBlaster 16 soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable SoundBlaster 16 soundcard.")
 
 module_param_array (port, long, NULL, 0444)
 
 MODULE_PARM_DESC (port,"Port # for SB16 driver.")
 
 module_param_array (mpu_port, long, NULL, 0444)
 
 MODULE_PARM_DESC (mpu_port,"MPU-401 port # for SB16 driver.")
 
 module_param_array (fm_port, long, NULL, 0444)
 
 MODULE_PARM_DESC (fm_port,"FM port # for SB16 PnP driver.")
 
 module_param_array (irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (irq,"IRQ # for SB16 driver.")
 
 module_param_array (dma8, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma8,"8-bit DMA # for SB16 driver.")
 
 module_param_array (dma16, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma16,"16-bit DMA # for SB16 driver.")
 
 module_param_array (mic_agc, int, NULL, 0444)
 
 MODULE_PARM_DESC (mic_agc,"Mic Auto-Gain-Control switch.")
 

Macro Definition Documentation

#define DEV_NAME   "sb16"

Definition at line 589 of file sb16.c.

#define DRIVER_NAME   "snd-card-sb16"

Definition at line 248 of file sb16.c.

#define is_isapnp_selected (   dev)    0

Definition at line 323 of file sb16.c.

#define PFX   "sb16: "

Definition at line 42 of file sb16.c.

#define SNDRV_LEGACY_FIND_FREE_DMA

Definition at line 36 of file sb16.c.

#define SNDRV_LEGACY_FIND_FREE_IRQ

Definition at line 35 of file sb16.c.

Function Documentation

MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "Sound Blaster 16"  )
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 ( fm_port  ,
long  ,
NULL  ,
0444   
)
module_param_array ( irq  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma8  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma16  ,
int  ,
NULL  ,
0444   
)
module_param_array ( mic_agc  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for SoundBlaster 16 soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for SoundBlaster 16 soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable SoundBlaster 16 soundcard."   
)
MODULE_PARM_DESC ( port  ,
"Port # for SB16 driver."   
)
MODULE_PARM_DESC ( mpu_port  ,
"MPU-401 port # for SB16 driver."   
)
MODULE_PARM_DESC ( fm_port  ,
"FM port # for SB16 PnP driver."   
)
MODULE_PARM_DESC ( irq  ,
"IRQ # for SB16 driver."   
)
MODULE_PARM_DESC ( dma8  ,
"8-bit DMA # for SB16 driver."   
)
MODULE_PARM_DESC ( dma16  ,
"16-bit DMA # for SB16 driver."   
)
MODULE_PARM_DESC ( mic_agc  ,
"Mic Auto-Gain-Control switch."   
)
MODULE_SUPPORTED_DEVICE ( "{{Creative Labs,SB 16},""{Creative Labs,SB Vibra16S},""{Creative Labs,SB Vibra16C},""{Creative Labs,SB Vibra16CL},""{Creative Labs,SB Vibra16X}}"  )