#include <linux/delay.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/ac97_codec.h>
#include <sound/opl3.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Ash Willis <[email protected]>") |
|
| MODULE_DESCRIPTION ("Avance Logic ALS300") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_SUPPORTED_DEVICE ("{{Avance Logic,ALS300},{Avance Logic,ALS300+}}") |
|
| module_param_array (index, int, NULL, 0444) |
|
| MODULE_PARM_DESC (index,"Index value for ALS300 sound card.") |
|
| module_param_array (id, charp, NULL, 0444) |
|
| MODULE_PARM_DESC (id,"ID string for ALS300 sound card.") |
|
| module_param_array (enable, bool, NULL, 0444) |
|
| MODULE_PARM_DESC (enable,"Enable ALS300 sound card.") |
|
| MODULE_DEVICE_TABLE (pci, snd_als300_ids) |
|
| module_pci_driver (als300_driver) |
|
#define AC97_DATA_AVAIL (1<<6) |
#define ALS300_IRQ_STATUS 0x07 /* ALS300 Only */ |
#define ALS300P_DRAM_IRQ_STATUS 0x0D /* ALS300+ Only */ |
#define ALS300P_IRQ_STATUS 0x0F /* ALS300+ Only */ |
#define DRAM_MODE_2 (1<<17) |
#define DRAM_WRITE_CONTROL 0x8B |
#define FIFO_PAUSE (1<<17) |
#define IRQ_CAPTURE (1<<2) |
#define IRQ_PLAYBACK (1<<3) |
#define IRQ_SET_BIT (1<<15) |
#define MISC_CONTROL 0x8C |
#define MMUTE_NORMAL (1<<21) |
#define MPU_IRQ_STATUS 0x0E /* ALS300 Rev. E+, ALS300+ */ |
#define PLAYBACK_BLOCK_COUNTER 0x9A |
#define PLAYBACK_CONTROL 0x82 |
#define PLAYBACK_END 0x81 |
#define PLAYBACK_START 0x80 |
#define RECORD_BLOCK_COUNTER 0x9B |
#define RECORD_CONTROL 0x85 |
#define RECORD_START 0x83 |
#define snd_als300_dbgcallenter |
( |
| ) |
|
#define snd_als300_dbgcallleave |
( |
| ) |
|
#define snd_als300_dbgcalls |
( |
|
format, |
|
|
|
args... |
|
) |
| |
#define snd_als300_dbgplay |
( |
|
format, |
|
|
|
args... |
|
) |
| |
#define SND_ALS300_PM_OPS NULL |
#define TRANSFER_START (1<<16) |
#define VMUTE_NORMAL (1<<20) |
#define WRITE_TRANS_START (1<<16) |
- Enumerator:
DEVICE_ALS300 |
|
DEVICE_ALS300_PLUS |
|
Definition at line 109 of file als300.c.
MODULE_DESCRIPTION |
( |
"Avance Logic ALS300" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
snd_als300_ids |
|
|
) |
| |
module_param_array |
( |
id |
, |
|
|
charp |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
index |
, |
|
|
"Index value for ALS300 sound card." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
id |
, |
|
|
"ID string for ALS300 sound card." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
enable |
, |
|
|
"Enable ALS300 sound card." |
|
|
) |
| |
module_pci_driver |
( |
als300_driver |
| ) |
|
MODULE_SUPPORTED_DEVICE |
( |
"{{Avance Logic,ALS300},{Avance Logic,ALS300+}}" |
| ) |
|