ca0106.h (6e1bd1ab1d9ab8e83cdc940df82fbf8418e2593f) | ca0106.h (b595076a180a56d1bb170e6eceda6eb9d76f4cd3) |
---|---|
1/* 2 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 3 * Driver CA0106 chips. e.g. Sound Blaster Audigy LS and Live 24bit 4 * Version: 0.0.22 5 * 6 * FEATURES currently supported: 7 * See ca0106_main.c for features. 8 * --- 174 unchanged lines hidden (view full) --- 183 * One list entry for each period in the buffer. 184 */ 185 /* ADDR[31:0], Default: 0x0 */ 186#define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */ 187 /* SIZE[21:16], Default: 0x8 */ 188#define PLAYBACK_LIST_PTR 0x02 /* Pointer to the current period being played */ 189 /* PTR[5:0], Default: 0x0 */ 190#define PLAYBACK_UNKNOWN3 0x03 /* Not used ?? */ | 1/* 2 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 3 * Driver CA0106 chips. e.g. Sound Blaster Audigy LS and Live 24bit 4 * Version: 0.0.22 5 * 6 * FEATURES currently supported: 7 * See ca0106_main.c for features. 8 * --- 174 unchanged lines hidden (view full) --- 183 * One list entry for each period in the buffer. 184 */ 185 /* ADDR[31:0], Default: 0x0 */ 186#define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */ 187 /* SIZE[21:16], Default: 0x8 */ 188#define PLAYBACK_LIST_PTR 0x02 /* Pointer to the current period being played */ 189 /* PTR[5:0], Default: 0x0 */ 190#define PLAYBACK_UNKNOWN3 0x03 /* Not used ?? */ |
191#define PLAYBACK_DMA_ADDR 0x04 /* Playback DMA addresss */ | 191#define PLAYBACK_DMA_ADDR 0x04 /* Playback DMA address */ |
192 /* DMA[31:0], Default: 0x0 */ 193#define PLAYBACK_PERIOD_SIZE 0x05 /* Playback period size. win2000 uses 0x04000000 */ 194 /* SIZE[31:16], Default: 0x0 */ 195#define PLAYBACK_POINTER 0x06 /* Playback period pointer. Used with PLAYBACK_LIST_PTR to determine buffer position currently in DAC */ 196 /* POINTER[15:0], Default: 0x0 */ 197#define PLAYBACK_PERIOD_END_ADDR 0x07 /* Playback fifo end address */ 198 /* END_ADDR[15:0], FLAG[16] 0 = don't stop, 1 = stop */ 199#define PLAYBACK_FIFO_OFFSET_ADDRESS 0x08 /* Current fifo offset address [21:16] */ --- 543 unchanged lines hidden --- | 192 /* DMA[31:0], Default: 0x0 */ 193#define PLAYBACK_PERIOD_SIZE 0x05 /* Playback period size. win2000 uses 0x04000000 */ 194 /* SIZE[31:16], Default: 0x0 */ 195#define PLAYBACK_POINTER 0x06 /* Playback period pointer. Used with PLAYBACK_LIST_PTR to determine buffer position currently in DAC */ 196 /* POINTER[15:0], Default: 0x0 */ 197#define PLAYBACK_PERIOD_END_ADDR 0x07 /* Playback fifo end address */ 198 /* END_ADDR[15:0], FLAG[16] 0 = don't stop, 1 = stop */ 199#define PLAYBACK_FIFO_OFFSET_ADDRESS 0x08 /* Current fifo offset address [21:16] */ --- 543 unchanged lines hidden --- |