]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformDxe/AzaliaVerbTable.h
MdeModulePkg: Fix use-after-free error in InstallConfigurationTable()
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformDxe / AzaliaVerbTable.h
1 /*++
2
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13
14 --*/
15
16 UINT32 mAzaliaVerbTableData12[] = {
17 //
18 // Audio Verb Table - 0x80862805
19 //
20 // Pin Widget 5 - PORT B
21 0x20471C10,
22 0x20471D00,
23 0x20471E56,
24 0x20471F18,
25
26 // Pin Widget 6 - PORT C
27 0x20571C20,
28 0x20571D00,
29 0x20571E56,
30 0x20571F18,
31
32 // Pin Widget 7 - PORT D
33 0x20671C30,
34 0x20671D00,
35 0x20671E56,
36 0x20671F58
37 };
38
39
40 PCH_AZALIA_VERB_TABLE mAzaliaVerbTable[] = {
41 {
42 //
43 // VerbTable:
44 // Revision ID = 0xFF, support all steps
45 // Codec Verb Table For AZALIA
46 // Codec Address: CAd value (0/1/2)
47 // Codec Vendor: 0x10EC0880
48 //
49 {
50 0x10EC0880, // Vendor ID/Device ID
51 0x0000, // SubSystem ID
52 0xFF, // Revision ID
53 0x01, // Front panel support (1=yes, 2=no)
54 0x000A, // Number of Rear Jacks = 10
55 0x0002 // Number of Front Jacks = 2
56 },
57 0 // Pointer to verb table data, need to be inited in the code.
58 },
59 {
60 //
61 // Revision ID >= 0x03
62 // Codec Verb Table For AZALIA
63 // Codec Address: CAd value (0/1/2)
64 // Codec Vendor: 0x434D4980
65 //
66 {
67 0x434D4980, // Vendor ID/Device ID
68 0x0000, // SubSystem ID
69 0x00, // Revision ID
70 0x01, // Front panel support (1=yes, 2=no)
71 0x0009, // Number of Rear Jacks = 9
72 0x0002 // Number of Front Jacks = 2
73 },
74 0 // Pointer to verb table data, need to be inited in the code.
75 },
76 {
77 //
78 // Lawndale Azalia Audio Codec Verb Table
79 // Revision ID = 0x00
80 // Codec Address: CAd value (0/1/2)
81 // Codec Vendor: 0x11D41984
82 //
83 {
84 0x11D41984, // Vendor ID/Device ID
85 0x0000, // SubSystem ID
86 0x04, // Revision ID
87 0x01, // Front panel support (1=yes, 2=no)
88 0x0009, // Number of Rear Jacks = 9
89 0x0002 // Number of Front Jacks = 2
90 },
91 0 // Pointer to verb table data, need to be inited in the code.
92 },
93 {
94 //
95 // VerbTable:
96 // Revision ID = 0xFF, support all steps
97 // Codec Verb Table For AZALIA
98 // Codec Address: CAd value (0/1/2)
99 // Codec Vendor: 0x11D41986
100 //
101 {
102 0x11D41986, // Vendor ID/Device ID
103 0x0001, // SubSystem ID
104 0xFF, // Revision ID
105 0x01, // Front panel support (1=yes, 2=no)
106 0x000A, // Number of Rear Jacks = 8
107 0x0002 // Number of Front Jacks = 2
108 },
109 0 // Pointer to verb table data, need to be inited in the code.
110 },
111 {
112 //
113 // VerbTable: (for Slim River, FFDS3)
114 // Revision ID = 0x00
115 // Codec Verb Table For AZALIA
116 // Codec Address: CAd value (0/1/2)
117 // Codec Vendor: 0x10EC0272
118 //
119 {
120 0x10EC0272, // Vendor ID/Device ID
121 0x0000, // SubSystem ID
122 0x00, // Revision ID
123 0x01, // Front panel support (1=yes, 2=no)
124 0x000E, // Number of Rear Jacks
125 0x0002 // Number of Front Jacks
126 },
127 0 // Pointer to verb table data, need to be inited in the code.
128 },
129 {
130 //
131 // VerbTable: (for Buffalo Trail)
132 // Revision ID = 0x00
133 // Codec Verb Table For AZALIA
134 // Codec Address: CAd value (0/1/2)
135 // Codec Vendor: 0x10EC0269
136 //
137 {
138 0x10EC0269, // Vendor ID/Device ID
139 0x0000, // SubSystem ID
140 0x00, // Revision ID
141 0x01, // Front panel support (1=yes, 2=no)
142 0x000A, // Number of Rear Jacks
143 0x0002 // Number of Front Jacks
144 },
145 0 // Pointer to verb table data, need to be inited in the code.
146 },
147 {
148 //
149 // VerbTable: (RealTek ALC888)
150 // Revision ID = 0xFF
151 // Codec Verb Table For Redfort
152 // Codec Address: CAd value (0/1/2)
153 // Codec Vendor: 0x10EC0888
154 //
155 {
156 0x10EC0888, // Vendor ID/Device ID
157 0x0000, // SubSystem ID
158 0xFF, // Revision ID
159 0x01, // Front panel support (1=yes, 2=no)
160 0x000B, // Number of Rear Jacks
161 0x0002 // Number of Front Jacks
162 },
163 0 // Pointer to verb table data, need to be inited in the code.
164 },
165 {
166 //
167 // VerbTable: (RealTek ALC885)
168 // Revision ID = 0xFF
169 // Codec Verb Table For Redfort
170 // Codec Address: CAd value (0/1/2)
171 // Codec Vendor: 0x10EC0885
172 //
173 {
174 0x10EC0885, // Vendor ID/Device ID
175 0x0000, // SubSystem ID
176 0xFF, // Revision ID
177 0x01, // Front panel support (1=yes, 2=no)
178 0x000B, // Number of Rear Jacks
179 0x0002 // Number of Front Jacks
180 },
181 0 // Pointer to verb table data, need to be inited in the code.
182 },
183 {
184 //
185 // VerbTable: (IDT 92HD81)
186 // Revision ID = 0xFF
187 // Codec Vendor: 0x111D7605
188 //
189 {
190 0x111D76d5, // Vendor ID/Device ID
191 0x0000, // SubSystem ID
192 0xFF, // Revision ID
193 0x01, // Front panel support (1=yes, 2=no)
194 0x0008, // Number of Rear Jacks
195 0x0002 // Number of Front Jacks
196 },
197 0 // Pointer to verb table data, need to be inited in the code.
198 },
199 {
200 //
201 // VerbTable: (Intel VLV HDMI)
202 // Revision ID = 0xFF
203 // Codec Verb Table For EmeraldLake/LosLunas
204 // Codec Vendor: 0x80862804
205 //
206 {
207 0x80862882, // Vendor ID/Device ID
208 0x0000, // SubSystem ID
209 0xFF, // Revision ID
210 0x02, // Front panel support (1=yes, 2=no)
211 0x0003, // Number of Rear Jacks
212 0x0000 // Number of Front Jacks
213 },
214 0 // Pointer to verb table data, need to be inited in the code.
215 },
216 {
217 //
218 // VerbTable: (RealTek ALC262)
219 // Revision ID = 0xFF, support all steps
220 // Codec Verb Table For AZALIA
221 // Codec Address: CAd value (0/1/2)
222 // Codec Vendor: 0x10EC0262
223 //
224 {
225 0x10EC0262, // Vendor ID/Device ID
226 0x0000, // SubSystem ID
227 0xFF, // Revision ID
228 0x01, // Front panel support (1=yes, 2=no)
229 0x000B, // Number of Rear Jacks = 11
230 0x0002 // Number of Front Jacks = 2
231 },
232 0 // Pointer to verb table data, need to be inited in the code.
233 },
234 {
235 //
236 // VerbTable: (RealTek ALC282)
237 // Revision ID = 0xff
238 // Codec Verb Table For Azalia on SharkBay-WhiteBluff refresh and Haswell ULT FFRD Harris Beach, WTM1, WTM2iCRB
239 // Codec Address: CAd value (0/1/2)
240 // Codec Vendor: 0x10EC0282
241 //
242 {
243 0x10EC0282, // Vendor ID/Device ID
244 0x0000, // SubSystem ID
245 0xff, // Revision ID
246 0x01, // Front panel support (1=yes, 2=no)
247 0x000C, // Number of Rear Jacks, 0x0010 for Harris Beach, 0x000B for WTM1 & WTM2iCRB
248 0x0002 // Number of Front Jacks
249 },
250 0 // Pointer to verb table data, need to be inited in the code.
251 }
252 };