Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/delay.h>
#include <linux/firmware.h>
#include <linux/pnp.h>
#include <linux/spinlock.h>
#include <linux/module.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/mpu401.h>
#include <sound/initval.h>
Go to the source code of this file.
Data Structures | |
struct | soundscape |
Macros | |
#define | HOST_CTRL_IO(i) ((i) + 2) |
#define | HOST_DATA_IO(i) ((i) + 3) |
#define | ODIE_ADDR_IO(i) ((i) + 4) |
#define | ODIE_DATA_IO(i) ((i) + 5) |
#define | CODEC_IO(i) ((i) + 8) |
#define | IC_ODIE 1 |
#define | IC_OPUS 2 |
#define | RX_READY 0x01 |
#define | TX_READY 0x02 |
#define | CMD_ACK 0x80 |
#define | CMD_SET_MIDI_VOL 0x84 |
#define | CMD_GET_MIDI_VOL 0x85 |
#define | CMD_XXX_MIDI_VOL 0x86 |
#define | CMD_SET_EXTMIDI 0x8a |
#define | CMD_GET_EXTMIDI 0x8b |
#define | CMD_SET_MT32 0x8c |
#define | CMD_GET_MT32 0x8d |
#define | DMA_8BIT 0x80 |
#define | INVALID_IRQ ((unsigned)-1) |
#define | MIDI_DEVNUM 0 |
#define | DEV_NAME "sscape" |
Enumerations | |
enum | GA_REG { GA_INTSTAT_REG = 0, GA_INTENA_REG, GA_DMAA_REG, GA_DMAB_REG, GA_INTCFG_REG, GA_DMACFG_REG, GA_CDCFG_REG, GA_SMCFGA_REG, GA_SMCFGB_REG, GA_HMCTL_REG } |
enum | card_type { UNKNOWN = -1, DC10_old, DC10_new, DC10plus, DC30, DC30plus, LML33, LML33R10, BUZ, AVS6EYES, NUM_CARDS, F32_2 = 2048, F32_8 = 8192, CMI8330, CMI8329, MEDIA_FX, SSCAPE, SSCAPE_PNP, SSCAPE_VIVO } |
Functions | |
MODULE_AUTHOR ("Chris Rankin") | |
MODULE_DESCRIPTION ("ENSONIQ SoundScape driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_FIRMWARE ("sndscape.co0") | |
MODULE_FIRMWARE ("sndscape.co1") | |
MODULE_FIRMWARE ("sndscape.co2") | |
MODULE_FIRMWARE ("sndscape.co3") | |
MODULE_FIRMWARE ("sndscape.co4") | |
MODULE_FIRMWARE ("scope.cod") | |
module_param_array (index, int, NULL, 0444) | |
MODULE_PARM_DESC (index,"Index number for SoundScape soundcard") | |
module_param_array (id, charp, NULL, 0444) | |
MODULE_PARM_DESC (id,"Description for SoundScape card") | |
module_param_array (port, long, NULL, 0444) | |
MODULE_PARM_DESC (port,"Port # for SoundScape driver.") | |
module_param_array (wss_port, long, NULL, 0444) | |
MODULE_PARM_DESC (wss_port,"WSS Port # for SoundScape driver.") | |
module_param_array (irq, int, NULL, 0444) | |
MODULE_PARM_DESC (irq,"IRQ # for SoundScape driver.") | |
module_param_array (mpu_irq, int, NULL, 0444) | |
MODULE_PARM_DESC (mpu_irq,"MPU401 IRQ # for SoundScape driver.") | |
module_param_array (dma, int, NULL, 0444) | |
MODULE_PARM_DESC (dma,"DMA # for SoundScape driver.") | |
module_param_array (dma2, int, NULL, 0444) | |
MODULE_PARM_DESC (dma2,"DMA2 # for SoundScape driver.") | |
module_param_array (joystick, bool, NULL, 0444) | |
MODULE_PARM_DESC (joystick,"Enable gameport.") | |
module_init (sscape_init) | |
module_exit (sscape_exit) | |
#define MIDI_DEVNUM 0 |
enum card_type |
enum GA_REG |
MODULE_AUTHOR | ( | "Chris Rankin" | ) |
MODULE_DESCRIPTION | ( | "ENSONIQ SoundScape driver" | ) |
module_exit | ( | sscape_exit | ) |
MODULE_FIRMWARE | ( | "sndscape.co0" | ) |
MODULE_FIRMWARE | ( | "sndscape.co1" | ) |
MODULE_FIRMWARE | ( | "sndscape.co2" | ) |
MODULE_FIRMWARE | ( | "sndscape.co3" | ) |
MODULE_FIRMWARE | ( | "sndscape.co4" | ) |
MODULE_FIRMWARE | ( | "scope.cod" | ) |
module_init | ( | sscape_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | wss_port | , |
"WSS Port # for SoundScape driver." | |||
) |
MODULE_PARM_DESC | ( | dma2 | , |
"DMA2 # for SoundScape driver." | |||
) |
MODULE_PARM_DESC | ( | joystick | , |
"Enable gameport." | |||
) |