Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/pnp.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/mpu401.h>
#include <sound/opl4.h>
#include <sound/control.h>
#include <sound/info.h>
#include <sound/initval.h>
#include <sound/aci.h>
Go to the source code of this file.
Data Structures | |
struct | snd_miro |
Macros | |
#define | SNDRV_LEGACY_FIND_FREE_IOPORT |
#define | SNDRV_LEGACY_FIND_FREE_IRQ |
#define | SNDRV_LEGACY_FIND_FREE_DMA |
#define | OPTi9XX_HW_DETECT 0 |
#define | OPTi9XX_HW_82C928 1 |
#define | OPTi9XX_HW_82C929 2 |
#define | OPTi9XX_HW_82C924 3 |
#define | OPTi9XX_HW_82C925 4 |
#define | OPTi9XX_HW_82C930 5 |
#define | OPTi9XX_HW_82C931 6 |
#define | OPTi9XX_HW_82C933 7 |
#define | OPTi9XX_HW_LAST OPTi9XX_HW_82C933 |
#define | OPTi9XX_MC_REG(n) n |
#define | snd_miro_info_capture snd_ctl_boolean_mono_info |
#define | snd_miro_info_amp snd_ctl_boolean_mono_info |
#define | MIRO_DOUBLE(ctl_name, ctl_index, get_right_reg, set_right_reg) |
#define | snd_miro_write_mask(chip, reg, value, mask) |
#define | DEV_NAME "miro" |
Functions | |
MODULE_AUTHOR ("Martin Langer <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("Miro miroSOUND PCM1 pro, PCM12, PCM20 Radio") | |
MODULE_SUPPORTED_DEVICE ("{{Miro,miroSOUND PCM1 pro}, ""{Miro,miroSOUND PCM12}, ""{Miro,miroSOUND PCM20 Radio}}") | |
module_param (index, int, 0444) | |
MODULE_PARM_DESC (index,"Index value for miro soundcard.") | |
module_param (id, charp, 0444) | |
MODULE_PARM_DESC (id,"ID string for miro soundcard.") | |
module_param (port, long, 0444) | |
MODULE_PARM_DESC (port,"WSS port # for miro driver.") | |
module_param (mpu_port, long, 0444) | |
MODULE_PARM_DESC (mpu_port,"MPU-401 port # for miro driver.") | |
module_param (fm_port, long, 0444) | |
MODULE_PARM_DESC (fm_port,"FM Port # for miro driver.") | |
module_param (irq, int, 0444) | |
MODULE_PARM_DESC (irq,"WSS irq # for miro driver.") | |
module_param (mpu_irq, int, 0444) | |
MODULE_PARM_DESC (mpu_irq,"MPU-401 irq # for miro driver.") | |
module_param (dma1, int, 0444) | |
MODULE_PARM_DESC (dma1,"1st dma # for miro driver.") | |
module_param (dma2, int, 0444) | |
MODULE_PARM_DESC (dma2,"2nd dma # for miro driver.") | |
module_param (wss, int, 0444) | |
MODULE_PARM_DESC (wss,"wss mode") | |
module_param (ide, int, 0444) | |
MODULE_PARM_DESC (ide,"enable ide port") | |
int | snd_aci_cmd (struct snd_miro_aci *aci, int write1, int write2, int write3) |
EXPORT_SYMBOL (snd_aci_cmd) | |
struct snd_miro_aci * | snd_aci_get_aci (void) |
EXPORT_SYMBOL (snd_aci_get_aci) | |
#define MIRO_DOUBLE | ( | ctl_name, | |
ctl_index, | |||
get_right_reg, | |||
set_right_reg | |||
) |
#define OPTi9XX_HW_LAST OPTi9XX_HW_82C933 |
#define snd_miro_info_amp snd_ctl_boolean_mono_info |
#define snd_miro_info_capture snd_ctl_boolean_mono_info |
EXPORT_SYMBOL | ( | snd_aci_cmd | ) |
EXPORT_SYMBOL | ( | snd_aci_get_aci | ) |
MODULE_AUTHOR | ( | "Martin Langer <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Miro miroSOUND PCM1 | pro, |
PCM12 | , | ||
PCM20 Radio" | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | id | , |
charp | , | ||
0444 | |||
) |
module_param | ( | mpu_port | , |
long | , | ||
0444 | |||
) |
module_param | ( | fm_port | , |
long | , | ||
0444 | |||
) |
module_param | ( | mpu_irq | , |
int | , | ||
0444 | |||
) |
module_param | ( | dma1 | , |
int | , | ||
0444 | |||
) |
module_param | ( | dma2 | , |
int | , | ||
0444 | |||
) |
module_param | ( | wss | , |
int | , | ||
0444 | |||
) |
module_param | ( | ide | , |
int | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | fm_port | , |
"FM Port # for miro driver." | |||
) |
MODULE_PARM_DESC | ( | dma1 | , |
"1st dma # for miro driver." | |||
) |
MODULE_PARM_DESC | ( | dma2 | , |
"2nd dma # for miro driver." | |||
) |
MODULE_PARM_DESC | ( | wss | , |
"wss mode" | |||
) |
MODULE_PARM_DESC | ( | ide | , |
"enable ide port" | |||
) |
MODULE_SUPPORTED_DEVICE | ( | "{{Miro,miroSOUND PCM1 pro}, ""{Miro,miroSOUND PCM12}, ""{Miro,miroSOUND PCM20 Radio}}" | ) |
|
read |