Lines Matching +full:spdif +full:- +full:in

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
11 /* Audigy2 P16V pointer-offset register set, accessed through the PTR2 and DATA2 registers …
14 /* The sample rate of the SPDIF outputs is set by modifying a register in the EMU10K2 PTR register …
23 * One list entry for each period in the buffer.
25 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */
30 …ayback period pointer. Used with PLAYBACK_LIST_PTR to determine buffer position currently in DAC */
32 #define PLAYBACK_FIFO_POINTER 0x08 /* Playback FIFO pointer and number of valid sound samples in c…
36 #define CAPTURE_POINTER 0x12 /* Capture buffer pointer. Sample currently in ADC */
37 #define CAPTURE_FIFO_POINTER 0x13 /* Capture FIFO pointer and number of valid sound samples in cac…
75 * [26:24] FX engine channel capture 0 = 0x60-0x67.
76 * 1 = 0x68-0x6f.
77 * 2 = 0x70-0x77.
78 * 3 = 0x78-0x7f.
79 * 4 = 0x80-0x87.
80 * 5 = 0x88-0x8f.
81 * 6 = 0x90-0x97.
82 * 7 = 0x98-0x9f.
93 * [18:16] Channel 0 Detected sample rate. 0 - 44.1khz
94 * 1 - 48 khz
95 * 2 - 96 khz
96 * 3 - 192 khz
97 * 7 - undefined rate.
98 * [19] Channel 0. 1 - Valid, 0 - Not Valid.
100 * [23] Channel 1. 1 - Valid, 0 - Not Valid.
102 * [27] Channel 2. 1 - Valid, 0 - Not Valid.
104 * [31] Channel 3. 1 - Valid, 0 - Not Valid.
106 /* 0x18 - 0x1f unused */
108 /* 0x21 - 0x3f unused */
118 * 0 - SPDIF channel.
119 * 1 - I2S channel.
120 * 2 - SRC48 channel.
121 * 3 - SRCMulti_SPDIF channel.
122 * 4 - SRCMulti_I2S channel.
123 * 5 - SPDIF channel.
124 * 6 - fxengine capture.
125 * 7 - AC97 capture.
129 * Writing 0xffff0000 -> 77770000 so it must be some sort of route.
132 /* 0x41,42 take values from 0 - 0xffffffff, but have no effect on playback */
134 /* 0x41-45 unused */
140 /* 0x47-0x4f unused */
141 /* 0x50-0x5f Capture cache data */
144 * [2] 0 = 10K2 audio, 1 = SRCMulti SPDIF mixer output.
150 /* 0xffffffff -> 0xC0000015
155 /* 0x61 -> 0x6c are Volume controls */
158 #define PLAYBACK_VOLUME_MIXER3 0x63 /* SRCMULTI SPDIF Low to mixer input volume control. */
159 #define PLAYBACK_VOLUME_MIXER4 0x64 /* SRCMULTI SPDIF High to mixer input volume control. */
162 #define PLAYBACK_VOLUME_MIXER7 0x67 /* P16V Low to SRCMULTI SPDIF mixer input volume control. */
163 #define PLAYBACK_VOLUME_MIXER8 0x68 /* P16V High to SRCMULTI SPDIF mixer input volume control. */
182 * [23:16] The corresponding P16V channel to SRCMulti SPDIF enabled.
183 * [31:24] The corresponding E10K2 channel to SRCMulti SPDIF enabled.
201 * [30] 0 = SRCMulti_I2S input from fxengine 0x68-0x6f.
203 * [31] 0 = SRCMulti_SPDIF input from fxengine 0x60-0x67.
206 /* 0xffffffff -> C00100FF */
207 /* 0 -> Not playback sound, irq still running */
214 /* 0xffffffff -> 3FF30FFF */
218 /* 0xffffffff -> F33FFFFF */
220 #define PLAYBACK_SPDIF_USER_DATA0 0x72 /* SPDIF out user data 0 */
221 #define PLAYBACK_SPDIF_USER_DATA1 0x73 /* SPDIF out user data 1 */
222 /* 0x74-0x75 unknown */
223 #define CAPTURE_SPDIF_CONTROL 0x76 /* SPDIF in control setting */
224 #define CAPTURE_SPDIF_STATUS 0x77 /* SPDIF in status */
225 #define CAPURE_SPDIF_USER_DATA0 0x78 /* SPDIF in user data 0 */
226 #define CAPURE_SPDIF_USER_DATA1 0x79 /* SPDIF in user data 1 */
227 #define CAPURE_SPDIF_USER_DATA2 0x7a /* SPDIF in user data 2 */