mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
28 lines
481 B
C
28 lines
481 B
C
/*
|
|
* Apple Sound Chip
|
|
*/
|
|
|
|
#ifndef __ASM_MAC_ASC_H
|
|
#define __ASM_MAC_ASC_H
|
|
|
|
/*
|
|
* ASC offsets and controls
|
|
*/
|
|
|
|
#define ASC_BUF_BASE 0x00 /* RAM buffer offset */
|
|
#define ASC_BUF_SIZE 0x800
|
|
|
|
#define ASC_CONTROL 0x800
|
|
#define ASC_CONTROL_OFF 0x00
|
|
#define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte))
|
|
#define ASC_ENABLE 0x801
|
|
#define ASC_ENABLE_SAMPLE 0x02
|
|
#define ASC_MODE 0x802
|
|
#define ASC_MODE_SAMPLE 0x02
|
|
|
|
#define ASC_VOLUME 0x806
|
|
#define ASC_CHAN 0x807 /* ??? */
|
|
|
|
|
|
#endif
|