Lines Matching +full:clock +full:- +full:accuracy
2 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
49 * Implement support for Line-in capture on SB Live 24bit.
69 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
88 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
89 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
102 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
103 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */
108 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
109 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
122 #define INTE_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
123 #define INTE_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */
148 #define HCFG_AUDIOENABLE 0x00000001 /* 0 = CODECs transmit zero-valued samples */
151 #define GPIO 0x18 /* Defaults: 005f03a3-Analog, 005f02a2-SPDIF. */
155 * bit 8 0 = SPDIF in and out / 1 = Analog (Mic or Line)-in.
157 * bit 10 0 = Line-in / 1 = Mic-in.
175 /* CA0106 pointer-offset register set, accessed through the PTR and DATA registers …
186 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */
211 /* 0x21 - 0x3f unused */
223 * The jack has 4 poles. I will call 1 - Tip, 2 - Next to 1, 3 - Next to 2, 4 - Next to 3
224 * For Analogue: 1 -> Center Speaker, 2 -> Sub Woofer, 3 -> Ground, 4 -> Ground
225 * For Digital: 1 -> Front SPDIF, 2 -> Rear SPDIF, 3 -> Center/Subwoofer SPDIF, 4 -> Ground.
226 …andard 4 pole Video A/V cable with RCA outputs: 1 -> White, 2 -> Yellow, 3 -> Shield on all three,…
234 /* A standard 2 pole mono mini-jack to RCA plug can be used for SPDIF Stereo PCM output from the Fr…
235 …* A standard 3 pole stereo mini-jack to 2 RCA plugs can be used for SPDIF AC3/DTS and Stereo PCM o…
237 #define SPCS0 0x41 /* SPDIF output Channel Status 0 register. For Rear. default=0x02108004, non-…
242 #define SPCS_CLKACCYMASK 0x30000000 /* Clock accuracy */
245 #define SPCS_CLKACCY_VARIABLE 0x20000000 /* Variable accuracy */
256 #define SPCS_GENERATIONSTATUS 0x00008000 /* Originality flag (see IEC-958 spec) */
257 #define SPCS_CATEGORYCODEMASK 0x00007f00 /* Category code (see IEC-958 spec) */
258 #define SPCS_MODEMASK 0x000000c0 /* Mode (see IEC-958 spec) */
262 #define SPCS_COPYRIGHT 0x00000004 /* Copyright asserted flag -- do not modify */
264 #define SPCS_PROFESSIONAL 0x00000001 /* 0 = Consumer (IEC-958), 1 = pro (AES3-1992) */
296 #define SPDIF_SELECT1 0x45 /* Enables SPDIF or Analogue outputs 0-SPDIF, 0xf00-Analogue */
297 /* 0x100 - Front, 0x800 - Rear, 0x200 - Center/LFE.
327 #define CAPTURE_CACHE_DATA 0x50 /* 0x50-0x5f Recorded samples. */
330 #define CAPTURE_SOURCE_CHANNEL1 0x0f000000 /* 0 - SPDIF mixer output. */
331 #define CAPTURE_SOURCE_CHANNEL2 0x00f00000 /* 1 - What you hear or . 2 - ?? */
332 #define CAPTURE_SOURCE_CHANNEL3 0x000f0000 /* 3 - Mic in, Line in, TAD in, Aux in. */
339 * 0 - SPDIF mixer output.
340 * 1 - i2s mixer output.
341 * 2 - SPDIF input.
342 * 3 - i2s input.
343 * 4 - AC97 capture.
344 * 5 - SRC output.
346 #define CAPTURE_VOLUME1 0x61 /* Capture volume per channel 0-3 */
347 #define CAPTURE_VOLUME2 0x62 /* Capture volume per channel 4-7 */
349 #define PLAYBACK_ROUTING1 0x63 /* Playback routing of channels 0-7. Effects AC3 ou…
356 /* Host channel 0 [2:0] -> SPDIF Mixer/Router channel 0-7.
357 * Host channel 1 [6:4] -> SPDIF Mixer/Router channel 0-7.
358 * Host channel 2 [10:8] -> SPDIF Mixer/Router channel 0-7.
359 * Host channel 3 [14:12] -> SPDIF Mixer/Router channel 0-7.
360 * Host channel 4 [18:16] -> SPDIF Mixer/Router channel 0-7.
361 * Host channel 5 [22:20] -> SPDIF Mixer/Router channel 0-7.
362 * Host channel 6 [26:24] -> SPDIF Mixer/Router channel 0-7.
363 * Host channel 7 [30:28] -> SPDIF Mixer/Router channel 0-7.
368 /* SRC channel 0 [2:0] -> SPDIF Mixer/Router channel 0-7.
369 * SRC channel 1 [6:4] -> SPDIF Mixer/Router channel 0-7.
370 * SRC channel 2 [10:8] -> SPDIF Mixer/Router channel 0-7.
371 * SRC channel 3 [14:12] -> SPDIF Mixer/Router channel 0-7.
372 * SRC channel 4 [18:16] -> SPDIF Mixer/Router channel 0-7.
373 * SRC channel 5 [22:20] -> SPDIF Mixer/Router channel 0-7.
374 * SRC channel 6 [26:24] -> SPDIF Mixer/Router channel 0-7.
375 * SRC channel 7 [30:28] -> SPDIF Mixer/Router channel 0-7.
380 * Invert SRC to SPDIF Mixer [7-0] (One bit per channel)
387 /* SPDIF mixer input volume. 0=12dB, 0x30=0dB, 0xFE=-51.5dB, 0xff=Mute */
408 /* unique channel identifier for midi->channel */
440 * I2S output master clock select [21] (0=256*I2S output rate, 1=512*I2S output rate.)
441 * I2S input master clock select [22] (0=256*I2S input rate, 1=512*I2S input rate.)
515 #define ADC_TIMEOUT 0x00000007 //ADC Timeout Clock Disable
535 #define ADC_TIMEOUT_DISABLE 0x00000008 //Value and mask to disable Timeout clock
558 #define SPI_REG_MASK 0x1ff /* 16-bit SPI writes have a 7-bit address */
597 #define SPI_IWL_BIT_16 (0<<4) /* 16-bit world length */
598 #define SPI_IWL_BIT_20 (1<<4) /* 20-bit world length */
599 #define SPI_IWL_BIT_24 (2<<4) /* 24-bit world length */
600 #define SPI_IWL_BIT_32 (3<<4) /* 32-bit world length */
667 int ac97; /* ac97 = 0 -> Select MIC, Line in, TAD in, AUX in.
668 ac97 = 1 -> Default to AC97 in. */
669 int gpio_type; /* gpio_type = 1 -> shared mic-in/line-in
670 gpio_type = 2 -> shared side-out/line-in. */
672 controls, phone, mic, line-in and aux. */
673 u16 spi_dac; /* spi_dac = 0 -> no spi interface for DACs
674 spi_dac = 0x<front><rear><center-lfe><side>
675 -> specifies DAC id for each channel pair. */
678 // definition of the chip-specific record
699 u32 spdif_str_bits[4]; /* s/pdif out per-stream setup */