Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/isa.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <asm/processor.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/wss.h>
#include <sound/mpu401.h>
#include <sound/opl3.h>
Go to the source code of this file.
Data Structures | |
struct | snd_galaxy |
Macros | |
#define | DSP_PORT_RESET 0x6 |
#define | DSP_PORT_READ 0xa |
#define | DSP_PORT_COMMAND 0xc |
#define | DSP_PORT_STATUS 0xc |
#define | DSP_PORT_DATA_AVAIL 0xe |
#define | DSP_SIGNATURE 0xaa |
#define | DSP_COMMAND_GET_VERSION 0xe1 |
#define | WSS_CONFIG_DMA_0 (1 << 0) |
#define | WSS_CONFIG_DMA_1 (2 << 0) |
#define | WSS_CONFIG_DMA_3 (3 << 0) |
#define | WSS_CONFIG_DUPLEX (1 << 2) |
#define | WSS_CONFIG_IRQ_7 (1 << 3) |
#define | WSS_CONFIG_IRQ_9 (2 << 3) |
#define | WSS_CONFIG_IRQ_10 (3 << 3) |
#define | WSS_CONFIG_IRQ_11 (4 << 3) |
#define | WSS_PORT_CONFIG 0 |
#define | WSS_PORT_SIGNATURE 3 |
#define | WSS_SIGNATURE 4 |
#define | GALAXY_PORT_CONFIG 1024 |
#define | CONFIG_PORT_SET 4 |
#define | DSP_COMMAND_GALAXY_8 8 |
#define | GALAXY_COMMAND_GET_TYPE 5 |
#define | DSP_COMMAND_GALAXY_9 9 |
#define | GALAXY_COMMAND_WSSMODE 0 |
#define | GALAXY_COMMAND_SB8MODE 1 |
#define | GALAXY_MODE_WSS GALAXY_COMMAND_WSSMODE |
#define | GALAXY_MODE_SB8 GALAXY_COMMAND_SB8MODE |
Functions | |
MODULE_DESCRIPTION (CRD_NAME) | |
MODULE_AUTHOR ("Rene Herman") | |
MODULE_LICENSE ("GPL") | |
module_param_array (index, int, NULL, 0444) | |
MODULE_PARM_DESC (index,"Index value for "CRD_NAME" soundcard.") | |
module_param_array (id, charp, NULL, 0444) | |
MODULE_PARM_DESC (id,"ID string for "CRD_NAME" soundcard.") | |
module_param_array (enable, bool, NULL, 0444) | |
MODULE_PARM_DESC (enable,"Enable "CRD_NAME" soundcard.") | |
module_param_array (port, long, NULL, 0444) | |
MODULE_PARM_DESC (port,"Port # for "CRD_NAME" driver.") | |
module_param_array (wss_port, long, NULL, 0444) | |
MODULE_PARM_DESC (wss_port,"WSS port # for "CRD_NAME" driver.") | |
module_param_array (mpu_port, long, NULL, 0444) | |
MODULE_PARM_DESC (mpu_port,"MPU-401 port # for "CRD_NAME" driver.") | |
module_param_array (fm_port, long, NULL, 0444) | |
MODULE_PARM_DESC (fm_port,"FM port # for "CRD_NAME" driver.") | |
module_param_array (irq, int, NULL, 0444) | |
MODULE_PARM_DESC (irq,"IRQ # for "CRD_NAME" driver.") | |
module_param_array (mpu_irq, int, NULL, 0444) | |
MODULE_PARM_DESC (mpu_irq,"MPU-401 IRQ # for "CRD_NAME" driver.") | |
module_param_array (dma1, int, NULL, 0444) | |
MODULE_PARM_DESC (dma1,"Playback DMA # for "CRD_NAME" driver.") | |
module_param_array (dma2, int, NULL, 0444) | |
MODULE_PARM_DESC (dma2,"Capture DMA # for "CRD_NAME" driver.") | |
module_init (alsa_card_galaxy_init) | |
module_exit (alsa_card_galaxy_exit) | |
#define GALAXY_MODE_SB8 GALAXY_COMMAND_SB8MODE |
#define GALAXY_MODE_WSS GALAXY_COMMAND_WSSMODE |
MODULE_AUTHOR | ( | "Rene Herman" | ) |
MODULE_DESCRIPTION | ( | CRD_NAME | ) |
module_exit | ( | alsa_card_galaxy_exit | ) |
module_init | ( | alsa_card_galaxy_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | enable | , |
"Enable "CRD_NAME" soundcard." | |||
) |