~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/soc/codecs/alc5632.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/soc/codecs/alc5632.h (Version linux-6.12-rc7) and /sound/soc/codecs/alc5632.h (Version linux-2.6.0)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3 * alc5632.h  --  ALC5632 ALSA SoC Audio Codec     
  4 *                                                 
  5 * Copyright (C) 2011 The AC100 Kernel Team <ac    
  6 *                                                 
  7 * Authors:  Leon Romanovsky <leon@leon.nu>        
  8 *           Andrey Danin <danindrey@mail.ru>      
  9 *           Ilya Petrov <ilya.muromec@gmail.co    
 10 *           Marc Dietrich <marvin24@gmx.de>       
 11 *                                                 
 12 * Based on alc5623.h by Arnaud Patard             
 13 */                                                
 14                                                   
 15 #ifndef _ALC5632_H                                
 16 #define _ALC5632_H                                
 17                                                   
 18 #define ALC5632_RESET                             
 19 /* speaker output vol              2    2         
 20 /* line output vol                      4    2    
 21 /* HP output vol                   4    0    4    
 22 #define ALC5632_SPK_OUT_VOL                       
 23 #define ALC5632_SPK_OUT_VOL_STEP                  
 24 #define ALC5632_HP_OUT_VOL                        
 25 #define ALC5632_AUX_OUT_VOL                       
 26 #define ALC5632_PHONE_IN_VOL                      
 27 #define ALC5632_LINE_IN_VOL                       
 28 #define ALC5632_STEREO_DAC_IN_VOL                 
 29 #define ALC5632_MIC_VOL                           
 30 /* stero dac/mic routing */                       
 31 #define ALC5632_MIC_ROUTING_CTRL                  
 32 #define ALC5632_MIC_ROUTE_MONOMIX                 
 33 #define ALC5632_MIC_ROUTE_SPK                     
 34 #define ALC5632_MIC_ROUTE_HP                      
 35                                                   
 36 #define ALC5632_ADC_REC_GAIN                      
 37 #define ALC5632_ADC_REC_GAIN_RANGE                
 38 #define ALC5632_ADC_REC_GAIN_BASE                 
 39 #define ALC5632_ADC_REC_GAIN_STEP                 
 40                                                   
 41 #define ALC5632_ADC_REC_MIXER                     
 42 #define ALC5632_ADC_REC_MIC1                      
 43 #define ALC5632_ADC_REC_MIC2                      
 44 #define ALC5632_ADC_REC_LINE_IN                   
 45 #define ALC5632_ADC_REC_AUX                       
 46 #define ALC5632_ADC_REC_HP                        
 47 #define ALC5632_ADC_REC_SPK                       
 48 #define ALC5632_ADC_REC_MONOMIX                   
 49                                                   
 50 #define ALC5632_VOICE_DAC_VOL                     
 51 #define ALC5632_I2S_OUT_CTL                       
 52 /* ALC5632_OUTPUT_MIXER_CTRL :                    
 53 /* same remark as for reg 2 line vs speaker       
 54 #define ALC5632_OUTPUT_MIXER_CTRL                 
 55 #define ALC5632_OUTPUT_MIXER_RP                   
 56 #define ALC5632_OUTPUT_MIXER_WEEK                 
 57 #define ALC5632_OUTPUT_MIXER_HP                   
 58 #define ALC5632_OUTPUT_MIXER_AUX_SPK              
 59 #define ALC5632_OUTPUT_MIXER_AUX_HP_LR            
 60 #define ALC5632_OUTPUT_MIXER_HP_R                 
 61 #define ALC5632_OUTPUT_MIXER_HP_L                 
 62                                                   
 63 #define ALC5632_MIC_CTRL                          
 64 #define ALC5632_MIC_BOOST_BYPASS                  
 65 #define ALC5632_MIC_BOOST_20DB                    
 66 #define ALC5632_MIC_BOOST_30DB                    
 67 #define ALC5632_MIC_BOOST_40DB                    
 68                                                   
 69 #define ALC5632_DIGI_BOOST_CTRL                   
 70 #define ALC5632_MIC_BOOST_RANGE                   
 71 #define ALC5632_MIC_BOOST_STEP                    
 72 #define ALC5632_PWR_DOWN_CTRL_STATUS              
 73 #define ALC5632_PWR_DOWN_CTRL_STATUS_MASK         
 74 #define ALC5632_PWR_VREF_PR3                      
 75 #define ALC5632_PWR_VREF_PR2                      
 76 #define ALC5632_PWR_VREF_STATUS                   
 77 #define ALC5632_PWR_AMIX_STATUS                   
 78 #define ALC5632_PWR_DAC_STATUS                    
 79 #define ALC5632_PWR_ADC_STATUS                    
 80 /* stereo/voice DAC / stereo adc func ctrl */     
 81 #define ALC5632_DAC_FUNC_SELECT                   
 82                                                   
 83 /* Main serial data port ctrl (i2s) */            
 84 #define ALC5632_DAI_CONTROL                       
 85                                                   
 86 #define ALC5632_DAI_SDP_MASTER_MODE               
 87 #define ALC5632_DAI_SDP_SLAVE_MODE                
 88 #define ALC5632_DAI_SADLRCK_MODE                  
 89 /* 0:voice, 1:main */                             
 90 #define ALC5632_DAI_MAIN_I2S_SYSCLK_SEL           
 91 #define ALC5632_DAI_MAIN_I2S_BCLK_POL_CTRL        
 92 /* 0:normal, 1:invert */                          
 93 #define ALC5632_DAI_MAIN_I2S_LRCK_INV             
 94 #define ALC5632_DAI_I2S_DL_MASK                   
 95 #define ALC5632_DAI_I2S_DL_8                      
 96 #define ALC5632_DAI_I2S_DL_24                     
 97 #define ALC5632_DAI_I2S_DL_20                     
 98 #define ALC5632_DAI_I2S_DL_16                     
 99 #define ALC5632_DAI_I2S_DF_MASK                   
