Lines Matching +full:channel +full:- +full:2
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 …
25 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */
41 /* [0:1] Capture input 0 channel select. 0 = Capture output 0.
43 * 2 = Capture output 2.
45 * [3:2] Capture input 1 channel select. 0 = Capture output 0.
47 * 2 = Capture output 2.
49 * [5:4] Capture input 2 channel select. 0 = Capture output 0.
51 * 2 = Capture output 2.
53 * [7:6] Capture input 3 channel select. 0 = Capture output 0.
55 * 2 = Capture output 2.
57 * [9:8] Playback input 0 channel select. 0 = Play output 0.
59 * 2 = Play output 2.
61 * [11:10] Playback input 1 channel select. 0 = Play output 0.
63 * 2 = Play output 2.
65 * [13:12] Playback input 2 channel select. 0 = Play output 0.
67 * 2 = Play output 2.
69 * [15:14] Playback input 3 channel select. 0 = Play output 0.
71 * 2 = Play output 2.
73 * [19:16] Playback mixer output enable. 1 bit per channel.
74 * [23:20] Capture mixer output enable. 1 bit per channel.
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.
99 * [22:20] Channel 1 Detected sample rate.
100 * [23] Channel 1. 1 - Valid, 0 - Not Valid.
101 * [26:24] Channel 2 Detected sample rate.
102 * [27] Channel 2. 1 - Valid, 0 - Not Valid.
103 * [30:28] Channel 3 Detected sample rate.
104 * [31] Channel 3. 1 - Valid, 0 - Not Valid.
106 /* 0x18 - 0x1f unused */
108 /* 0x21 - 0x3f unused */
112 /* Start Playback [3:0] (one bit per channel)
113 * Start Capture [11:8] (one bit per channel)
114 * Record source select for channel 0 [18:16]
115 * Record source select for channel 1 [22:20]
116 * Record source select for channel 2 [26:24]
117 * Record source select for channel 3 [30:28]
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 */
136 /* Values it can have while playing on channel 0.
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 */
175 /* [23:16] The corresponding P16V channel to SRC48 enabled if == 1.
176 * [31:24] The corresponding E10K2 channel to SRC48 enabled.
180 /* [7:0] The corresponding P16V channel to SRCMulti_I2S enabled if == 1.
181 * [15:8] The corresponding E10K2 channel to SRCMulti I2S enabled.
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 */
222 /* 0x74-0x75 unknown */
227 #define CAPURE_SPDIF_USER_DATA2 0x7a /* SPDIF in user data 2 */