Lines Matching +full:disable +full:- +full:port +full:- +full:power +full:- +full:control
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
21 #define CS4231_LEFT_INPUT 0x00 /* left input control */
22 #define CS4231_RIGHT_INPUT 0x01 /* right input control */
23 #define CS4231_AUX1_LEFT_INPUT 0x02 /* left AUX1 input control */
24 #define CS4231_AUX1_RIGHT_INPUT 0x03 /* right AUX1 input control */
25 #define CS4231_AUX2_LEFT_INPUT 0x04 /* left AUX2 input control */
26 #define CS4231_AUX2_RIGHT_INPUT 0x05 /* right AUX2 input control */
27 #define CS4231_LEFT_OUTPUT 0x06 /* left output control register */
28 #define CS4231_RIGHT_OUTPUT 0x07 /* right output control register */
29 #define CS4231_PLAYBK_FORMAT 0x08 /* clock and data format - playback - bits 7-0 MCE */
30 #define CS4231_IFACE_CTRL 0x09 /* interface control - bits 7-2 MCE */
31 #define CS4231_PIN_CTRL 0x0a /* pin control */
34 #define CS4231_LOOPBACK 0x0d /* loopback control */
41 #define CS4231_LEFT_LINE_IN 0x12 /* left line input control */
42 #define CS4231_RIGHT_LINE_IN 0x13 /* right line input control */
45 #define CS4231_LEFT_MIC_INPUT 0x16 /* left MIC input control register (InterWave only) */
47 #define CS4231_RIGHT_MIC_INPUT 0x17 /* right MIC input control register (InterWave only) */
51 #define CS4231_LINE_LEFT_OUTPUT 0x19 /* left line output control register (InterWave only) */
52 #define CS4231_VERSION 0x19 /* CS4231(A) - version values */
53 #define CS4231_MONO_CTRL 0x1a /* mono input/output control */
54 #define CS4231_LINE_RIGHT_OUTPUT 0x1b /* right line output control register (InterWave only) */
55 #define AD1845_PWR_DOWN 0x1b /* power down control */
56 #define CS4235_LEFT_MASTER 0x1b /* left master output control */
57 #define CS4231_REC_FORMAT 0x1c /* clock and data format - record - bits 7-0 MCE */
58 #define AD1845_CLOCK 0x1d /* crystal clock select and total power down */
59 #define CS4235_RIGHT_MASTER 0x1d /* right master output control */
63 /* definitions for codec register select port - CODECP( REGSEL ) */
67 #define CS4231_TRD 0x20 /* transfer request disable */
69 /* definitions for codec status register - CODECP( STATUS ) */
93 /* definitions for clock and data format register - CS4231_PLAYBK_FORMAT */
95 #define CS4231_LINEAR_8 0x00 /* 8-bit unsigned data */
96 #define CS4231_ALAW_8 0x60 /* 8-bit A-law companded */
97 #define CS4231_ULAW_8 0x20 /* 8-bit U-law companded */
98 #define CS4231_LINEAR_16 0x40 /* 16-bit twos complement data - little endian */
99 #define CS4231_LINEAR_16_BIG 0xc0 /* 16-bit twos complement data - big endian */
100 #define CS4231_ADPCM_16 0xa0 /* 16-bit ADPCM */
102 /* bits 3-1 define frequency divisor */
106 /* definitions for interface control register - CS4231_IFACE_CTRL */
116 /* definitions for pin control register - CS4231_PIN_CTRL */
119 #define CS4231_XCTL1 0x40 /* external control #1 */
120 #define CS4231_XCTL0 0x80 /* external control #0 */
122 /* definitions for test and init register - CS4231_TEST_INIT */
127 /* definitions for misc control register - CS4231_MISC_INFO */
130 #define CS4231_IW_MODE3 0x6c /* MODE 3 - InterWave enhanced mode */
131 #define CS4231_4236_MODE3 0xe0 /* MODE 3 - CS4236+ enhanced mode */
133 /* definitions for alternate feature 1 register - CS4231_ALT_FEATURE_1 */
139 /* definitions for Extended Registers - CS4236+ */
148 #define CS4236_LEFT_MIX_CTRL 0x48 /* synthesis and left input mixer control */
149 #define CS4236_RIGHT_MIX_CTRL 0x58 /* right input mixer control */
152 #define CS4236_LEFT_DSP 0x88 /* left DSP serial port volume */
153 #define CS4236_RIGHT_DSP 0x98 /* right DSP serial port volume */
160 #define CS4236_LEFT_WAVE 0x0c /* left wavetable serial port volume */
161 #define CS4236_RIGHT_WAVE 0x1c /* right wavetable serial port volume */
164 /* definitions for extended registers - OPTI93X */