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

TOMOYO Linux Cross Reference
Linux/sound/soc/codecs/rt715-sdca-sdw.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/rt715-sdca-sdw.h (Version linux-6.12-rc7) and /sound/soc/codecs/rt715-sdca-sdw.h (Version linux-2.6.0)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * rt715-sdca-sdw.h -- RT715 ALSA SoC audio dr    
  4  *                                                
  5  * Copyright(c) 2020 Realtek Semiconductor Cor    
  6  */                                               
  7                                                   
  8 #ifndef __RT715_SDW_SDCA_H__                      
  9 #define __RT715_SDW_SDCA_H__                      
 10                                                   
 11 #include <linux/soundwire/sdw_registers.h>        
 12                                                   
 13 static const struct reg_default rt715_reg_defa    
 14         { 0x201a, 0x00 },                         
 15         { 0x201e, 0x00 },                         
 16         { 0x2020, 0x00 },                         
 17         { 0x2021, 0x00 },                         
 18         { 0x2022, 0x00 },                         
 19         { 0x2023, 0x00 },                         
 20         { 0x2024, 0x00 },                         
 21         { 0x2025, 0x01 },                         
 22         { 0x2026, 0x00 },                         
 23         { 0x2027, 0x00 },                         
 24         { 0x2029, 0x00 },                         
 25         { 0x202a, 0x00 },                         
 26         { 0x202d, 0x00 },                         
 27         { 0x202e, 0x00 },                         
 28         { 0x202f, 0x00 },                         
 29         { 0x2030, 0x00 },                         
 30         { 0x2031, 0x00 },                         
 31         { 0x2032, 0x00 },                         
 32         { 0x2033, 0x00 },                         
 33         { 0x2034, 0x00 },                         
 34         { 0x2230, 0x00 },                         
 35         { 0x2231, 0x2f },                         
 36         { 0x2232, 0x80 },                         
 37         { 0x2233, 0x00 },                         
 38         { 0x2234, 0x00 },                         
 39         { 0x2235, 0x00 },                         
 40         { 0x2236, 0x00 },                         
 41         { 0x2237, 0x00 },                         
 42         { 0x2238, 0x00 },                         
 43         { 0x2239, 0x00 },                         
 44         { 0x2f01, 0x00 },                         
 45         { 0x2f02, 0x09 },                         
 46         { 0x2f03, 0x0b },                         
 47         { 0x2f04, 0x00 },                         
 48         { 0x2f05, 0x0e },                         
 49         { 0x2f06, 0x01 },                         
 50         { 0x2f08, 0x00 },                         
 51         { 0x2f09, 0x00 },                         
 52         { 0x2f0a, 0x00 },                         
 53         { 0x2f0b, 0x00 },                         
 54         { 0x2f0c, 0x00 },                         
 55         { 0x2f0d, 0x00 },                         
 56         { 0x2f0e, 0x12 },                         
 57         { 0x2f0f, 0x00 },                         
 58         { 0x2f10, 0x00 },                         
 59         { 0x2f11, 0x00 },                         
 60         { 0x2f12, 0x00 },                         
 61         { 0x2f13, 0x00 },                         
 62         { 0x2f14, 0x00 },                         
 63         { 0x2f15, 0x00 },                         
 64         { 0x2f16, 0x00 },                         
 65         { 0x2f17, 0x00 },                         
 66         { 0x2f18, 0x00 },                         
 67         { 0x2f19, 0x03 },                         
 68         { 0x2f1a, 0x00 },                         
 69         { 0x2f1f, 0x10 },                         
 70         { 0x2f20, 0x00 },                         
 71         { 0x2f21, 0x00 },                         
 72         { 0x2f22, 0x00 },                         
 73         { 0x2f23, 0x00 },                         
 74         { 0x2f24, 0x00 },                         
 75         { 0x2f25, 0x00 },                         
 76         { 0x2f52, 0x01 },                         
 77         { 0x2f5a, 0x02 },                         
 78         { 0x2f5b, 0x05 },                         
 79         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 80                 RT715_SDCA_CX_CLK_SEL_CTRL, CH    
 81         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 82                 RT715_SDCA_FU_MUTE_CTRL, CH_01    
 83         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 84                 RT715_SDCA_FU_MUTE_CTRL, CH_02    
 85         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 86                 RT715_SDCA_FU_MUTE_CTRL, CH_03    
 87         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 88                 RT715_SDCA_FU_MUTE_CTRL, CH_04    
 89         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 90                 RT715_SDCA_FU_MUTE_CTRL, CH_01    
 91         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 92                 RT715_SDCA_FU_MUTE_CTRL, CH_02    
 93         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 94                 RT715_SDCA_FU_MUTE_CTRL, CH_03    
 95         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 96                 RT715_SDCA_FU_MUTE_CTRL, CH_04    
 97         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
 98                 RT715_SDCA_FU_MUTE_CTRL, CH_01    
 99         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
100                 RT715_SDCA_FU_MUTE_CTRL, CH_02    
101         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
102                 RT715_SDCA_SMPU_TRIG_EN_CTRL,     
103         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
104                 RT715_SDCA_SMPU_TRIG_ST_CTRL,     
105         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
106                 RT715_SDCA_FU_MUTE_CTRL, CH_01    
107         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
108                 RT715_SDCA_FU_MUTE_CTRL, CH_02    
109 };                                                
110                                                   
111 static const struct reg_default rt715_mbq_reg_    
112         { 0x200002b, 0x0420 },                    
113         { 0x2000036, 0x0000 },                    
114         { 0x2000037, 0x0000 },                    
115         { 0x2000039, 0xaa81 },                    
116         { 0x2000044, 0x0202 },                    
117         { 0x6100000, 0x0100 },                    
118         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
119                 RT715_SDCA_FU_VOL_CTRL, CH_01)    
120         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
121                 RT715_SDCA_FU_VOL_CTRL, CH_02)    
122         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
123                 RT715_SDCA_FU_VOL_CTRL, CH_03)    
124         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
125                 RT715_SDCA_FU_VOL_CTRL, CH_04)    
126         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
127                 RT715_SDCA_FU_VOL_CTRL, CH_01)    
128         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
129                 RT715_SDCA_FU_VOL_CTRL, CH_02)    
130         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
131                 RT715_SDCA_FU_VOL_CTRL, CH_03)    
132         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
133                 RT715_SDCA_FU_VOL_CTRL, CH_04)    
134         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
135                 RT715_SDCA_FU_VOL_CTRL, CH_01)    
136         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
137                 RT715_SDCA_FU_VOL_CTRL, CH_02)    
138         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
139                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
140         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
141                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
142         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
143                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
144         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
145                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
146         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
147                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
148         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
149                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
150         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
151                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
152         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
153                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
154         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
155                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
156         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
157                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
158         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
159                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
160         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
161                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
162         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
163                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
164         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
165                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
166         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
167                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
168         { SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SD    
169                 RT715_SDCA_FU_DMIC_GAIN_CTRL,     
170 };                                                
171 #endif /* __RT715_SDW_SDCA_H__ */                 
172                                                   

~ [ 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