Lines Matching +full:dac +full:- +full:mode +full:- +full:mask
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
29 /* -------------------------------------------------------------------- */
40 #define PCIR_MT 0x1c /* Professional Multi-Track I/O Base Address */
48 #define PCIM_LAC_MPU401 0x0008 /* MPU-401 I/O enable */
60 #define PCIM_LCC_MPUBASE 0x0006 /* MPU-401 base 300h-330h */
68 #define PCIM_SCFG_MPU 0x20 /* 1(0)/2(1) MPU-401 UART(s) */
71 #define PCIM_SCFG_ADC 0x0c /* 1-4 stereo ADC connected */
72 #define PCIM_SCFG_DAC 0x03 /* 1-4 stereo DAC connected */
74 #define PCIR_ACL 0x61 /* AC-Link Configuration Register */
75 #define PCIM_ACL_MTC 0x80 /* Multi-track converter type: 0:AC'97 1:I2S */
100 #define ENVY24_CCS_CTL_DMAINT 0x40 /* DS DMA Channel-C interrupt */
104 #define ENVY24_CCS_CTL_NATIVE 0x01 /* Mode select: 0:SB mode 1:native mode */
106 #define ENVY24_CCS_IMASK 0x01 /* Interrupt Mask Register */
110 #define ENVY24_CCS_IMASK_PMT 0x10 /* Professional Multi-track */
114 #define ENVY24_CCS_IMASK_SB 0x01 /* Consumer/SB mode playback */
120 #define ENVY24_CCS_ISTAT_PMT 0x10 /* Professional Multi-track */
124 #define ENVY24_CCS_ISTAT_SB 0x01 /* Consumer/SB mode playback */
191 #define ENVY24_CCS_TIMER_MASK 0x7fff /* Timer counter mask */
210 #define ENVY24_CCI_VOL_MASK 0x3f /* Volume value mask */
228 #define ENVY24_CCI_GPIOMASK 0x21 /* GPIO Write Mask Register */
243 #define ENVY24_CCI_MTPDWN 0x31 /* Multi-Track Section Power Down Register */
247 #define ENVY24_CCI_MTPDWN_I2S 0x01 /* Multi-track I2S serial interface clock */
251 #define ENVY24_DDMA_ADDR0 0x00 /* DMA Base and Current Address bit 0-7 */
252 #define ENVY24_DDMA_ADDR8 0x01 /* DMA Base and Current Address bit 8-15 */
253 #define ENVY24_DDMA_ADDR16 0x02 /* DMA Base and Current Address bit 16-23 */
254 #define ENVY24_DDMA_ADDR24 0x03 /* DMA Base and Current Address bit 24-31 */
255 #define ENVY24_DDMA_CNT0 0x04 /* DMA Base and Current Count 0-7 */
256 #define ENVY24_DDMA_CNT8 0x05 /* DMA Base and Current Count 8-15 */
259 #define ENVY24_DDMA_MODE 0x0b /* Mode */
261 #define ENVY24_DDMA_CHAN 0x0f /* Channel Mask */
265 #define ENVY24_CS_INTMASK 0x00 /* DirectSound DMA Interrupt Mask Register */
284 #define ENVY24_CS_CTL_U8 0x04 /* 8-bit unsigned(or 16-bit signed) */
287 /* Consumer mode Left/Right Volume Register at Index 06h */
291 /* Professional Multi-Track Control Registers */
293 #define ENVY24_MT_INT 0x00 /* DMA Interrupt Mask and Status Register */
294 #define ENVY24_MT_INT_RMASK 0x80 /* Multi-track record interrupt mask */
295 #define ENVY24_MT_INT_PMASK 0x40 /* Multi-track playback interrupt mask */
296 #define ENVY24_MT_INT_RSTAT 0x02 /* Multi-track record interrupt status */
297 #define ENVY24_MT_INT_PSTAT 0x01 /* Multi-track playback interrupt status */
329 #define ENVY24_MT_AC97CMD_ID 0x03 /* ID(0-3) for external AC 97 registers */
355 #define ENVY24_MT_VOLUME_L 0x007f /* Left Volume Mask */
356 #define ENVY24_MT_VOLUME_R 0x7f00 /* Right Volume Mask */
364 /* -------------------------------------------------------------------- */
391 #define ENVY24_VOL_MIN 96 /* -144db(negate) */
394 /* -------------------------------------------------------------------- */
398 ENVY24 has input->output data routing matrix switch. But original ENVY24
402 1: output DAC channels (include S/PDIF output)
406 (NOTICE: this class is able to set only DAC-1 and S/PDIF output)
413 pattern(ex. route different ADC input to one DAC). But almost case
437 /* -------------------------------------------------------------------- */
462 /* GPIO connect map of M-Audio Delta series */
472 /* M-Audio Delta series S/PDIF(CS84[01]4) control pin values */
478 /* M-Audio Delta series parameter */