100 #define ALC5632_DAI_I2S_DF_PCM_B                  
101 #define ALC5632_DAI_I2S_DF_PCM_A                  
102 #define ALC5632_DAI_I2S_DF_LEFT                   
103 #define ALC5632_DAI_I2S_DF_I2S                    
104 /* extend serial data port control (VoDAC_i2c/    
105 #define ALC5632_DAI_CONTROL2                      
106 /* 0:gpio func, 1:voice pcm */                    
107 #define ALC5632_DAI_VOICE_PCM_ENABLE              
108 /* 0:master, 1:slave */                           
109 #define ALC5632_DAI_VOICE_MODE_SEL                
110 /* 0:disable, 1:enable */                         
111 #define ALC5632_DAI_HPF_CLK_CTRL                  
112 /* 0:main, 1:voice */                             
113 #define ALC5632_DAI_VOICE_I2S_SYSCLK_SEL          
114 /* 0:normal, 1:invert */                          
115 #define ALC5632_DAI_VOICE_VBCLK_SYSCLK_SEL        
116 /* 0:normal, 1:invert */                          
117 #define ALC5632_DAI_VOICE_I2S_LR_INV              
118 #define ALC5632_DAI_VOICE_DL_MASK                 
119 #define ALC5632_DAI_VOICE_DL_16                   
120 #define ALC5632_DAI_VOICE_DL_20                   
121 #define ALC5632_DAI_VOICE_DL_24                   
122 #define ALC5632_DAI_VOICE_DL_8                    
123 #define ALC5632_DAI_VOICE_DF_MASK                 
124 #define ALC5632_DAI_VOICE_DF_I2S                  
125 #define ALC5632_DAI_VOICE_DF_LEFT                 
126 #define ALC5632_DAI_VOICE_DF_PCM_A                
127 #define ALC5632_DAI_VOICE_DF_PCM_B                
128                                                   
129 #define ALC5632_PWR_MANAG_ADD1                    
130 #define ALC5632_PWR_MANAG_ADD1_MASK               
131 #define ALC5632_PWR_ADD1_DAC_L_EN                 
132 #define ALC5632_PWR_ADD1_DAC_R_EN                 
133 #define ALC5632_PWR_ADD1_ZERO_CROSS               
134 #define ALC5632_PWR_ADD1_MAIN_I2S_EN              
135 #define ALC5632_PWR_ADD1_SPK_AMP_EN               
136 #define ALC5632_PWR_ADD1_HP_OUT_AMP               
137 #define ALC5632_PWR_ADD1_HP_OUT_ENH_AMP           
138 #define ALC5632_PWR_ADD1_VOICE_DAC_MIX            
139 #define ALC5632_PWR_ADD1_SOFTGEN_EN               
140 #define ALC5632_PWR_ADD1_MIC1_SHORT_CURR          
141 #define ALC5632_PWR_ADD1_MIC2_SHORT_CURR          
142 #define ALC5632_PWR_ADD1_MIC1_EN                  
143 #define ALC5632_PWR_ADD1_MIC2_EN                  
144 #define ALC5632_PWR_ADD1_MAIN_BIAS                
145 #define ALC5632_PWR_ADD1_DAC_REF                  
146                                                   
147 #define ALC5632_PWR_MANAG_ADD2                    
148 #define ALC5632_PWR_MANAG_ADD2_MASK               
149 #define ALC5632_PWR_ADD2_PLL1                     
150 #define ALC5632_PWR_ADD2_PLL2                     
151 #define ALC5632_PWR_ADD2_VREF                     
152 #define ALC5632_PWR_ADD2_OVT_DET                  
153 #define ALC5632_PWR_ADD2_VOICE_DAC                
154 #define ALC5632_PWR_ADD2_L_DAC_CLK                
155 #define ALC5632_PWR_ADD2_R_DAC_CLK                
156 #define ALC5632_PWR_ADD2_L_ADC_CLK_GAIN           
157 #define ALC5632_PWR_ADD2_R_ADC_CLK_GAIN           
158 #define ALC5632_PWR_ADD2_L_HP_MIXER               
159 #define ALC5632_PWR_ADD2_R_HP_MIXER               
160 #define ALC5632_PWR_ADD2_SPK_MIXER                
161 #define ALC5632_PWR_ADD2_MONO_MIXER               
162 #define ALC5632_PWR_ADD2_L_ADC_REC_MIXER          
163 #define ALC5632_PWR_ADD2_R_ADC_REC_MIXER          
164                                                   
165 #define ALC5632_PWR_MANAG_ADD3                    
166 #define ALC5632_PWR_MANAG_ADD3_MASK               
167 #define ALC5632_PWR_ADD3_AUXOUT_VOL               
168 #define ALC5632_PWR_ADD3_SPK_L_OUT                
169 #define ALC5632_PWR_ADD3_SPK_R_OUT                
170 #define ALC5632_PWR_ADD3_HP_L_OUT_VOL             
171 #define ALC5632_PWR_ADD3_HP_R_OUT_VOL             
172 #define ALC5632_PWR_ADD3_LINEIN_L_VOL             
173 #define ALC5632_PWR_ADD3_LINEIN_R_VOL             
174 #define ALC5632_PWR_ADD3_AUXIN_VOL                
175 #define ALC5632_PWR_ADD3_AUXIN_MIX                
176 #define ALC5632_PWR_ADD3_MIC1_VOL                 
177 #define ALC5632_PWR_ADD3_MIC2_VOL                 
178 #define ALC5632_PWR_ADD3_MIC1_BOOST_AD            
179 #define ALC5632_PWR_ADD3_MIC2_BOOST_AD            
180                                                   
181 #define ALC5632_GPCR1                             
182 #define ALC5632_GPCR1_CLK_SYS_SRC_SEL_PLL1        
183 #define ALC5632_GPCR1_CLK_SYS_SRC_SEL_MCLK        
184 #define ALC5632_GPCR1_DAC_HI_FLT_EN               
185 #define ALC5632_GPCR1_SPK_AMP_CTRL                
186 #define ALC5632_GPCR1_VDD_100                     
187 #define ALC5632_GPCR1_VDD_125                     
188 #define ALC5632_GPCR1_VDD_150                     
189 #define ALC5632_GPCR1_VDD_175                     
190 #define ALC5632_GPCR1_VDD_200                     
191 #define ALC5632_GPCR1_VDD_225                     
192                                                   
193 #define ALC5632_GPCR2                             
194 #define ALC5632_GPCR2_PLL1_SOUR_SEL               
195 #define ALC5632_PLL_FR_MCLK                       
196 #define ALC5632_PLL_FR_BCLK                       
197 #define ALC5632_PLL_FR_VBCLK                      
198 #define ALC5632_GPCR2_CLK_PLL_PRE_DIV1            
199                                                   
200 #define ALC5632_PLL1_CTRL                         
201 #define ALC5632_PLL1_CTRL_N_VAL(n)                
202 #define ALC5632_PLL1_M_BYPASS                     
203 #define ALC5632_PLL1_CTRL_K_VAL(k)                
204 #define ALC5632_PLL1_CTRL_M_VAL(m)                
205                                                   
206 #define ALC5632_PLL2_CTRL                         
207 #define ALC5632_PLL2_EN                           
208 #define ALC5632_PLL2_RATIO                        
209                                                   
210 #define ALC5632_GPIO_PIN_CONFIG                   
211 #define ALC5632_GPIO_PIN_POLARITY                 
212 #define ALC5632_GPIO_PIN_STICKY                   
213 #define ALC5632_GPIO_PIN_WAKEUP                   
214 #define ALC5632_GPIO_PIN_STATUS                   
215 #define ALC5632_GPIO_PIN_SHARING                  
216 #define ALC5632_OVER_CURR_STATUS                  
217 #define ALC5632_SOFTVOL_CTRL                      
218 #define ALC5632_GPIO_OUPUT_PIN_CTRL               
219                                                   
220 #define ALC5632_MISC_CTRL                         
221 #define ALC5632_MISC_DISABLE_FAST_VREG            
222 #define ALC5632_MISC_AVC_TRGT_SEL                 
223 #define ALC5632_MISC_AVC_TRGT_RIGHT               
224 #define ALC5632_MISC_AVC_TRGT_LEFT                
225 #define ALC5632_MISC_AVC_TRGT_BOTH                
226 #define ALC5632_MISC_HP_DEPOP_MODE1_EN            
227 #define ALC5632_MISC_HP_DEPOP_MODE2_EN            
228 #define ALC5632_MISC_HP_DEPOP_MUTE_L              
229 #define ALC5632_MISC_HP_DEPOP_MUTE_R              
230 #define ALC5632_MISC_HP_DEPOP_MUTE                
231 #define ALC5632_MISC_GPIO_WAKEUP_CTRL             
232 #define ALC5632_MISC_IRQOUT_INV_CTRL              
233                                                   
234 #define ALC5632_DAC_CLK_CTRL1                     
235 #define ALC5632_DAC_CLK_CTRL2                     
236 #define ALC5632_DAC_CLK_CTRL2_DIV1_2              
237 #define ALC5632_VOICE_DAC_PCM_CLK_CTRL1           
238 #define ALC5632_PSEUDO_SPATIAL_CTRL               
239 #define ALC5632_HID_CTRL_INDEX                    
240 #define ALC5632_HID_CTRL_DATA                     
241 #define ALC5632_EQ_CTRL                           
242                                                   
243 /* undocumented */                                
244 #define ALC5632_VENDOR_ID1                        
245 #define ALC5632_VENDOR_ID2                        
246                                                   
247 #define ALC5632_MAX_REGISTER        0x7E          
248                                                   
249 #endif                                            
250                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php