Lines Matching +full:capture +full:- +full:only
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) by James Courtier-Dutton <[email protected]>
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 */
34 #define CAPTURE_DMA_ADDR 0x10 /* Capture DMA address */
35 #define CAPTURE_BUFFER_SIZE 0x11 /* Capture buffer size */
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…
38 #define CAPTURE_P16V_VOLUME1 0x14 /* Low: Capture volume 0xXXXX3030 */
39 #define CAPTURE_P16V_VOLUME2 0x15 /* High:Has no effect on capture volume */
40 …APTURE_P16V_SOURCE 0x16 /* P16V source select. Set to 0x0700E4E5 for AC97 CAPTURE */
41 /* [0:1] Capture input 0 channel select. 0 = Capture output 0.
42 * 1 = Capture output 1.
43 * 2 = Capture output 2.
44 * 3 = Capture output 3.
45 * [3:2] Capture input 1 channel select. 0 = Capture output 0.
46 * 1 = Capture output 1.
47 * 2 = Capture output 2.
48 * 3 = Capture output 3.
49 * [5:4] Capture input 2 channel select. 0 = Capture output 0.
50 * 1 = Capture output 1.
51 * 2 = Capture output 2.
52 * 3 = Capture output 3.
53 * [7:6] Capture input 3 channel select. 0 = Capture output 0.
54 * 1 = Capture output 1.
55 * 2 = Capture output 2.
56 * 3 = Capture output 3.
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.
86 /* 0x1 = capture on.
87 * 0x100 = capture off.
88 * 0x200 = capture off.
89 * 0x1000 = capture off.
91 #define CAPTURE_RATE_STATUS 0x17 /* Capture sample rate. Read only */
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 */
107 #define PLAYBACK_LAST_SAMPLE 0x20 /* The sample currently being played. Read only */
108 /* 0x21 - 0x3f unused */
109 #define BASIC_INTERRUPT 0x40 /* Used by both playback and capture interrupt handler */
111 /* Capture (0x100<<channel_id). not tested */
113 * Start Capture [11:8] (one bit per channel)
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 */
150 /* 0xffffffff -> 0xC0000015
155 /* 0x61 -> 0x6c are Volume controls */
198 /* [3:0] Does something, but not documented. Probably capture enable.
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 */