Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/soundcard.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <asm/uaccess.h>
#include <asm/setup.h>
#include <asm/amigahw.h>
#include <asm/amigaints.h>
#include <asm/machdep.h>
#include "dmasound.h"
Go to the source code of this file.
Macros | |
#define | DMASOUND_PAULA_REVISION 0 |
#define | DMASOUND_PAULA_EDITION 4 |
#define | custom amiga_custom |
#define | AMI_AUDIO_OFF (DMAF_AUD0 | DMAF_AUD1 | DMAF_AUD2 | DMAF_AUD3) |
#define | AMI_AUDIO_8 (DMAF_SETCLR | DMAF_MASTER | DMAF_AUD0 | DMAF_AUD1) |
#define | AMI_AUDIO_14 (AMI_AUDIO_8 | DMAF_AUD2 | DMAF_AUD3) |
#define | disable_heartbeat() do { } while (0) |
#define | enable_heartbeat() do { } while (0) |
#define | GENERATE_AMI_CT8(funcname, convsample) |
#define | AMI_CT_ULAW(x) (dmasound_ulaw2dma8[(x)]) |
#define | AMI_CT_ALAW(x) (dmasound_alaw2dma8[(x)]) |
#define | AMI_CT_U8(x) ((x) ^ 0x80) |
#define | GENERATE_AMI_CT_16(funcname, convsample) |
#define | AMI_CT_S16BE(x) (x) |
#define | AMI_CT_U16BE(x) ((x) ^ 0x8000) |
#define | AMI_CT_S16LE(x) (le2be16((x))) |
#define | AMI_CT_U16LE(x) (le2be16((x)) ^ 0x8000) |
#define | VOLUME_VOXWARE_TO_AMI(v) (((v) < 0) ? 0 : ((v) > 100) ? 64 : ((v) * 64)/100) |
#define | VOLUME_AMI_TO_VOXWARE(v) ((v)*100/64) |
#define | AMI_PLAY_LOADED 1 |
#define | AMI_PLAY_PLAYING 2 |
#define | AMI_PLAY_MASK 3 |
Functions | |
module_init (amiga_audio_init) | |
module_exit (amiga_audio_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:amiga-audio") | |
Variables | |
volatile u_short | amiga_audio_min_period |
u_short | amiga_audio_period |
#define AMI_AUDIO_14 (AMI_AUDIO_8 | DMAF_AUD2 | DMAF_AUD3) |
Definition at line 60 of file dmasound_paula.c.
#define AMI_AUDIO_8 (DMAF_SETCLR | DMAF_MASTER | DMAF_AUD0 | DMAF_AUD1) |
Definition at line 59 of file dmasound_paula.c.
Definition at line 58 of file dmasound_paula.c.
Definition at line 227 of file dmasound_paula.c.
Definition at line 286 of file dmasound_paula.c.
Definition at line 288 of file dmasound_paula.c.
Definition at line 287 of file dmasound_paula.c.
Definition at line 289 of file dmasound_paula.c.
Definition at line 228 of file dmasound_paula.c.
Definition at line 226 of file dmasound_paula.c.
#define AMI_PLAY_LOADED 1 |
Definition at line 456 of file dmasound_paula.c.
#define AMI_PLAY_MASK 3 |
Definition at line 458 of file dmasound_paula.c.
#define AMI_PLAY_PLAYING 2 |
Definition at line 457 of file dmasound_paula.c.
#define custom amiga_custom |
Definition at line 37 of file dmasound_paula.c.
#define disable_heartbeat | ( | ) | do { } while (0) |
Definition at line 112 of file dmasound_paula.c.
#define DMASOUND_PAULA_EDITION 4 |
Definition at line 35 of file dmasound_paula.c.
#define DMASOUND_PAULA_REVISION 0 |
Definition at line 34 of file dmasound_paula.c.
#define enable_heartbeat | ( | ) | do { } while (0) |
Definition at line 113 of file dmasound_paula.c.
#define GENERATE_AMI_CT8 | ( | funcname, | |
convsample | |||
) |
Definition at line 188 of file dmasound_paula.c.
#define GENERATE_AMI_CT_16 | ( | funcname, | |
convsample | |||
) |
Definition at line 239 of file dmasound_paula.c.
Definition at line 424 of file dmasound_paula.c.
Definition at line 422 of file dmasound_paula.c.
MODULE_ALIAS | ( | "platform:amiga-audio" | ) |
module_exit | ( | amiga_audio_exit | ) |
module_init | ( | amiga_audio_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
volatile u_short amiga_audio_min_period |
Definition at line 33 of file amisound.c.
u_short amiga_audio_period |
Definition at line 43 of file amisound.c.