Lines Matching +full:3 +full:- +full:channel

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
8 * Output fixed at S32_LE, 2 channel to hw:0,0
15 * Use 2 channel output streams instead of 8 channel.
16 * (8 channel output streams might be good for ASIO type output)
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
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 */
97 /* [0:1] Capture input 0 channel select. 0 = Capture output 0.
100 * 3 = Capture output 3.
101 * [3:2] Capture input 1 channel select. 0 = Capture output 0.
104 * 3 = Capture output 3.
105 * [5:4] Capture input 2 channel select. 0 = Capture output 0.
108 * 3 = Capture output 3.
109 * [7:6] Capture input 3 channel select. 0 = Capture output 0.
112 * 3 = Capture output 3.
113 * [9:8] Playback input 0 channel select. 0 = Play output 0.
116 * 3 = Play output 3.
117 * [11:10] Playback input 1 channel select. 0 = Play output 0.
120 * 3 = Play output 3.
121 * [13:12] Playback input 2 channel select. 0 = Play output 0.
124 * 3 = Play output 3.
125 * [15:14] Playback input 3 channel select. 0 = Play output 0.
128 * 3 = Play output 3.
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.
155 * [22:20] Channel 1 Detected sample rate.
156 * [23] Channel 1. 1 - Valid, 0 - Not Valid.
157 * [26:24] Channel 2 Detected sample rate.
158 * [27] Channel 2. 1 - Valid, 0 - Not Valid.
159 * [30:28] Channel 3 Detected sample rate.
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)
170 * Record source select for channel 0 [18:16]
171 * Record source select for channel 1 [22:20]
172 * Record source select for channel 2 [26:24]
173 * Record source select for channel 3 [30:28]
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.
188 /* 0x41,42 take values from 0 - 0xffffffff, but have no effect on playback */
190 /* 0x41-45 unused */
192 /* Values it can have while playing on channel 0.
196 /* 0x47-0x4f unused */
197 /* 0x50-0x5f Capture cache data */
206 /* 0xffffffff -> 0xC0000015
211 /* 0x61 -> 0x6c are Volume controls */
231 /* [23:16] The corresponding P16V channel to SRC48 enabled if == 1.
232 * [31:24] The corresponding E10K2 channel to SRC48 enabled.
236 /* [7:0] The corresponding P16V channel to SRCMulti_I2S enabled if == 1.
237 * [15:8] The corresponding E10K2 channel to SRCMulti I2S enabled.
238 * [23:16] The corresponding P16V channel to SRCMulti SPDIF enabled.
239 * [31:24] The corresponding E10K2 channel to SRCMulti SPDIF enabled.
254 /* [3:0] Does something, but not documented. Probably capture enable.
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 */