Lines Matching +full:off +full:- +full:codec

1 /* SPDX-License-Identifier: GPL-2.0+
4 * Universal interface for Audio Codec '97
10 * AC'97 codec registers
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
59 /* range 0x5a-0x7b - Vendor Specific */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
63 #define AC97_CODEC_CLASS_REV 0x60 /* Codec Class/Revision */
103 #define AC97_BC_RESERVED1 0x0002 /* Reserved (was Modem Line Codec support) */
108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */
109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */
110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */
112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */
113 #define AC97_BC_18BIT_ADC 0x0100 /* 18-bit ADC resolution */
114 #define AC97_BC_20BIT_ADC 0x0200 /* 20-bit ADC resolution */
116 #define AC97_BC_3D_TECH_ID_MASK 0x7c00 /* Per-vendor ID of 3D enhancement */
131 #define AC97_PD_PR3 0x0800 /* Power down Mixer (Vref off) */
132 #define AC97_PD_PR4 0x1000 /* Power down AC-Link */
147 #define AC97_EI_AMAP 0x0200 /* indicates optional slot/DAC mapping based on codec ID */
152 #define AC97_EI_ADDR_MASK 0xc000 /* physical codec ID (address) */
157 #define AC97_EA_DRA 0x0002 /* Double-rate audio enable bit */
171 #define AC97_EA_PRI 0x0800 /* Turns the PCM Center DAC off */
172 #define AC97_EA_PRJ 0x1000 /* Turns the PCM Surround DACs off */
173 #define AC97_EA_PRK 0x2000 /* Turns the PCM LFE DAC off */
174 #define AC97_EA_PRL 0x4000 /* Turns the MIC ADC off */
194 #define AC97_PAGE_VENDOR 0 /* Vendor-specific registers */
195 #define AC97_PAGE_1 1 /* Extended Codec Registers page 1 */
208 #define AC97_MEI_ADDR_MASK 0xc000 /* physical codec ID (address) */
230 #define AC97_GPIO_LINE1_OH 0x0001 /* Off Hook Line1 */
236 #define AC97_GPIO_LINE1_HOHD 0x0040 /* Opt./ Handset off hook detect Line1 (in) */
240 #define AC97_GPIO_LINE2_OH 0x0400 /* Off Hook Line2 */