Lines Matching +full:48 +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
9 * Rates: 44.1, 48, 96, 192.
17 * Corrected speaker output, so Front -> Front etc.
36 * Merging with snd-emu10k1 driver.
38 * One stereo channel at 24bit now works.
45 * Some stability problems when unloading the snd-p16v kernel module.
46 * --
53 * --
56 * P16V Chip: CA0151-DBS
57 * Audigy 2 Chip: CA0102-IAT
59 * ADC: Philips 1361T (Stereo 24bit)
60 * DAC: CS4382-K (8-channel, 24bit, 192Khz)
67 /* Audigy2 P16V pointer-offset register set, accessed through the PTR2 and DATA2 registers …
81 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */
129 * [19:16] Playback mixer output enable. 1 bit per channel.
130 * [23:20] Capture mixer output enable. 1 bit per channel.
131 * [26:24] FX engine channel capture 0 = 0x60-0x67.
132 * 1 = 0x68-0x6f.
133 * 2 = 0x70-0x77.
134 * 3 = 0x78-0x7f.
135 * 4 = 0x80-0x87.
136 * 5 = 0x88-0x8f.
137 * 6 = 0x90-0x97.
138 * 7 = 0x98-0x9f.
149 * [18:16] Channel 0 Detected sample rate. 0 - 44.1khz
150 * 1 - 48 khz
151 * 2 - 96 khz
152 * 3 - 192 khz
153 * 7 - undefined rate.
154 * [19] Channel 0. 1 - Valid, 0 - Not Valid.
156 * [23] Channel 1. 1 - Valid, 0 - Not Valid.
158 * [27] Channel 2. 1 - Valid, 0 - Not Valid.
160 * [31] Channel 3. 1 - Valid, 0 - Not Valid.
162 /* 0x18 - 0x1f unused */
164 /* 0x21 - 0x3f unused */
168 /* Start Playback [3:0] (one bit per channel)
169 * Start Capture [11:8] (one bit per channel)
174 * 0 - SPDIF channel.
175 * 1 - I2S channel.
176 * 2 - SRC48 channel.
177 * 3 - SRCMulti_SPDIF channel.
178 * 4 - SRCMulti_I2S channel.
179 * 5 - SPDIF channel.
180 * 6 - fxengine capture.
181 * 7 - AC97 capture.
185 * Writing 0xffff0000 -> 77770000 so it must be some sort of route.
186 * bit 0x1 starts DMA playback on channel_id 0
188 /* 0x41,42 take values from 0 - 0xffffffff, but have no effect on playback */
190 /* 0x41-45 unused */
191 #define WATERMARK 0x46 /* Test bit to indicate cache level usage */
196 /* 0x47-0x4f unused */
197 /* 0x50-0x5f Capture cache data */
203 /* SRC48 converts samples rates 44.1, 48, 96, 192 to 48 khz. */
204 /* SRCMulti converts 48khz samples rates to 44.1, 48, 96, 192 to 48. */
206 /* 0xffffffff -> 0xC0000015
211 /* 0x61 -> 0x6c are Volume controls */
230 /* SRC48 converts samples rates 44.1, 48, 96, 192 to 48 khz. */
235 /* SRCMulti converts 48khz samples rates to 44.1, 48, 96, 192 to 48. */
257 * [30] 0 = SRCMulti_I2S input from fxengine 0x68-0x6f.
259 * [31] 0 = SRCMulti_SPDIF input from fxengine 0x60-0x67.
262 /* 0xffffffff -> C00100FF */
263 /* 0 -> Not playback sound, irq still running */
270 /* 0xffffffff -> 3FF30FFF */
274 /* 0xffffffff -> F33FFFFF */
278 /* 0x74-0x75 unknown */