Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / m68k / include / asm / mac_asc.h
blob0759902513458a8d549a40417b8cced86e0b8c4c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Apple Sound Chip
4 */
6 #ifndef __ASM_MAC_ASC_H
7 #define __ASM_MAC_ASC_H
9 /*
10 * ASC offsets and controls
13 #define ASC_BUF_BASE 0x00 /* RAM buffer offset */
14 #define ASC_BUF_SIZE 0x800
16 #define ASC_CONTROL 0x800
17 #define ASC_CONTROL_OFF 0x00
18 #define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte))
19 #define ASC_ENABLE 0x801
20 #define ASC_ENABLE_SAMPLE 0x02
21 #define ASC_MODE 0x802
22 #define ASC_MODE_SAMPLE 0x02
24 #define ASC_VOLUME 0x806
25 #define ASC_CHAN 0x807 /* ??? */
28 #endif