blob: e77b86e7293312f4c9864c0c2f09deb2eac2e2fa [file] [log] [blame]
Amaury Pouly44bb2852016-11-11 15:40:56 +01001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2016 Amaury Pouly
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
15 *
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
18 *
19 ****************************************************************************/
20
21/** /!\ This file was automatically generated, DO NOT MODIFY IT DIRECTLY /!\ */
22
23#include "nwz_db.h"
24
25struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] =
26{
27 { 0x10000, "NWZ-A815" },
28 { 0x10001, "NWZ-A816" },
29 { 0x10002, "NWZ-A818" },
30 { 0x1000000, "NW-S615F" },
31 { 0x1000001, "NW-S616F" },
32 { 0x1010000, "NW-S715F" },
33 { 0x1010001, "NW-S716F" },
34 { 0x1010002, "NW-S718F" },
35 { 0x1020000, "NWZ-S615F" },
36 { 0x1020001, "NWZ-S616F" },
37 { 0x1020002, "NWZ-S618F" },
38 { 0x1030000, "NWZ-S515" },
39 { 0x1030001, "NWZ-S516" },
40 { 0x1040000, "NWZ-S715F" },
41 { 0x1040001, "NWZ-S716F" },
42 { 0x1040002, "NWZ-S718F" },
43 { 0x2000001, "NW-A916" },
44 { 0x2000002, "NW-A918" },
45 { 0x2000004, "NW-A919" },
46 { 0x3000001, "NWZ-A826" },
47 { 0x3000002, "NWZ-A828" },
48 { 0x3000004, "NWZ-A829" },
49 { 0x3010001, "NW-A826" },
50 { 0x3010002, "NW-A828" },
51 { 0x3010004, "NW-A829" },
52 { 0x3020001, "NWZ-A726B" },
53 { 0x3020002, "NWZ-A728B" },
54 { 0x3020004, "NWZ-A729B" },
55 { 0x3030001, "NWZ-A726" },
56 { 0x3030002, "NWZ-A728" },
57 { 0x3030004, "NWZ-A729" },
58 { 0x4000001, "NW-S636F" },
59 { 0x4000002, "NW-S638F" },
60 { 0x4000004, "NW-S639F" },
61 { 0x4010001, "NW-S736F" },
62 { 0x4010002, "NW-S738F" },
63 { 0x4010004, "NW-S739F" },
64 { 0x4020001, "NWZ-S636F" },
65 { 0x4020002, "NWZ-S638F" },
66 { 0x4020004, "NWZ-S639F" },
67 { 0x4030001, "NWZ-S736F" },
68 { 0x4030002, "NWZ-S738F" },
69 { 0x4030004, "NWZ-S739F" },
70 { 0x5000002, "NW-X1040" },
71 { 0x5000004, "NW-X1050" },
72 { 0x5000005, "NW-X1060" },
73 { 0x5010002, "NWZ-NONAME" },
74 { 0x5010004, "NWZ-NONAME" },
75 { 0x5010005, "NWZ-NONAME" },
76 { 0x5020002, "NWZ-X1040" },
77 { 0x5020004, "NWZ-X1050" },
78 { 0x5020005, "NWZ-X1060" },
79 { 0x5040002, "NWZ-X1041" },
80 { 0x5040004, "NWZ-X1051" },
81 { 0x5040005, "NWZ-X1061" },
82 { 0x6010002, "NW-S644" },
83 { 0x6010004, "NW-S645" },
84 { 0x6010005, "NW-S646" },
85 { 0x6020002, "NWZ-S744" },
86 { 0x6020004, "NWZ-S745" },
87 { 0x6020005, "NWZ-S746" },
88 { 0x6030002, "NW-S744" },
89 { 0x6030004, "NW-S745" },
90 { 0x6030005, "NW-S746" },
91 { 0x7000004, "NWZ-A845" },
92 { 0x7000005, "NWZ-A846" },
93 { 0x7000006, "NWZ-A847" },
94 { 0x7010004, "NW-A845" },
95 { 0x7010005, "NW-A846" },
96 { 0x7010006, "NW-A847" },
97 { 0x8000000, "NW-E052" },
98 { 0x8000001, "NW-E053" },
99 { 0x8000002, "NW-E054" },
100 { 0x9000002, "NW-S754" },
101 { 0x9000004, "NW-S755" },
102 { 0x9000005, "NW-S756" },
103 { 0xb000001, "NWZ-E453" },
104 { 0xb000002, "NWZ-E454" },
105 { 0xb000004, "NWZ-E455" },
106 { 0xc000001, "NWZ-E353" },
107 { 0xc000002, "NWZ-E354" },
108 { 0xc000004, "NWZ-E355" },
109 { 0xd000001, "NWZ-E553" },
110 { 0xd000002, "NWZ-E554" },
111 { 0xd000004, "NWZ-E555" },
112 { 0xd000005, "NWZ-E556" },
113 { 0xe000004, "NWZ-A855" },
114 { 0xe000005, "NWZ-A856" },
115 { 0xe000006, "NWZ-A857" },
116 { 0xf000002, "NWZ-S754" },
117 { 0xf000004, "NWZ-S755" },
118 { 0x10000000, "NWZ-E052" },
119 { 0x10000001, "NWZ-E053" },
120 { 0x11000001, "NW-A863" },
121 { 0x11000002, "NW-A864" },
122 { 0x11000004, "NW-A865" },
123 { 0x11000005, "NW-A866" },
124 { 0x11000006, "NW-A867" },
125 { 0x11010001, "NWZ-A863" },
126 { 0x11010002, "NWZ-A864" },
127 { 0x11010004, "NWZ-A865" },
128 { 0x11010005, "NWZ-A866" },
129 { 0x11010006, "NWZ-A867" },
130 { 0x11020001, "NWZ-A863" },
131 { 0x11020002, "NWZ-A864" },
132 { 0x11020004, "NWZ-A865" },
133 { 0x11020005, "NWZ-A866" },
134 { 0x11020006, "NWZ-A867" },
135 { 0x12000001, "NW-S763" },
136 { 0x12000002, "NW-S764" },
137 { 0x12000004, "NW-S765" },
138 { 0x12000005, "NW-S766" },
139 { 0x12000006, "NW-S767" },
140 { 0x12010001, "NWZ-S763" },
141 { 0x12010002, "NWZ-S764" },
142 { 0x12010004, "NWZ-S765" },
143 { 0x12010005, "NWZ-S766" },
144 { 0x12010006, "NWZ-S767" },
145 { 0x13000001, "NWZ-E463" },
146 { 0x13000002, "NWZ-E464" },
147 { 0x13000004, "NWZ-E465" },
148 { 0x14000000, "NW-E062" },
149 { 0x14000001, "NW-E063" },
150 { 0x14000002, "NW-E064" },
151 { 0x14000004, "NW-E065" },
152 { 0x14000005, "NW-E066" },
153 { 0x15000001, "NWZ-E473" },
154 { 0x15000002, "NWZ-E474" },
155 { 0x15000004, "NWZ-E475" },
156 { 0x15000005, "NWZ-E476" },
157 { 0x15010001, "NWZ-E573" },
158 { 0x15010002, "NWZ-E574" },
159 { 0x15010004, "NWZ-E575" },
160 { 0x15010005, "NWZ-E576" },
161 { 0x16000001, "NW-S773" },
162 { 0x16000002, "NW-S774" },
163 { 0x16000004, "NW-S775" },
164 { 0x16000005, "NW-S776" },
165 { 0x16010001, "NWZ-S773" },
166 { 0x16010002, "NWZ-S774" },
167 { 0x16010004, "NWZ-S775" },
168 { 0x16010005, "NWZ-S776" },
169 { 0x19000001, "NW-S783" },
170 { 0x19000002, "NW-S784" },
171 { 0x19000004, "NW-S785" },
172 { 0x19000005, "NW-S786" },
173 { 0x19010001, "NW-E083" },
174 { 0x19010002, "NW-E084" },
175 { 0x19010004, "NW-E085" },
176 { 0x19010005, "NW-E086" },
177 { 0x19020001, "NWZ-E583" },
178 { 0x19020002, "NWZ-E584" },
179 { 0x19020004, "NWZ-E585" },
180 { 0x19020005, "NWZ-E586" },
181 { 0x1a000001, "NW-A13" },
182 { 0x1a000002, "NW-A14" },
183 { 0x1a000004, "NW-A15" },
184 { 0x1a000005, "NW-A16" },
185 { 0x1a000006, "NW-A17" },
186 { 0x1a010001, "NWZ-A13" },
187 { 0x1a010002, "NWZ-A14" },
188 { 0x1a010004, "NWZ-A15" },
189 { 0x1a010005, "NWZ-A16" },
190 { 0x1a010006, "NWZ-A17" },
191 { 0x1b000001, "NW-S13" },
192 { 0x1b000002, "NW-S14" },
193 { 0x1b000004, "NW-S15" },
194 { 0x1b000005, "NW-S16" },
195 { 0x1b000006, "NW-S17" },
196 { 0x1c000001, "NW-ZX103" },
197 { 0x1c000002, "NW-ZX104" },
198 { 0x1c000004, "NW-ZX105" },
199 { 0x1c000005, "NW-ZX106" },
200 { 0x1c000006, "NW-ZX107" },
201 { 0x1c000007, "NW-ZX100" },
202 { 0x1d000001, "NW-A23" },
203 { 0x1d000002, "NW-A24" },
204 { 0x1d000004, "NW-A25" },
205 { 0x1d000005, "NW-A26" },
206 { 0x1d000006, "NW-A27" },
207 { 0x1d000007, "NW-A28" },
Amaury Poulybe68b6a2017-01-07 17:32:47 +0100208 { 0x20000007, "NW-WM1A" },
209 { 0x21000008, "NW-WM1Z" },
Amaury Pouly80d91e02017-01-08 12:30:46 +0100210 { 0x22000004, "NW-A35" },
Amaury Pouly44bb2852016-11-11 15:40:56 +0100211};
212
Amaury Pouly44bb2852016-11-11 15:40:56 +0100213static int nvp_index_0ac81d[NWZ_NVP_COUNT] =
214{
215 [NWZ_NVP_APD] = 78,
216 [NWZ_NVP_APP] = 5,
217 [NWZ_NVP_BFD] = NWZ_NVP_INVALID,
218 [NWZ_NVP_BFP] = NWZ_NVP_INVALID,
219 [NWZ_NVP_BLF] = 79,
220 [NWZ_NVP_BML] = NWZ_NVP_INVALID,
221 [NWZ_NVP_BOK] = 10,
222 [NWZ_NVP_BPR] = 35,
223 [NWZ_NVP_BTC] = NWZ_NVP_INVALID,
224 [NWZ_NVP_BTI] = 1,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100225 [NWZ_NVP_CLV] = 68,
226 [NWZ_NVP_CNG] = 3,
227 [NWZ_NVP_CTR] = NWZ_NVP_INVALID,
228 [NWZ_NVP_DBA] = 12,
229 [NWZ_NVP_DBG] = 0,
230 [NWZ_NVP_DBI] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200231 [NWZ_NVP_DBS] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100232 [NWZ_NVP_DBV] = 13,
233 [NWZ_NVP_DCC] = 7,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200234 [NWZ_NVP_DG0] = NWZ_NVP_INVALID,
235 [NWZ_NVP_DG1] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100236 [NWZ_NVP_DOR] = 21,
237 [NWZ_NVP_E00] = 36,
238 [NWZ_NVP_E01] = 37,
239 [NWZ_NVP_E02] = 38,
240 [NWZ_NVP_E03] = 39,
241 [NWZ_NVP_E04] = 40,
242 [NWZ_NVP_E05] = 41,
243 [NWZ_NVP_E06] = 42,
244 [NWZ_NVP_E07] = 43,
245 [NWZ_NVP_E08] = 44,
246 [NWZ_NVP_E09] = 45,
247 [NWZ_NVP_E10] = 46,
248 [NWZ_NVP_E11] = 47,
249 [NWZ_NVP_E12] = 48,
250 [NWZ_NVP_E13] = 49,
251 [NWZ_NVP_E14] = 50,
252 [NWZ_NVP_E15] = 51,
253 [NWZ_NVP_E16] = 52,
254 [NWZ_NVP_E17] = 53,
255 [NWZ_NVP_E18] = 54,
256 [NWZ_NVP_E19] = 55,
257 [NWZ_NVP_E20] = 56,
258 [NWZ_NVP_E21] = 57,
259 [NWZ_NVP_E22] = 58,
260 [NWZ_NVP_E23] = 59,
261 [NWZ_NVP_E24] = 60,
262 [NWZ_NVP_E25] = 61,
263 [NWZ_NVP_E26] = 62,
264 [NWZ_NVP_E27] = 63,
265 [NWZ_NVP_E28] = 64,
266 [NWZ_NVP_E29] = 65,
267 [NWZ_NVP_E30] = 66,
268 [NWZ_NVP_E31] = 67,
269 [NWZ_NVP_EDW] = 22,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200270 [NWZ_NVP_EP0] = NWZ_NVP_INVALID,
271 [NWZ_NVP_EP1] = NWZ_NVP_INVALID,
272 [NWZ_NVP_EP2] = NWZ_NVP_INVALID,
273 [NWZ_NVP_EP3] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100274 [NWZ_NVP_ERI] = 6,
275 [NWZ_NVP_EXM] = 25,
276 [NWZ_NVP_FMP] = 82,
277 [NWZ_NVP_FNI] = NWZ_NVP_INVALID,
278 [NWZ_NVP_FPI] = NWZ_NVP_INVALID,
279 [NWZ_NVP_FUI] = 19,
280 [NWZ_NVP_FUP] = 9,
281 [NWZ_NVP_FUR] = NWZ_NVP_INVALID,
282 [NWZ_NVP_FVI] = NWZ_NVP_INVALID,
283 [NWZ_NVP_GTY] = 18,
284 [NWZ_NVP_HDI] = 2,
285 [NWZ_NVP_HLD] = 80,
286 [NWZ_NVP_INS] = NWZ_NVP_INVALID,
287 [NWZ_NVP_IPT] = 70,
288 [NWZ_NVP_KAS] = 32,
289 [NWZ_NVP_LBI] = 20,
290 [NWZ_NVP_LYR] = NWZ_NVP_INVALID,
291 [NWZ_NVP_MAC] = 77,
292 [NWZ_NVP_MCR] = NWZ_NVP_INVALID,
293 [NWZ_NVP_MDK] = NWZ_NVP_INVALID,
294 [NWZ_NVP_MDL] = 8,
295 [NWZ_NVP_MID] = 16,
296 [NWZ_NVP_MLK] = NWZ_NVP_INVALID,
297 [NWZ_NVP_MSC] = 84,
298 [NWZ_NVP_MSO] = NWZ_NVP_INVALID,
299 [NWZ_NVP_MTM] = NWZ_NVP_INVALID,
300 [NWZ_NVP_MUK] = NWZ_NVP_INVALID,
301 [NWZ_NVP_NCP] = 31,
302 [NWZ_NVP_NVR] = NWZ_NVP_INVALID,
303 [NWZ_NVP_PCD] = 26,
304 [NWZ_NVP_PCI] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200305 [NWZ_NVP_PNC] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100306 [NWZ_NVP_PRK] = NWZ_NVP_INVALID,
307 [NWZ_NVP_PSK] = NWZ_NVP_INVALID,
308 [NWZ_NVP_PTS] = 75,
309 [NWZ_NVP_RBT] = NWZ_NVP_INVALID,
310 [NWZ_NVP_RND] = 28,
311 [NWZ_NVP_RTC] = 34,
312 [NWZ_NVP_SDC] = NWZ_NVP_INVALID,
313 [NWZ_NVP_SDP] = 30,
314 [NWZ_NVP_SER] = 4,
315 [NWZ_NVP_SFI] = NWZ_NVP_INVALID,
316 [NWZ_NVP_SHE] = NWZ_NVP_INVALID,
317 [NWZ_NVP_SHP] = 11,
318 [NWZ_NVP_SID] = NWZ_NVP_INVALID,
319 [NWZ_NVP_SKD] = 81,
320 [NWZ_NVP_SKT] = 76,
321 [NWZ_NVP_SKU] = NWZ_NVP_INVALID,
322 [NWZ_NVP_SLP] = 69,
323 [NWZ_NVP_SPS] = 83,
324 [NWZ_NVP_SYI] = 24,
325 [NWZ_NVP_TR0] = 14,
326 [NWZ_NVP_TR1] = 15,
327 [NWZ_NVP_TST] = 17,
328 [NWZ_NVP_UBP] = 23,
329 [NWZ_NVP_UFN] = 29,
330 [NWZ_NVP_UMS] = NWZ_NVP_INVALID,
331 [NWZ_NVP_UPS] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200332 [NWZ_NVP_VAR] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100333 [NWZ_NVP_VRT] = NWZ_NVP_INVALID,
334};
335
Amaury Poulybfd57042017-01-04 16:30:30 +0100336static int nvp_index_28dc2c[NWZ_NVP_COUNT] =
Amaury Pouly44bb2852016-11-11 15:40:56 +0100337{
338 [NWZ_NVP_APD] = 78,
Amaury Poulybfd57042017-01-04 16:30:30 +0100339 [NWZ_NVP_APP] = NWZ_NVP_INVALID,
340 [NWZ_NVP_BFD] = 21,
341 [NWZ_NVP_BFP] = 20,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100342 [NWZ_NVP_BLF] = 79,
Amaury Poulybfd57042017-01-04 16:30:30 +0100343 [NWZ_NVP_BML] = 22,
344 [NWZ_NVP_BOK] = 4,
345 [NWZ_NVP_BPR] = 19,
346 [NWZ_NVP_BTC] = 85,
347 [NWZ_NVP_BTI] = 72,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100348 [NWZ_NVP_CLV] = 68,
Amaury Poulybfd57042017-01-04 16:30:30 +0100349 [NWZ_NVP_CNG] = 23,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100350 [NWZ_NVP_CTR] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100351 [NWZ_NVP_DBA] = 24,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100352 [NWZ_NVP_DBG] = 0,
353 [NWZ_NVP_DBI] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200354 [NWZ_NVP_DBS] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100355 [NWZ_NVP_DBV] = 25,
356 [NWZ_NVP_DCC] = 31,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200357 [NWZ_NVP_DG0] = NWZ_NVP_INVALID,
358 [NWZ_NVP_DG1] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100359 [NWZ_NVP_DOR] = 26,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100360 [NWZ_NVP_E00] = 36,
361 [NWZ_NVP_E01] = 37,
362 [NWZ_NVP_E02] = 38,
363 [NWZ_NVP_E03] = 39,
364 [NWZ_NVP_E04] = 40,
365 [NWZ_NVP_E05] = 41,
366 [NWZ_NVP_E06] = 42,
367 [NWZ_NVP_E07] = 43,
368 [NWZ_NVP_E08] = 44,
369 [NWZ_NVP_E09] = 45,
370 [NWZ_NVP_E10] = 46,
371 [NWZ_NVP_E11] = 47,
372 [NWZ_NVP_E12] = 48,
373 [NWZ_NVP_E13] = 49,
374 [NWZ_NVP_E14] = 50,
375 [NWZ_NVP_E15] = 51,
376 [NWZ_NVP_E16] = 52,
377 [NWZ_NVP_E17] = 53,
378 [NWZ_NVP_E18] = 54,
379 [NWZ_NVP_E19] = 55,
380 [NWZ_NVP_E20] = 56,
381 [NWZ_NVP_E21] = 57,
382 [NWZ_NVP_E22] = 58,
383 [NWZ_NVP_E23] = 59,
384 [NWZ_NVP_E24] = 60,
385 [NWZ_NVP_E25] = 61,
386 [NWZ_NVP_E26] = 62,
387 [NWZ_NVP_E27] = 63,
388 [NWZ_NVP_E28] = 64,
389 [NWZ_NVP_E29] = 65,
390 [NWZ_NVP_E30] = 66,
391 [NWZ_NVP_E31] = 67,
Amaury Poulybfd57042017-01-04 16:30:30 +0100392 [NWZ_NVP_EDW] = 71,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200393 [NWZ_NVP_EP0] = NWZ_NVP_INVALID,
394 [NWZ_NVP_EP1] = NWZ_NVP_INVALID,
395 [NWZ_NVP_EP2] = NWZ_NVP_INVALID,
396 [NWZ_NVP_EP3] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100397 [NWZ_NVP_ERI] = 76,
398 [NWZ_NVP_EXM] = NWZ_NVP_INVALID,
399 [NWZ_NVP_FMP] = 15,
400 [NWZ_NVP_FNI] = 82,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100401 [NWZ_NVP_FPI] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100402 [NWZ_NVP_FUI] = 75,
403 [NWZ_NVP_FUP] = 3,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100404 [NWZ_NVP_FUR] = NWZ_NVP_INVALID,
405 [NWZ_NVP_FVI] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100406 [NWZ_NVP_GTY] = 14,
407 [NWZ_NVP_HDI] = 73,
408 [NWZ_NVP_HLD] = 5,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100409 [NWZ_NVP_INS] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100410 [NWZ_NVP_IPT] = NWZ_NVP_INVALID,
411 [NWZ_NVP_KAS] = 11,
412 [NWZ_NVP_LBI] = 74,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100413 [NWZ_NVP_LYR] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100414 [NWZ_NVP_MAC] = NWZ_NVP_INVALID,
415 [NWZ_NVP_MCR] = NWZ_NVP_INVALID,
416 [NWZ_NVP_MDK] = 30,
417 [NWZ_NVP_MDL] = 70,
418 [NWZ_NVP_MID] = 7,
419 [NWZ_NVP_MLK] = 84,
420 [NWZ_NVP_MSC] = NWZ_NVP_INVALID,
421 [NWZ_NVP_MSO] = 86,
422 [NWZ_NVP_MTM] = 33,
423 [NWZ_NVP_MUK] = NWZ_NVP_INVALID,
424 [NWZ_NVP_NCP] = 17,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100425 [NWZ_NVP_NVR] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100426 [NWZ_NVP_PCD] = 8,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100427 [NWZ_NVP_PCI] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200428 [NWZ_NVP_PNC] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100429 [NWZ_NVP_PRK] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100430 [NWZ_NVP_PSK] = 18,
431 [NWZ_NVP_PTS] = 77,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100432 [NWZ_NVP_RBT] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100433 [NWZ_NVP_RND] = 27,
434 [NWZ_NVP_RTC] = 6,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100435 [NWZ_NVP_SDC] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100436 [NWZ_NVP_SDP] = 16,
437 [NWZ_NVP_SER] = 9,
438 [NWZ_NVP_SFI] = 29,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100439 [NWZ_NVP_SHE] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100440 [NWZ_NVP_SHP] = 12,
441 [NWZ_NVP_SID] = 83,
442 [NWZ_NVP_SKD] = 28,
443 [NWZ_NVP_SKT] = 32,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100444 [NWZ_NVP_SKU] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100445 [NWZ_NVP_SLP] = 80,
446 [NWZ_NVP_SPS] = 69,
447 [NWZ_NVP_SYI] = 1,
448 [NWZ_NVP_TR0] = 34,
449 [NWZ_NVP_TR1] = 35,
450 [NWZ_NVP_TST] = 13,
451 [NWZ_NVP_UBP] = 2,
452 [NWZ_NVP_UFN] = 10,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100453 [NWZ_NVP_UMS] = NWZ_NVP_INVALID,
454 [NWZ_NVP_UPS] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200455 [NWZ_NVP_VAR] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100456 [NWZ_NVP_VRT] = 81,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100457};
458
459static int nvp_index_398250[NWZ_NVP_COUNT] =
460{
461 [NWZ_NVP_APD] = 78,
462 [NWZ_NVP_APP] = NWZ_NVP_INVALID,
463 [NWZ_NVP_BFD] = 21,
464 [NWZ_NVP_BFP] = 20,
465 [NWZ_NVP_BLF] = 79,
466 [NWZ_NVP_BML] = 22,
467 [NWZ_NVP_BOK] = NWZ_NVP_INVALID,
468 [NWZ_NVP_BPR] = 19,
469 [NWZ_NVP_BTC] = 85,
470 [NWZ_NVP_BTI] = 72,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100471 [NWZ_NVP_CLV] = 68,
472 [NWZ_NVP_CNG] = 23,
473 [NWZ_NVP_CTR] = 90,
474 [NWZ_NVP_DBA] = NWZ_NVP_INVALID,
475 [NWZ_NVP_DBG] = 0,
476 [NWZ_NVP_DBI] = 88,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200477 [NWZ_NVP_DBS] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100478 [NWZ_NVP_DBV] = 25,
479 [NWZ_NVP_DCC] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200480 [NWZ_NVP_DG0] = NWZ_NVP_INVALID,
481 [NWZ_NVP_DG1] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100482 [NWZ_NVP_DOR] = NWZ_NVP_INVALID,
483 [NWZ_NVP_E00] = 36,
484 [NWZ_NVP_E01] = 37,
485 [NWZ_NVP_E02] = 38,
486 [NWZ_NVP_E03] = 39,
487 [NWZ_NVP_E04] = 40,
488 [NWZ_NVP_E05] = 41,
489 [NWZ_NVP_E06] = 42,
490 [NWZ_NVP_E07] = 43,
491 [NWZ_NVP_E08] = 44,
492 [NWZ_NVP_E09] = 45,
493 [NWZ_NVP_E10] = 46,
494 [NWZ_NVP_E11] = 47,
495 [NWZ_NVP_E12] = 48,
496 [NWZ_NVP_E13] = 49,
497 [NWZ_NVP_E14] = 50,
498 [NWZ_NVP_E15] = 51,
499 [NWZ_NVP_E16] = 52,
500 [NWZ_NVP_E17] = 53,
501 [NWZ_NVP_E18] = 54,
502 [NWZ_NVP_E19] = 55,
503 [NWZ_NVP_E20] = 56,
504 [NWZ_NVP_E21] = 57,
505 [NWZ_NVP_E22] = 58,
506 [NWZ_NVP_E23] = 59,
507 [NWZ_NVP_E24] = 60,
508 [NWZ_NVP_E25] = 61,
509 [NWZ_NVP_E26] = 62,
510 [NWZ_NVP_E27] = 63,
511 [NWZ_NVP_E28] = 64,
512 [NWZ_NVP_E29] = 65,
513 [NWZ_NVP_E30] = 66,
514 [NWZ_NVP_E31] = 67,
515 [NWZ_NVP_EDW] = 71,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200516 [NWZ_NVP_EP0] = NWZ_NVP_INVALID,
517 [NWZ_NVP_EP1] = NWZ_NVP_INVALID,
518 [NWZ_NVP_EP2] = NWZ_NVP_INVALID,
519 [NWZ_NVP_EP3] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100520 [NWZ_NVP_ERI] = 76,
521 [NWZ_NVP_EXM] = NWZ_NVP_INVALID,
522 [NWZ_NVP_FMP] = 15,
523 [NWZ_NVP_FNI] = 82,
524 [NWZ_NVP_FPI] = 33,
525 [NWZ_NVP_FUI] = 75,
526 [NWZ_NVP_FUP] = 3,
527 [NWZ_NVP_FUR] = 26,
528 [NWZ_NVP_FVI] = 31,
529 [NWZ_NVP_GTY] = 14,
530 [NWZ_NVP_HDI] = 73,
531 [NWZ_NVP_HLD] = 5,
532 [NWZ_NVP_INS] = 89,
533 [NWZ_NVP_IPT] = NWZ_NVP_INVALID,
534 [NWZ_NVP_KAS] = 11,
535 [NWZ_NVP_LBI] = 74,
536 [NWZ_NVP_LYR] = 24,
537 [NWZ_NVP_MAC] = 32,
538 [NWZ_NVP_MCR] = NWZ_NVP_INVALID,
539 [NWZ_NVP_MDK] = 30,
540 [NWZ_NVP_MDL] = NWZ_NVP_INVALID,
541 [NWZ_NVP_MID] = 7,
542 [NWZ_NVP_MLK] = NWZ_NVP_INVALID,
543 [NWZ_NVP_MSC] = NWZ_NVP_INVALID,
544 [NWZ_NVP_MSO] = 86,
545 [NWZ_NVP_MTM] = NWZ_NVP_INVALID,
546 [NWZ_NVP_MUK] = NWZ_NVP_INVALID,
547 [NWZ_NVP_NCP] = 17,
548 [NWZ_NVP_NVR] = 77,
549 [NWZ_NVP_PCD] = 8,
550 [NWZ_NVP_PCI] = 87,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200551 [NWZ_NVP_PNC] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100552 [NWZ_NVP_PRK] = 4,
553 [NWZ_NVP_PSK] = 18,
554 [NWZ_NVP_PTS] = NWZ_NVP_INVALID,
555 [NWZ_NVP_RBT] = 70,
556 [NWZ_NVP_RND] = NWZ_NVP_INVALID,
557 [NWZ_NVP_RTC] = 6,
558 [NWZ_NVP_SDC] = NWZ_NVP_INVALID,
559 [NWZ_NVP_SDP] = 16,
560 [NWZ_NVP_SER] = 9,
561 [NWZ_NVP_SFI] = NWZ_NVP_INVALID,
562 [NWZ_NVP_SHE] = 84,
563 [NWZ_NVP_SHP] = 12,
564 [NWZ_NVP_SID] = 83,
565 [NWZ_NVP_SKD] = 28,
566 [NWZ_NVP_SKT] = NWZ_NVP_INVALID,
567 [NWZ_NVP_SKU] = 91,
568 [NWZ_NVP_SLP] = 80,
569 [NWZ_NVP_SPS] = 69,
570 [NWZ_NVP_SYI] = 1,
571 [NWZ_NVP_TR0] = 34,
572 [NWZ_NVP_TR1] = 35,
573 [NWZ_NVP_TST] = 13,
574 [NWZ_NVP_UBP] = 2,
575 [NWZ_NVP_UFN] = 10,
576 [NWZ_NVP_UMS] = 27,
577 [NWZ_NVP_UPS] = 29,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200578 [NWZ_NVP_VAR] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100579 [NWZ_NVP_VRT] = 81,
580};
581
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200582static int nvp_index_4edba7[NWZ_NVP_COUNT] =
Amaury Pouly44bb2852016-11-11 15:40:56 +0100583{
584 [NWZ_NVP_APD] = 78,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200585 [NWZ_NVP_APP] = 0,
586 [NWZ_NVP_BFD] = NWZ_NVP_INVALID,
587 [NWZ_NVP_BFP] = NWZ_NVP_INVALID,
Amaury Pouly44bb2852016-11-11 15:40:56 +0100588 [NWZ_NVP_BLF] = 79,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200589 [NWZ_NVP_BML] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100590 [NWZ_NVP_BOK] = 10,
591 [NWZ_NVP_BPR] = 35,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200592 [NWZ_NVP_BTC] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100593 [NWZ_NVP_BTI] = 1,
Amaury Poulybfd57042017-01-04 16:30:30 +0100594 [NWZ_NVP_CLV] = 68,
595 [NWZ_NVP_CNG] = 3,
596 [NWZ_NVP_CTR] = NWZ_NVP_INVALID,
597 [NWZ_NVP_DBA] = 12,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200598 [NWZ_NVP_DBG] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +0100599 [NWZ_NVP_DBI] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200600 [NWZ_NVP_DBS] = 27,
Amaury Poulybfd57042017-01-04 16:30:30 +0100601 [NWZ_NVP_DBV] = 13,
602 [NWZ_NVP_DCC] = 7,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200603 [NWZ_NVP_DG0] = 5,
604 [NWZ_NVP_DG1] = 6,
Amaury Poulybfd57042017-01-04 16:30:30 +0100605 [NWZ_NVP_DOR] = 21,
606 [NWZ_NVP_E00] = 36,
607 [NWZ_NVP_E01] = 37,
608 [NWZ_NVP_E02] = 38,
609 [NWZ_NVP_E03] = 39,
610 [NWZ_NVP_E04] = 40,
611 [NWZ_NVP_E05] = 41,
612 [NWZ_NVP_E06] = 42,
613 [NWZ_NVP_E07] = 43,
614 [NWZ_NVP_E08] = 44,
615 [NWZ_NVP_E09] = 45,
616 [NWZ_NVP_E10] = 46,
617 [NWZ_NVP_E11] = 47,
618 [NWZ_NVP_E12] = 48,
619 [NWZ_NVP_E13] = 49,
620 [NWZ_NVP_E14] = 50,
621 [NWZ_NVP_E15] = 51,
622 [NWZ_NVP_E16] = 52,
623 [NWZ_NVP_E17] = 53,
624 [NWZ_NVP_E18] = 54,
625 [NWZ_NVP_E19] = 55,
626 [NWZ_NVP_E20] = 56,
627 [NWZ_NVP_E21] = 57,
628 [NWZ_NVP_E22] = 58,
629 [NWZ_NVP_E23] = 59,
630 [NWZ_NVP_E24] = 60,
631 [NWZ_NVP_E25] = 61,
632 [NWZ_NVP_E26] = 62,
633 [NWZ_NVP_E27] = 63,
634 [NWZ_NVP_E28] = 64,
635 [NWZ_NVP_E29] = 65,
636 [NWZ_NVP_E30] = 66,
637 [NWZ_NVP_E31] = 67,
638 [NWZ_NVP_EDW] = 22,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +0200639 [NWZ_NVP_EP0] = 71,
640 [NWZ_NVP_EP1] = 72,
641 [NWZ_NVP_EP2] = 73,
642 [NWZ_NVP_EP3] = 74,
643 [NWZ_NVP_ERI] = NWZ_NVP_INVALID,
644 [NWZ_NVP_EXM] = NWZ_NVP_INVALID,
645 [NWZ_NVP_FMP] = NWZ_NVP_INVALID,
646 [NWZ_NVP_FNI] = NWZ_NVP_INVALID,
647 [NWZ_NVP_FPI] = NWZ_NVP_INVALID,
648 [NWZ_NVP_FUI] = 19,
649 [NWZ_NVP_FUP] = 9,
650 [NWZ_NVP_FUR] = NWZ_NVP_INVALID,
651 [NWZ_NVP_FVI] = NWZ_NVP_INVALID,
652 [NWZ_NVP_GTY] = 18,
653 [NWZ_NVP_HDI] = 2,
654 [NWZ_NVP_HLD] = 80,
655 [NWZ_NVP_INS] = NWZ_NVP_INVALID,
656 [NWZ_NVP_IPT] = 70,
657 [NWZ_NVP_KAS] = 32,
658 [NWZ_NVP_LBI] = 20,
659 [NWZ_NVP_LYR] = NWZ_NVP_INVALID,
660 [NWZ_NVP_MAC] = 77,
661 [NWZ_NVP_MCR] = NWZ_NVP_INVALID,
662 [NWZ_NVP_MDK] = NWZ_NVP_INVALID,
663 [NWZ_NVP_MDL] = 8,
664 [NWZ_NVP_MID] = 16,
665 [NWZ_NVP_MLK] = NWZ_NVP_INVALID,
666 [NWZ_NVP_MSC] = NWZ_NVP_INVALID,
667 [NWZ_NVP_MSO] = NWZ_NVP_INVALID,
668 [NWZ_NVP_MTM] = NWZ_NVP_INVALID,
669 [NWZ_NVP_MUK] = NWZ_NVP_INVALID,
670 [NWZ_NVP_NCP] = 31,
671 [NWZ_NVP_NVR] = NWZ_NVP_INVALID,
672 [NWZ_NVP_PCD] = 26,
673 [NWZ_NVP_PCI] = NWZ_NVP_INVALID,
674 [NWZ_NVP_PNC] = 33,
675 [NWZ_NVP_PRK] = NWZ_NVP_INVALID,
676 [NWZ_NVP_PSK] = NWZ_NVP_INVALID,
677 [NWZ_NVP_PTS] = 75,
678 [NWZ_NVP_RBT] = NWZ_NVP_INVALID,
679 [NWZ_NVP_RND] = 28,
680 [NWZ_NVP_RTC] = 34,
681 [NWZ_NVP_SDC] = NWZ_NVP_INVALID,
682 [NWZ_NVP_SDP] = 30,
683 [NWZ_NVP_SER] = 4,
684 [NWZ_NVP_SFI] = NWZ_NVP_INVALID,
685 [NWZ_NVP_SHE] = NWZ_NVP_INVALID,
686 [NWZ_NVP_SHP] = 11,
687 [NWZ_NVP_SID] = NWZ_NVP_INVALID,
688 [NWZ_NVP_SKD] = 81,
689 [NWZ_NVP_SKT] = 76,
690 [NWZ_NVP_SKU] = NWZ_NVP_INVALID,
691 [NWZ_NVP_SLP] = 69,
692 [NWZ_NVP_SPS] = NWZ_NVP_INVALID,
693 [NWZ_NVP_SYI] = 24,
694 [NWZ_NVP_TR0] = 14,
695 [NWZ_NVP_TR1] = 15,
696 [NWZ_NVP_TST] = 17,
697 [NWZ_NVP_UBP] = 23,
698 [NWZ_NVP_UFN] = 29,
699 [NWZ_NVP_UMS] = NWZ_NVP_INVALID,
700 [NWZ_NVP_UPS] = NWZ_NVP_INVALID,
701 [NWZ_NVP_VAR] = 25,
702 [NWZ_NVP_VRT] = NWZ_NVP_INVALID,
703};
704
705static int nvp_index_6485c8[NWZ_NVP_COUNT] =
706{
707 [NWZ_NVP_APD] = 78,
708 [NWZ_NVP_APP] = NWZ_NVP_INVALID,
709 [NWZ_NVP_BFD] = 21,
710 [NWZ_NVP_BFP] = 20,
711 [NWZ_NVP_BLF] = 79,
712 [NWZ_NVP_BML] = 22,
713 [NWZ_NVP_BOK] = 4,
714 [NWZ_NVP_BPR] = 19,
715 [NWZ_NVP_BTC] = 85,
716 [NWZ_NVP_BTI] = 72,
717 [NWZ_NVP_CLV] = 68,
718 [NWZ_NVP_CNG] = 23,
719 [NWZ_NVP_CTR] = NWZ_NVP_INVALID,
720 [NWZ_NVP_DBA] = 24,
721 [NWZ_NVP_DBG] = 0,
722 [NWZ_NVP_DBI] = 88,
723 [NWZ_NVP_DBS] = NWZ_NVP_INVALID,
724 [NWZ_NVP_DBV] = 25,
725 [NWZ_NVP_DCC] = 31,
726 [NWZ_NVP_DG0] = NWZ_NVP_INVALID,
727 [NWZ_NVP_DG1] = NWZ_NVP_INVALID,
728 [NWZ_NVP_DOR] = 26,
729 [NWZ_NVP_E00] = 36,
730 [NWZ_NVP_E01] = 37,
731 [NWZ_NVP_E02] = 38,
732 [NWZ_NVP_E03] = 39,
733 [NWZ_NVP_E04] = 40,
734 [NWZ_NVP_E05] = 41,
735 [NWZ_NVP_E06] = 42,
736 [NWZ_NVP_E07] = 43,
737 [NWZ_NVP_E08] = 44,
738 [NWZ_NVP_E09] = 45,
739 [NWZ_NVP_E10] = 46,
740 [NWZ_NVP_E11] = 47,
741 [NWZ_NVP_E12] = 48,
742 [NWZ_NVP_E13] = 49,
743 [NWZ_NVP_E14] = 50,
744 [NWZ_NVP_E15] = 51,
745 [NWZ_NVP_E16] = 52,
746 [NWZ_NVP_E17] = 53,
747 [NWZ_NVP_E18] = 54,
748 [NWZ_NVP_E19] = 55,
749 [NWZ_NVP_E20] = 56,
750 [NWZ_NVP_E21] = 57,
751 [NWZ_NVP_E22] = 58,
752 [NWZ_NVP_E23] = 59,
753 [NWZ_NVP_E24] = 60,
754 [NWZ_NVP_E25] = 61,
755 [NWZ_NVP_E26] = 62,
756 [NWZ_NVP_E27] = 63,
757 [NWZ_NVP_E28] = 64,
758 [NWZ_NVP_E29] = 65,
759 [NWZ_NVP_E30] = 66,
760 [NWZ_NVP_E31] = 67,
761 [NWZ_NVP_EDW] = 71,
762 [NWZ_NVP_EP0] = NWZ_NVP_INVALID,
763 [NWZ_NVP_EP1] = NWZ_NVP_INVALID,
764 [NWZ_NVP_EP2] = NWZ_NVP_INVALID,
765 [NWZ_NVP_EP3] = NWZ_NVP_INVALID,
766 [NWZ_NVP_ERI] = 76,
767 [NWZ_NVP_EXM] = NWZ_NVP_INVALID,
768 [NWZ_NVP_FMP] = 15,
769 [NWZ_NVP_FNI] = 82,
770 [NWZ_NVP_FPI] = NWZ_NVP_INVALID,
771 [NWZ_NVP_FUI] = 75,
772 [NWZ_NVP_FUP] = 3,
773 [NWZ_NVP_FUR] = NWZ_NVP_INVALID,
774 [NWZ_NVP_FVI] = NWZ_NVP_INVALID,
775 [NWZ_NVP_GTY] = 14,
776 [NWZ_NVP_HDI] = 73,
777 [NWZ_NVP_HLD] = 5,
778 [NWZ_NVP_INS] = NWZ_NVP_INVALID,
779 [NWZ_NVP_IPT] = NWZ_NVP_INVALID,
780 [NWZ_NVP_KAS] = 11,
781 [NWZ_NVP_LBI] = 74,
782 [NWZ_NVP_LYR] = NWZ_NVP_INVALID,
783 [NWZ_NVP_MAC] = NWZ_NVP_INVALID,
784 [NWZ_NVP_MCR] = NWZ_NVP_INVALID,
785 [NWZ_NVP_MDK] = 30,
786 [NWZ_NVP_MDL] = 70,
787 [NWZ_NVP_MID] = 7,
788 [NWZ_NVP_MLK] = 84,
789 [NWZ_NVP_MSC] = NWZ_NVP_INVALID,
790 [NWZ_NVP_MSO] = 86,
791 [NWZ_NVP_MTM] = 33,
792 [NWZ_NVP_MUK] = NWZ_NVP_INVALID,
793 [NWZ_NVP_NCP] = 17,
794 [NWZ_NVP_NVR] = NWZ_NVP_INVALID,
795 [NWZ_NVP_PCD] = 8,
796 [NWZ_NVP_PCI] = 87,
797 [NWZ_NVP_PNC] = NWZ_NVP_INVALID,
798 [NWZ_NVP_PRK] = NWZ_NVP_INVALID,
799 [NWZ_NVP_PSK] = 18,
800 [NWZ_NVP_PTS] = 77,
801 [NWZ_NVP_RBT] = NWZ_NVP_INVALID,
802 [NWZ_NVP_RND] = 27,
803 [NWZ_NVP_RTC] = 6,
804 [NWZ_NVP_SDC] = NWZ_NVP_INVALID,
805 [NWZ_NVP_SDP] = 16,
806 [NWZ_NVP_SER] = 9,
807 [NWZ_NVP_SFI] = 29,
808 [NWZ_NVP_SHE] = NWZ_NVP_INVALID,
809 [NWZ_NVP_SHP] = 12,
810 [NWZ_NVP_SID] = 83,
811 [NWZ_NVP_SKD] = 28,
812 [NWZ_NVP_SKT] = 32,
813 [NWZ_NVP_SKU] = NWZ_NVP_INVALID,
814 [NWZ_NVP_SLP] = 80,
815 [NWZ_NVP_SPS] = 69,
816 [NWZ_NVP_SYI] = 1,
817 [NWZ_NVP_TR0] = 34,
818 [NWZ_NVP_TR1] = 35,
819 [NWZ_NVP_TST] = 13,
820 [NWZ_NVP_UBP] = 2,
821 [NWZ_NVP_UFN] = 10,
822 [NWZ_NVP_UMS] = NWZ_NVP_INVALID,
823 [NWZ_NVP_UPS] = NWZ_NVP_INVALID,
824 [NWZ_NVP_VAR] = NWZ_NVP_INVALID,
825 [NWZ_NVP_VRT] = 81,
826};
827
828static int nvp_index_92faee[NWZ_NVP_COUNT] =
829{
830 [NWZ_NVP_APD] = 78,
831 [NWZ_NVP_APP] = NWZ_NVP_INVALID,
832 [NWZ_NVP_BFD] = 21,
833 [NWZ_NVP_BFP] = 20,
834 [NWZ_NVP_BLF] = 79,
835 [NWZ_NVP_BML] = 22,
836 [NWZ_NVP_BOK] = 4,
837 [NWZ_NVP_BPR] = 19,
838 [NWZ_NVP_BTC] = 85,
839 [NWZ_NVP_BTI] = 72,
840 [NWZ_NVP_CLV] = 68,
841 [NWZ_NVP_CNG] = 23,
842 [NWZ_NVP_CTR] = NWZ_NVP_INVALID,
843 [NWZ_NVP_DBA] = 24,
844 [NWZ_NVP_DBG] = 0,
845 [NWZ_NVP_DBI] = 88,
846 [NWZ_NVP_DBS] = NWZ_NVP_INVALID,
847 [NWZ_NVP_DBV] = 25,
848 [NWZ_NVP_DCC] = 31,
849 [NWZ_NVP_DG0] = NWZ_NVP_INVALID,
850 [NWZ_NVP_DG1] = NWZ_NVP_INVALID,
851 [NWZ_NVP_DOR] = 26,
852 [NWZ_NVP_E00] = 36,
853 [NWZ_NVP_E01] = 37,
854 [NWZ_NVP_E02] = 38,
855 [NWZ_NVP_E03] = 39,
856 [NWZ_NVP_E04] = 40,
857 [NWZ_NVP_E05] = 41,
858 [NWZ_NVP_E06] = 42,
859 [NWZ_NVP_E07] = 43,
860 [NWZ_NVP_E08] = 44,
861 [NWZ_NVP_E09] = 45,
862 [NWZ_NVP_E10] = 46,
863 [NWZ_NVP_E11] = 47,
864 [NWZ_NVP_E12] = 48,
865 [NWZ_NVP_E13] = 49,
866 [NWZ_NVP_E14] = 50,
867 [NWZ_NVP_E15] = 51,
868 [NWZ_NVP_E16] = 52,
869 [NWZ_NVP_E17] = 53,
870 [NWZ_NVP_E18] = 54,
871 [NWZ_NVP_E19] = 55,
872 [NWZ_NVP_E20] = 56,
873 [NWZ_NVP_E21] = 57,
874 [NWZ_NVP_E22] = 58,
875 [NWZ_NVP_E23] = 59,
876 [NWZ_NVP_E24] = 60,
877 [NWZ_NVP_E25] = 61,
878 [NWZ_NVP_E26] = 62,
879 [NWZ_NVP_E27] = 63,
880 [NWZ_NVP_E28] = 64,
881 [NWZ_NVP_E29] = 65,
882 [NWZ_NVP_E30] = 66,
883 [NWZ_NVP_E31] = 67,
884 [NWZ_NVP_EDW] = 71,
885 [NWZ_NVP_EP0] = NWZ_NVP_INVALID,
886 [NWZ_NVP_EP1] = NWZ_NVP_INVALID,
887 [NWZ_NVP_EP2] = NWZ_NVP_INVALID,
888 [NWZ_NVP_EP3] = NWZ_NVP_INVALID,
889 [NWZ_NVP_ERI] = 76,
890 [NWZ_NVP_EXM] = NWZ_NVP_INVALID,
891 [NWZ_NVP_FMP] = 15,
892 [NWZ_NVP_FNI] = 82,
893 [NWZ_NVP_FPI] = NWZ_NVP_INVALID,
894 [NWZ_NVP_FUI] = 75,
895 [NWZ_NVP_FUP] = 3,
896 [NWZ_NVP_FUR] = NWZ_NVP_INVALID,
897 [NWZ_NVP_FVI] = NWZ_NVP_INVALID,
898 [NWZ_NVP_GTY] = 14,
899 [NWZ_NVP_HDI] = 73,
900 [NWZ_NVP_HLD] = 5,
901 [NWZ_NVP_INS] = NWZ_NVP_INVALID,
902 [NWZ_NVP_IPT] = NWZ_NVP_INVALID,
903 [NWZ_NVP_KAS] = 11,
904 [NWZ_NVP_LBI] = 74,
905 [NWZ_NVP_LYR] = NWZ_NVP_INVALID,
906 [NWZ_NVP_MAC] = NWZ_NVP_INVALID,
907 [NWZ_NVP_MCR] = NWZ_NVP_INVALID,
908 [NWZ_NVP_MDK] = 30,
909 [NWZ_NVP_MDL] = 70,
910 [NWZ_NVP_MID] = 7,
911 [NWZ_NVP_MLK] = 84,
912 [NWZ_NVP_MSC] = NWZ_NVP_INVALID,
913 [NWZ_NVP_MSO] = 86,
914 [NWZ_NVP_MTM] = 33,
915 [NWZ_NVP_MUK] = NWZ_NVP_INVALID,
916 [NWZ_NVP_NCP] = 17,
917 [NWZ_NVP_NVR] = NWZ_NVP_INVALID,
918 [NWZ_NVP_PCD] = 8,
919 [NWZ_NVP_PCI] = 87,
920 [NWZ_NVP_PNC] = NWZ_NVP_INVALID,
921 [NWZ_NVP_PRK] = NWZ_NVP_INVALID,
922 [NWZ_NVP_PSK] = 18,
923 [NWZ_NVP_PTS] = 77,
924 [NWZ_NVP_RBT] = NWZ_NVP_INVALID,
925 [NWZ_NVP_RND] = 27,
926 [NWZ_NVP_RTC] = 6,
927 [NWZ_NVP_SDC] = 89,
928 [NWZ_NVP_SDP] = 16,
929 [NWZ_NVP_SER] = 9,
930 [NWZ_NVP_SFI] = 29,
931 [NWZ_NVP_SHE] = NWZ_NVP_INVALID,
932 [NWZ_NVP_SHP] = 12,
933 [NWZ_NVP_SID] = 83,
934 [NWZ_NVP_SKD] = 28,
935 [NWZ_NVP_SKT] = 32,
936 [NWZ_NVP_SKU] = NWZ_NVP_INVALID,
937 [NWZ_NVP_SLP] = 80,
938 [NWZ_NVP_SPS] = 69,
939 [NWZ_NVP_SYI] = 1,
940 [NWZ_NVP_TR0] = 34,
941 [NWZ_NVP_TR1] = 35,
942 [NWZ_NVP_TST] = 13,
943 [NWZ_NVP_UBP] = 2,
944 [NWZ_NVP_UFN] = 10,
945 [NWZ_NVP_UMS] = NWZ_NVP_INVALID,
946 [NWZ_NVP_UPS] = NWZ_NVP_INVALID,
947 [NWZ_NVP_VAR] = NWZ_NVP_INVALID,
948 [NWZ_NVP_VRT] = 81,
949};
950
951static int nvp_index_f505c8[NWZ_NVP_COUNT] =
952{
953 [NWZ_NVP_APD] = 78,
954 [NWZ_NVP_APP] = 5,
955 [NWZ_NVP_BFD] = 88,
956 [NWZ_NVP_BFP] = 89,
957 [NWZ_NVP_BLF] = 79,
958 [NWZ_NVP_BML] = 87,
959 [NWZ_NVP_BOK] = 10,
960 [NWZ_NVP_BPR] = 35,
961 [NWZ_NVP_BTC] = 27,
962 [NWZ_NVP_BTI] = 1,
963 [NWZ_NVP_CLV] = 68,
964 [NWZ_NVP_CNG] = 3,
965 [NWZ_NVP_CTR] = NWZ_NVP_INVALID,
966 [NWZ_NVP_DBA] = 12,
967 [NWZ_NVP_DBG] = 0,
968 [NWZ_NVP_DBI] = NWZ_NVP_INVALID,
969 [NWZ_NVP_DBS] = NWZ_NVP_INVALID,
970 [NWZ_NVP_DBV] = 13,
971 [NWZ_NVP_DCC] = 7,
972 [NWZ_NVP_DG0] = NWZ_NVP_INVALID,
973 [NWZ_NVP_DG1] = NWZ_NVP_INVALID,
974 [NWZ_NVP_DOR] = 21,
975 [NWZ_NVP_E00] = 36,
976 [NWZ_NVP_E01] = 37,
977 [NWZ_NVP_E02] = 38,
978 [NWZ_NVP_E03] = 39,
979 [NWZ_NVP_E04] = 40,
980 [NWZ_NVP_E05] = 41,
981 [NWZ_NVP_E06] = 42,
982 [NWZ_NVP_E07] = 43,
983 [NWZ_NVP_E08] = 44,
984 [NWZ_NVP_E09] = 45,
985 [NWZ_NVP_E10] = 46,
986 [NWZ_NVP_E11] = 47,
987 [NWZ_NVP_E12] = 48,
988 [NWZ_NVP_E13] = 49,
989 [NWZ_NVP_E14] = 50,
990 [NWZ_NVP_E15] = 51,
991 [NWZ_NVP_E16] = 52,
992 [NWZ_NVP_E17] = 53,
993 [NWZ_NVP_E18] = 54,
994 [NWZ_NVP_E19] = 55,
995 [NWZ_NVP_E20] = 56,
996 [NWZ_NVP_E21] = 57,
997 [NWZ_NVP_E22] = 58,
998 [NWZ_NVP_E23] = 59,
999 [NWZ_NVP_E24] = 60,
1000 [NWZ_NVP_E25] = 61,
1001 [NWZ_NVP_E26] = 62,
1002 [NWZ_NVP_E27] = 63,
1003 [NWZ_NVP_E28] = 64,
1004 [NWZ_NVP_E29] = 65,
1005 [NWZ_NVP_E30] = 66,
1006 [NWZ_NVP_E31] = 67,
1007 [NWZ_NVP_EDW] = 22,
1008 [NWZ_NVP_EP0] = NWZ_NVP_INVALID,
1009 [NWZ_NVP_EP1] = NWZ_NVP_INVALID,
1010 [NWZ_NVP_EP2] = NWZ_NVP_INVALID,
1011 [NWZ_NVP_EP3] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +01001012 [NWZ_NVP_ERI] = 6,
1013 [NWZ_NVP_EXM] = 25,
1014 [NWZ_NVP_FMP] = 82,
1015 [NWZ_NVP_FNI] = NWZ_NVP_INVALID,
1016 [NWZ_NVP_FPI] = NWZ_NVP_INVALID,
1017 [NWZ_NVP_FUI] = 19,
1018 [NWZ_NVP_FUP] = 9,
1019 [NWZ_NVP_FUR] = NWZ_NVP_INVALID,
1020 [NWZ_NVP_FVI] = NWZ_NVP_INVALID,
1021 [NWZ_NVP_GTY] = 18,
1022 [NWZ_NVP_HDI] = 2,
1023 [NWZ_NVP_HLD] = 80,
1024 [NWZ_NVP_INS] = NWZ_NVP_INVALID,
1025 [NWZ_NVP_IPT] = 70,
1026 [NWZ_NVP_KAS] = 32,
1027 [NWZ_NVP_LBI] = 20,
1028 [NWZ_NVP_LYR] = NWZ_NVP_INVALID,
1029 [NWZ_NVP_MAC] = 77,
1030 [NWZ_NVP_MCR] = 72,
1031 [NWZ_NVP_MDK] = 73,
1032 [NWZ_NVP_MDL] = 8,
1033 [NWZ_NVP_MID] = 16,
1034 [NWZ_NVP_MLK] = NWZ_NVP_INVALID,
1035 [NWZ_NVP_MSC] = 84,
1036 [NWZ_NVP_MSO] = NWZ_NVP_INVALID,
1037 [NWZ_NVP_MTM] = 71,
1038 [NWZ_NVP_MUK] = 74,
1039 [NWZ_NVP_NCP] = 31,
1040 [NWZ_NVP_NVR] = NWZ_NVP_INVALID,
1041 [NWZ_NVP_PCD] = 26,
1042 [NWZ_NVP_PCI] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001043 [NWZ_NVP_PNC] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +01001044 [NWZ_NVP_PRK] = NWZ_NVP_INVALID,
1045 [NWZ_NVP_PSK] = 86,
1046 [NWZ_NVP_PTS] = 75,
1047 [NWZ_NVP_RBT] = NWZ_NVP_INVALID,
1048 [NWZ_NVP_RND] = 28,
1049 [NWZ_NVP_RTC] = 34,
1050 [NWZ_NVP_SDC] = NWZ_NVP_INVALID,
1051 [NWZ_NVP_SDP] = 30,
1052 [NWZ_NVP_SER] = 4,
1053 [NWZ_NVP_SFI] = 33,
1054 [NWZ_NVP_SHE] = NWZ_NVP_INVALID,
1055 [NWZ_NVP_SHP] = 11,
1056 [NWZ_NVP_SID] = NWZ_NVP_INVALID,
1057 [NWZ_NVP_SKD] = 81,
1058 [NWZ_NVP_SKT] = 76,
1059 [NWZ_NVP_SKU] = NWZ_NVP_INVALID,
1060 [NWZ_NVP_SLP] = 69,
1061 [NWZ_NVP_SPS] = 83,
1062 [NWZ_NVP_SYI] = 24,
1063 [NWZ_NVP_TR0] = 14,
1064 [NWZ_NVP_TR1] = 15,
1065 [NWZ_NVP_TST] = 17,
1066 [NWZ_NVP_UBP] = 23,
1067 [NWZ_NVP_UFN] = 29,
1068 [NWZ_NVP_UMS] = NWZ_NVP_INVALID,
1069 [NWZ_NVP_UPS] = NWZ_NVP_INVALID,
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001070 [NWZ_NVP_VAR] = NWZ_NVP_INVALID,
Amaury Poulybfd57042017-01-04 16:30:30 +01001071 [NWZ_NVP_VRT] = 85,
1072};
1073
Amaury Pouly44bb2852016-11-11 15:40:56 +01001074struct nwz_nvp_info_t nwz_nvp[NWZ_NVP_COUNT] =
1075{
1076 [NWZ_NVP_APD] = { "apd", 4, "application debug mode flag" },
1077 [NWZ_NVP_APP] = { "app", 4096, "application parameter" },
1078 [NWZ_NVP_BFD] = { "bfd", 512, "btmw factory scdb" },
1079 [NWZ_NVP_BFP] = { "bfp", 512, "btmw factory pair info" },
1080 [NWZ_NVP_BLF] = { "blf", 4, "browser log mode flag" },
1081 [NWZ_NVP_BML] = { "bml", 4, "btmw log mode flag" },
1082 [NWZ_NVP_BOK] = { "bok", 4, "beep ok flag" },
1083 [NWZ_NVP_BPR] = { "bpr", 2048, "bluetooth address | bluetooth parameter" },
1084 [NWZ_NVP_BTC] = { "btc", 4, "battery calibration" },
1085 [NWZ_NVP_BTI] = { "bti", 262144, "boot image" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001086 [NWZ_NVP_CLV] = { "clv", 4, "color variation" },
Amaury Poulybe68b6a2017-01-07 17:32:47 +01001087 [NWZ_NVP_CNG] = { "cng", 704, "aad key | aad/empr key" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001088 [NWZ_NVP_CTR] = { "ctr", 0, "" },
1089 [NWZ_NVP_DBA] = { "dba", 160, "aad icv" },
1090 [NWZ_NVP_DBG] = { "dbg", 0, "" },
1091 [NWZ_NVP_DBI] = { "dbi", 262144, "dead battery image" },
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001092 [NWZ_NVP_DBS] = { "dbs", 0, "" },
Amaury Poulybe68b6a2017-01-07 17:32:47 +01001093 [NWZ_NVP_DBV] = { "dbv", 520, "empr icv | empr key" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001094 [NWZ_NVP_DCC] = { "dcc", 20, "secure clock" },
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001095 [NWZ_NVP_DG0] = { "dg0", 0, "" },
1096 [NWZ_NVP_DG1] = { "dg1", 0, "" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001097 [NWZ_NVP_DOR] = { "dor", 4, "key mode (debug/release)" },
1098 [NWZ_NVP_E00] = { "e00", 1024, "EMPR 0" },
1099 [NWZ_NVP_E01] = { "e01", 1024, "EMPR 1" },
1100 [NWZ_NVP_E02] = { "e02", 1024, "EMPR 2" },
1101 [NWZ_NVP_E03] = { "e03", 1024, "EMPR 3" },
1102 [NWZ_NVP_E04] = { "e04", 1024, "EMPR 4" },
1103 [NWZ_NVP_E05] = { "e05", 1024, "EMPR 5" },
1104 [NWZ_NVP_E06] = { "e06", 1024, "EMPR 6" },
1105 [NWZ_NVP_E07] = { "e07", 1024, "EMPR 7" },
1106 [NWZ_NVP_E08] = { "e08", 1024, "EMPR 8" },
1107 [NWZ_NVP_E09] = { "e09", 1024, "EMPR 9" },
1108 [NWZ_NVP_E10] = { "e10", 1024, "EMPR 10" },
1109 [NWZ_NVP_E11] = { "e11", 1024, "EMPR 11" },
1110 [NWZ_NVP_E12] = { "e12", 1024, "EMPR 12" },
1111 [NWZ_NVP_E13] = { "e13", 1024, "EMPR 13" },
1112 [NWZ_NVP_E14] = { "e14", 1024, "EMPR 14" },
1113 [NWZ_NVP_E15] = { "e15", 1024, "EMPR 15" },
1114 [NWZ_NVP_E16] = { "e16", 1024, "EMPR 16" },
1115 [NWZ_NVP_E17] = { "e17", 1024, "EMPR 17" },
1116 [NWZ_NVP_E18] = { "e18", 1024, "EMPR 18" },
1117 [NWZ_NVP_E19] = { "e19", 1024, "EMPR 19" },
1118 [NWZ_NVP_E20] = { "e20", 1024, "EMPR 20" },
1119 [NWZ_NVP_E21] = { "e21", 1024, "EMPR 21" },
1120 [NWZ_NVP_E22] = { "e22", 1024, "EMPR 22" },
1121 [NWZ_NVP_E23] = { "e23", 1024, "EMPR 23" },
1122 [NWZ_NVP_E24] = { "e24", 1024, "EMPR 24" },
1123 [NWZ_NVP_E25] = { "e25", 1024, "EMPR 25" },
1124 [NWZ_NVP_E26] = { "e26", 1024, "EMPR 26" },
1125 [NWZ_NVP_E27] = { "e27", 1024, "EMPR 27" },
1126 [NWZ_NVP_E28] = { "e28", 1024, "EMPR 28" },
1127 [NWZ_NVP_E29] = { "e29", 1024, "EMPR 29" },
1128 [NWZ_NVP_E30] = { "e30", 1024, "EMPR 30" },
1129 [NWZ_NVP_E31] = { "e31", 1024, "EMPR 31" },
1130 [NWZ_NVP_EDW] = { "edw", 4, "quick shutdown flag" },
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001131 [NWZ_NVP_EP0] = { "ep0", 0, "" },
1132 [NWZ_NVP_EP1] = { "ep1", 0, "" },
1133 [NWZ_NVP_EP2] = { "ep2", 0, "" },
1134 [NWZ_NVP_EP3] = { "ep3", 0, "" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001135 [NWZ_NVP_ERI] = { "eri", 262144, "update error image" },
1136 [NWZ_NVP_EXM] = { "exm", 4, "exception monitor mode" },
1137 [NWZ_NVP_FMP] = { "fmp", 16, "fm parameter" },
1138 [NWZ_NVP_FNI] = { "fni", 4, "function information" },
1139 [NWZ_NVP_FPI] = { "fpi", 0, "" },
1140 [NWZ_NVP_FUI] = { "fui", 262144, "update image" },
1141 [NWZ_NVP_FUP] = { "fup", 4, "firmware update flag" },
1142 [NWZ_NVP_FUR] = { "fur", 0, "" },
1143 [NWZ_NVP_FVI] = { "fvi", 0, "" },
1144 [NWZ_NVP_GTY] = { "gty", 4, "getty mode flag" },
1145 [NWZ_NVP_HDI] = { "hdi", 262144, "hold image" },
1146 [NWZ_NVP_HLD] = { "hld", 4, "hold mode" },
1147 [NWZ_NVP_INS] = { "ins", 0, "" },
1148 [NWZ_NVP_IPT] = { "ipt", 4, "disable iptable flag" },
1149 [NWZ_NVP_KAS] = { "kas", 64, "key and signature" },
1150 [NWZ_NVP_LBI] = { "lbi", 262144, "low battery image" },
1151 [NWZ_NVP_LYR] = { "lyr", 0, "" },
1152 [NWZ_NVP_MAC] = { "mac", 6, "wifi mac address" },
1153 [NWZ_NVP_MCR] = { "mcr", 16384, "marlin crl" },
1154 [NWZ_NVP_MDK] = { "mdk", 33024, "marlin device key" },
1155 [NWZ_NVP_MDL] = { "mdl", 8, "middleware parameter" },
1156 [NWZ_NVP_MID] = { "mid", 64, "model id" },
1157 [NWZ_NVP_MLK] = { "mlk", 4, "marlin key" },
1158 [NWZ_NVP_MSC] = { "msc", 4, "mass storage class mode" },
1159 [NWZ_NVP_MSO] = { "mso", 4, "MSC only mode flag" },
1160 [NWZ_NVP_MTM] = { "mtm", 64, "marlin time" },
1161 [NWZ_NVP_MUK] = { "muk", 24576, "marlin user key" },
1162 [NWZ_NVP_NCP] = { "ncp", 64, "noise cancel driver parameter" },
1163 [NWZ_NVP_NVR] = { "nvr", 0, "" },
1164 [NWZ_NVP_PCD] = { "pcd", 5, "product code" },
1165 [NWZ_NVP_PCI] = { "pci", 262144, "precharge image" },
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001166 [NWZ_NVP_PNC] = { "pnc", 0, "" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001167 [NWZ_NVP_PRK] = { "prk", 0, "" },
1168 [NWZ_NVP_PSK] = { "psk", 512, "bluetooth pskey" },
1169 [NWZ_NVP_PTS] = { "pts", 4, "wifi protected setup" },
1170 [NWZ_NVP_RBT] = { "rbt", 0, "" },
Amaury Poulybe68b6a2017-01-07 17:32:47 +01001171 [NWZ_NVP_RND] = { "rnd", 64, "random data | wmt key" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001172 [NWZ_NVP_RTC] = { "rtc", 16, "rtc alarm" },
1173 [NWZ_NVP_SDC] = { "sdc", 4, "SD Card export flag" },
1174 [NWZ_NVP_SDP] = { "sdp", 64, "sound driver parameter" },
1175 [NWZ_NVP_SER] = { "ser", 16, "serial number" },
1176 [NWZ_NVP_SFI] = { "sfi", 64, "starfish id" },
1177 [NWZ_NVP_SHE] = { "she", 0, "" },
1178 [NWZ_NVP_SHP] = { "shp", 32, "ship information" },
1179 [NWZ_NVP_SID] = { "sid", 4, "service id" },
1180 [NWZ_NVP_SKD] = { "skd", 8224, "slacker id file" },
1181 [NWZ_NVP_SKT] = { "skt", 16, "slacker time" },
1182 [NWZ_NVP_SKU] = { "sku", 0, "" },
1183 [NWZ_NVP_SLP] = { "slp", 4, "time out to sleep" },
1184 [NWZ_NVP_SPS] = { "sps", 4, "speaker ship info" },
1185 [NWZ_NVP_SYI] = { "syi", 4, "system information" },
1186 [NWZ_NVP_TR0] = { "tr0", 16384, "EKB 0" },
1187 [NWZ_NVP_TR1] = { "tr1", 16384, "EKB 1" },
1188 [NWZ_NVP_TST] = { "tst", 4, "test mode flag" },
1189 [NWZ_NVP_UBP] = { "ubp", 32, "u-boot password" },
1190 [NWZ_NVP_UFN] = { "ufn", 8, "update file name" },
1191 [NWZ_NVP_UMS] = { "ums", 0, "" },
1192 [NWZ_NVP_UPS] = { "ups", 0, "" },
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001193 [NWZ_NVP_VAR] = { "var", 0, "" },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001194 [NWZ_NVP_VRT] = { "vrt", 4, "europe vol regulation flag" },
1195};
1196
1197static unsigned long models_nwz_a10[] = { 0x1a000001, 0x1a000002, 0x1a000004,
1198 0x1a000005, 0x1a000006, 0x1a010001, 0x1a010002, 0x1a010004, 0x1a010005,
1199 0x1a010006 };
1200
Amaury Pouly1bd82072017-01-08 12:03:07 +01001201static unsigned long models_nw_a20[] = { 0x1d000001, 0x1d000002, 0x1d000004,
Amaury Pouly44bb2852016-11-11 15:40:56 +01001202 0x1d000005, 0x1d000006, 0x1d000007 };
1203
Amaury Pouly80d91e02017-01-08 12:30:46 +01001204static unsigned long models_nw_a30[] = { 0x22000004 };
Amaury Pouly44bb2852016-11-11 15:40:56 +01001205
1206static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004,
1207 0x3020001, 0x3020002, 0x3020004 };
1208
1209static unsigned long models_nwz_a810[] = { 0x10000, 0x10001, 0x10002 };
1210
1211static unsigned long models_nwz_a820[] = { 0x3010001, 0x3010002, 0x3010004,
1212 0x3000001, 0x3000002, 0x3000004 };
1213
1214static unsigned long models_nwz_a840[] = { 0x7010004, 0x7010005, 0x7010006,
1215 0x7000004, 0x7000005, 0x7000006 };
1216
1217static unsigned long models_nwz_a850[] = { 0xe000004, 0xe000005, 0xe000006 };
1218
1219static unsigned long models_nwz_a860[] = { 0x11000001, 0x11000002, 0x11000004,
1220 0x11000005, 0x11000006, 0x11010001, 0x11010002, 0x11010004, 0x11010005,
1221 0x11010006, 0x11020001, 0x11020002, 0x11020004, 0x11020005, 0x11020006 };
1222
1223static unsigned long models_nw_a910[] = { 0x2000001, 0x2000002, 0x2000004 };
1224
1225static unsigned long models_nwz_e050[] = { 0x8000000, 0x8000001, 0x8000002,
1226 0x10000000, 0x10000001 };
1227
1228static unsigned long models_nw_e060[] = { 0x14000000, 0x14000001, 0x14000002,
1229 0x14000004, 0x14000005 };
1230
1231static unsigned long models_nw_e080[] = { 0x19010001, 0x19010002, 0x19010004,
1232 0x19010005 };
1233
1234static unsigned long models_nwz_e350[] = { 0xc000001, 0xc000002, 0xc000004 };
1235
1236static unsigned long models_nwz_e450[] = { 0xb000001, 0xb000002, 0xb000004 };
1237
1238static unsigned long models_nwz_e460[] = { 0x13000001, 0x13000002, 0x13000004 };
1239
1240static unsigned long models_nwz_e470[] = { 0x15000001, 0x15000002, 0x15000004,
1241 0x15000005 };
1242
1243static unsigned long models_nwz_e550[] = { 0xd000001, 0xd000002, 0xd000004,
1244 0xd000005 };
1245
1246static unsigned long models_nwz_e570[] = { 0x15010001, 0x15010002, 0x15010004,
1247 0x15010005 };
1248
1249static unsigned long models_nwz_e580[] = { 0x19020001, 0x19020002, 0x19020004,
1250 0x19020005 };
1251
1252static unsigned long models_nw_s10[] = { 0x1b000001, 0x1b000002, 0x1b000004,
1253 0x1b000005, 0x1b000006 };
1254
1255static unsigned long models_nwz_s510[] = { 0x1030000, 0x1030001 };
1256
1257static unsigned long models_nwz_s610[] = { 0x1000000, 0x1000001, 0x1020000,
1258 0x1020001, 0x1020002 };
1259
1260static unsigned long models_nwz_s630[] = { 0x4000001, 0x4000002, 0x4000004,
1261 0x4020001, 0x4020002, 0x4020004 };
1262
1263static unsigned long models_nw_s640[] = { 0x6010002, 0x6010004, 0x6010005 };
1264
1265static unsigned long models_nwz_s710[] = { 0x1010000, 0x1010001, 0x1010002,
1266 0x1040000, 0x1040001, 0x1040002 };
1267
1268static unsigned long models_nwz_s730[] = { 0x4010001, 0x4010002, 0x4010004,
1269 0x4030001, 0x4030002, 0x4030004 };
1270
1271static unsigned long models_nwz_s740[] = { 0x6030002, 0x6030004, 0x6030005,
1272 0x6020002, 0x6020004, 0x6020005 };
1273
1274static unsigned long models_nwz_s750[] = { 0x9000002, 0x9000004, 0x9000005,
1275 0xf000002, 0xf000004 };
1276
1277static unsigned long models_nwz_s760[] = { 0x12000001, 0x12000002, 0x12000004,
1278 0x12000005, 0x12000006, 0x12010001, 0x12010002, 0x12010004, 0x12010005,
1279 0x12010006 };
1280
1281static unsigned long models_nwz_s770[] = { 0x16000001, 0x16000002, 0x16000004,
1282 0x16000005, 0x16010001, 0x16010002, 0x16010004, 0x16010005 };
1283
1284static unsigned long models_nw_s780[] = { 0x19000001, 0x19000002, 0x19000004,
1285 0x19000005 };
1286
Amaury Poulybe68b6a2017-01-07 17:32:47 +01001287static unsigned long models_nw_wm1[] = { 0x20000007, 0x21000008 };
Amaury Poulybfd57042017-01-04 16:30:30 +01001288
Amaury Pouly44bb2852016-11-11 15:40:56 +01001289static unsigned long models_nwz_x1000[] = { 0x5000002, 0x5000004, 0x5000005,
1290 0x5020002, 0x5040002, 0x5020004, 0x5040004, 0x5020005, 0x5040005 };
1291
1292static unsigned long models_nw_zx100[] = { 0x1c000007, 0x1c000001, 0x1c000002,
1293 0x1c000004, 0x1c000005, 0x1c000006 };
1294
Amaury Pouly44bb2852016-11-11 15:40:56 +01001295static unsigned long models_nwz_noname[] = { 0x5010002, 0x5010004, 0x5010005 };
1296
1297struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
1298{
1299 { "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee },
Amaury Pouly1bd82072017-01-08 12:03:07 +01001300 { "nw-a20", "NW-A20 Series", 6, models_nw_a20, &nvp_index_92faee },
Amaury Pouly80d91e02017-01-08 12:30:46 +01001301 { "nw-a30", "NW-A30 Series", 1, models_nw_a30, &nvp_index_398250 },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001302 { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 },
1303 { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 },
1304 { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 },
Amaury Pouly1d7b37e2017-01-08 22:28:00 +01001305 { "nwz-a840", "NWZ-A840 Series", 6, models_nwz_a840, &nvp_index_0ac81d },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001306 { "nwz-a850", "NWZ-A850 Series", 3, models_nwz_a850, &nvp_index_0ac81d },
1307 { "nwz-a860", "NWZ-A860 Series", 15, models_nwz_a860, &nvp_index_f505c8 },
1308 { "nw-a910", "NW-A910 Series", 3, models_nw_a910, 0 },
Amaury Pouly1d7b37e2017-01-08 22:28:00 +01001309 { "nwz-e050", "NWZ-E050 Series", 5, models_nwz_e050, &nvp_index_0ac81d },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001310 { "nw-e060", "NW-E060 Series", 5, models_nw_e060, &nvp_index_f505c8 },
1311 { "nw-e080", "NW-E080 Series", 4, models_nw_e080, &nvp_index_6485c8 },
1312 { "nwz-e350", "NWZ-E350 Series", 3, models_nwz_e350, &nvp_index_0ac81d },
1313 { "nwz-e450", "NWZ-E450 Series", 3, models_nwz_e450, &nvp_index_0ac81d },
1314 { "nwz-e460", "NWZ-E460 Series", 3, models_nwz_e460, &nvp_index_f505c8 },
1315 { "nwz-e470", "NWZ-E470 Series", 4, models_nwz_e470, &nvp_index_28dc2c },
1316 { "nwz-e550", "NWZ-E550 Series", 4, models_nwz_e550, 0 },
1317 { "nwz-e570", "NWZ-E570 Series", 4, models_nwz_e570, 0 },
1318 { "nwz-e580", "NWZ-E580 Series", 4, models_nwz_e580, &nvp_index_6485c8 },
1319 { "nw-s10", "NW-S10 Series", 5, models_nw_s10, 0 },
1320 { "nwz-s510", "NWZ-S510 Series", 2, models_nwz_s510, 0 },
1321 { "nwz-s610", "NWZ-S610 Series", 5, models_nwz_s610, 0 },
1322 { "nwz-s630", "NWZ-S630 Series", 6, models_nwz_s630, 0 },
Amaury Pouly1d7b37e2017-01-08 22:28:00 +01001323 { "nw-s640", "NW-S640 Series", 3, models_nw_s640, &nvp_index_0ac81d },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001324 { "nwz-s710", "NWZ-S710 Series", 6, models_nwz_s710, 0 },
1325 { "nwz-s730", "NWZ-S730 Series", 6, models_nwz_s730, 0 },
Amaury Pouly1d7b37e2017-01-08 22:28:00 +01001326 { "nwz-s740", "NWZ-S740 Series", 6, models_nwz_s740, &nvp_index_0ac81d },
1327 { "nwz-s750", "NWZ-S750 Series", 5, models_nwz_s750, &nvp_index_0ac81d },
1328 { "nwz-s760", "NWZ-S760 Series", 10, models_nwz_s760, &nvp_index_f505c8 },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001329 { "nwz-s770", "NWZ-S770 Series", 8, models_nwz_s770, 0 },
1330 { "nw-s780", "NW-S780 Series", 4, models_nw_s780, &nvp_index_6485c8 },
Amaury Poulybe68b6a2017-01-07 17:32:47 +01001331 { "nw-wm1", "NW-WM1 Series", 2, models_nw_wm1, &nvp_index_398250 },
Igor Skochinsky03dd4b92017-04-03 15:13:46 +02001332 { "nwz-x1000", "NWZ-X1000 Series", 9, models_nwz_x1000, &nvp_index_4edba7 },
Amaury Pouly90284b62017-01-09 21:48:43 +01001333 { "nw-zx100", "NW-ZX100 Series", 6, models_nw_zx100, &nvp_index_92faee },
Amaury Pouly44bb2852016-11-11 15:40:56 +01001334 { "nwz-noname", "NONAME", 3, models_nwz_noname, 0 },
1335};