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

Go to the source code of this file.

Data Structures

struct  snd_card_jazz16
 

Macros

#define SNDRV_LEGACY_FIND_FREE_IRQ
 
#define SNDRV_LEGACY_FIND_FREE_DMA
 
#define PFX   "jazz16: "
 
#define SB_JAZZ16_WAKEUP   0xaf
 
#define SB_JAZZ16_SET_PORTS   0x50
 
#define SB_DSP_GET_JAZZ_BRD_REV   0xfa
 
#define SB_JAZZ16_SET_DMAINTR   0xfb
 
#define SB_DSP_GET_JAZZ_MODEL   0xfe
 

Functions

 MODULE_DESCRIPTION ("Media Vision Jazz16")
 
 MODULE_SUPPORTED_DEVICE ("{{Media Vision ??? },""{RTL,RTL3000}}")
 
 MODULE_AUTHOR ("Krzysztof Helt <krzysztof.h1@wp.pl>")
 
 MODULE_LICENSE ("GPL")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for Media Vision Jazz16 based soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for Media Vision Jazz16 based soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable Media Vision Jazz16 based soundcard.")
 
 module_param_array (port, long, NULL, 0444)
 
 MODULE_PARM_DESC (port,"Port # for jazz16 driver.")
 
 module_param_array (mpu_port, long, NULL, 0444)
 
 MODULE_PARM_DESC (mpu_port,"MPU-401 port # for jazz16 driver.")
 
 module_param_array (irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (irq,"IRQ # for jazz16 driver.")
 
 module_param_array (mpu_irq, int, NULL, 0444)
 
 MODULE_PARM_DESC (mpu_irq,"MPU-401 IRQ # for jazz16 driver.")
 
 module_param_array (dma8, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma8,"DMA8 # for jazz16 driver.")
 
 module_param_array (dma16, int, NULL, 0444)
 
 MODULE_PARM_DESC (dma16,"DMA16 # for jazz16 driver.")
 

Macro Definition Documentation

#define PFX   "jazz16: "

Definition at line 28 of file jazz16.c.

#define SB_DSP_GET_JAZZ_BRD_REV   0xfa

Definition at line 68 of file jazz16.c.

#define SB_DSP_GET_JAZZ_MODEL   0xfe

Definition at line 70 of file jazz16.c.

#define SB_JAZZ16_SET_DMAINTR   0xfb

Definition at line 69 of file jazz16.c.

#define SB_JAZZ16_SET_PORTS   0x50

Definition at line 67 of file jazz16.c.

#define SB_JAZZ16_WAKEUP   0xaf

Definition at line 66 of file jazz16.c.

#define SNDRV_LEGACY_FIND_FREE_DMA

Definition at line 25 of file jazz16.c.

#define SNDRV_LEGACY_FIND_FREE_IRQ

Definition at line 24 of file jazz16.c.

Function Documentation

MODULE_AUTHOR ( "Krzysztof Helt <krzysztof.h1@wp.pl>"  )
MODULE_DESCRIPTION ( "Media Vision Jazz16"  )
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 ( dma8  ,
int  ,
NULL  ,
0444   
)
module_param_array ( dma16  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for Media Vision Jazz16 based soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for Media Vision Jazz16 based soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable Media Vision Jazz16 based soundcard."   
)
MODULE_PARM_DESC ( port  ,
"Port # for jazz16 driver."   
)
MODULE_PARM_DESC ( mpu_port  ,
"MPU-401 port # for jazz16 driver."   
)
MODULE_PARM_DESC ( irq  ,
"IRQ # for jazz16 driver."   
)
MODULE_PARM_DESC ( mpu_irq  ,
"MPU-401 IRQ # for jazz16 driver."   
)
MODULE_PARM_DESC ( dma8  ,
"DMA8 # for jazz16 driver."   
)
MODULE_PARM_DESC ( dma16  ,
"DMA16 # for jazz16 driver."   
)
MODULE_SUPPORTED_DEVICE ( "{{Media Vision ??? },""{RTL,RTL3000}}"  )