blob: 910aafd09d21e210d2b6e0b36c7e3243533d5e6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
|
/*
* wm8962.h -- WM8962 ASoC driver
*
* Copyright 2010 Wolfson Microelectronics, plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _WM8962_H
#define _WM8962_H
#include <asm/types.h>
#include <sound/soc.h>
#define WM8962_SYSCLK_MCLK 1
#define WM8962_SYSCLK_FLL 2
#define WM8962_SYSCLK_PLL3 3
#define WM8962_FLL 1
#define WM8962_FLL_MCLK 1
#define WM8962_FLL_BCLK 2
#define WM8962_FLL_OSC 3
#define WM8962_FLL_INT 4
/*
* Register values.
*/
#define WM8962_LEFT_INPUT_VOLUME 0x00
#define WM8962_RIGHT_INPUT_VOLUME 0x01
#define WM8962_HPOUTL_VOLUME 0x02
#define WM8962_HPOUTR_VOLUME 0x03
#define WM8962_CLOCKING1 0x04
#define WM8962_ADC_DAC_CONTROL_1 0x05
#define WM8962_ADC_DAC_CONTROL_2 0x06
#define WM8962_AUDIO_INTERFACE_0 0x07
#define WM8962_CLOCKING2 0x08
#define WM8962_AUDIO_INTERFACE_1 0x09
#define WM8962_LEFT_DAC_VOLUME 0x0A
#define WM8962_RIGHT_DAC_VOLUME 0x0B
#define WM8962_AUDIO_INTERFACE_2 0x0E
#define WM8962_SOFTWARE_RESET 0x0F
#define WM8962_ALC1 0x11
#define WM8962_ALC2 0x12
#define WM8962_ALC3 0x13
#define WM8962_NOISE_GATE 0x14
#define WM8962_LEFT_ADC_VOLUME 0x15
#define WM8962_RIGHT_ADC_VOLUME 0x16
#define WM8962_ADDITIONAL_CONTROL_1 0x17
#define WM8962_ADDITIONAL_CONTROL_2 0x18
#define WM8962_PWR_MGMT_1 0x19
#define WM8962_PWR_MGMT_2 0x1A
#define WM8962_ADDITIONAL_CONTROL_3 0x1B
#define WM8962_ANTI_POP 0x1C
#define WM8962_CLOCKING_3 0x1E
#define WM8962_INPUT_MIXER_CONTROL_1 0x1F
#define WM8962_LEFT_INPUT_MIXER_VOLUME 0x20
#define WM8962_RIGHT_INPUT_MIXER_VOLUME 0x21
#define WM8962_INPUT_MIXER_CONTROL_2 0x22
#define WM8962_INPUT_BIAS_CONTROL 0x23
#define WM8962_LEFT_INPUT_PGA_CONTROL 0x25
#define WM8962_RIGHT_INPUT_PGA_CONTROL 0x26
#define WM8962_SPKOUTL_VOLUME 0x28
#define WM8962_SPKOUTR_VOLUME 0x29
#define WM8962_THERMAL_SHUTDOWN_STATUS 0x2F
#define WM8962_ADDITIONAL_CONTROL_4 0x30
#define WM8962_CLASS_D_CONTROL_1 0x31
#define WM8962_CLASS_D_CONTROL_2 0x33
#define WM8962_CLOCKING_4 0x38
#define WM8962_DAC_DSP_MIXING_1 0x39
#define WM8962_DAC_DSP_MIXING_2 0x3A
#define WM8962_DC_SERVO_0 0x3C
#define WM8962_DC_SERVO_1 0x3D
#define WM8962_DC_SERVO_4 0x40
#define WM8962_DC_SERVO_6 0x42
#define WM8962_ANALOGUE_PGA_BIAS 0x44
#define WM8962_ANALOGUE_HP_0 0x45
#define WM8962_ANALOGUE_HP_2 0x47
#define WM8962_CHARGE_PUMP_1 0x48
#define WM8962_CHARGE_PUMP_B 0x52
#define WM8962_WRITE_SEQUENCER_CONTROL_1 0x57
#define WM8962_WRITE_SEQUENCER_CONTROL_2 0x5A
#define WM8962_WRITE_SEQUENCER_CONTROL_3 0x5D
#define WM8962_CONTROL_INTERFACE 0x5E
#define WM8962_MIXER_ENABLES 0x63
#define WM8962_HEADPHONE_MIXER_1 0x64
#define WM8962_HEADPHONE_MIXER_2 0x65
#define WM8962_HEADPHONE_MIXER_3 0x66
#define WM8962_HEADPHONE_MIXER_4 0x67
#define WM8962_SPEAKER_MIXER_1 0x69
#define WM8962_SPEAKER_MIXER_2 0x6A
#define WM8962_SPEAKER_MIXER_3 0x6B
#define WM8962_SPEAKER_MIXER_4 0x6C
#define WM8962_SPEAKER_MIXER_5 0x6D
#define WM8962_BEEP_GENERATOR_1 0x6E
#define WM8962_OSCILLATOR_TRIM_3 0x73
#define WM8962_OSCILLATOR_TRIM_4 0x74
#define WM8962_OSCILLATOR_TRIM_7 0x77
#define WM8962_ANALOGUE_CLOCKING1 0x7C
#define WM8962_ANALOGUE_CLOCKING2 0x7D
#define WM8962_ANALOGUE_CLOCKING3 0x7E
#define WM8962_PLL_SOFTWARE_RESET 0x7F
#define WM8962_PLL2 0x81
#define WM8962_PLL_4 0x83
#define WM8962_PLL_9 0x88
#define WM8962_PLL_10 0x89
#define WM8962_PLL_11 0x8A
#define WM8962_PLL_12 0x8B
#define WM8962_PLL_13 0x8C
#define WM8962_PLL_14 0x8D
#define WM8962_PLL_15 0x8E
#define WM8962_PLL_16 0x8F
#define WM8962_FLL_CONTROL_1 0x9B
#define WM8962_FLL_CONTROL_2 0x9C
#define WM8962_FLL_CONTROL_3 0x9D
#define WM8962_FLL_CONTROL_5 0x9F
#define WM8962_FLL_CONTROL_6 0xA0
#define WM8962_FLL_CONTROL_7 0xA1
#define WM8962_FLL_CONTROL_8 0xA2
#define WM8962_GENERAL_TEST_1 0xFC
#define WM8962_DF1 0x100
#define WM8962_DF2 0x101
#define WM8962_DF3 0x102
#define WM8962_DF4 0x103
#define WM8962_DF5 0x104
#define WM8962_DF6 0x105
#define WM8962_DF7 0x106
#define WM8962_LHPF1 0x108
#define WM8962_LHPF2 0x109
#define WM8962_THREED1 0x10C
#define WM8962_THREED2 0x10D
#define WM8962_THREED3 0x10E
#define WM8962_THREED4 0x10F
#define WM8962_DRC_1 0x114
#define WM8962_DRC_2 0x115
#define WM8962_DRC_3 0x116
#define WM8962_DRC_4 0x117
#define WM8962_DRC_5 0x118
#define WM8962_TLOOPBACK 0x11D
#define WM8962_EQ1 0x14F
#define WM8962_EQ2 0x150
#define WM8962_EQ3 0x151
#define WM8962_EQ4 0x152
#define WM8962_EQ5 0x153
#define WM8962_EQ6 0x154
#define WM8962_EQ7 0x155
#define WM8962_EQ8 0x156
#define WM8962_EQ9 0x157
#define WM8962_EQ10 0x158
#define WM8962_EQ11 0x159
#define WM8962_EQ12 0x15A
#define WM8962_EQ13 0x15B
#define WM8962_EQ14 0x15C
#define WM8962_EQ15 0x15D
#define WM8962_EQ16 0x15E
#define WM8962_EQ17 0x15F
#define WM8962_EQ18 0x160
#define WM8962_EQ19 0x161
#define WM8962_EQ20 0x162
#define WM8962_EQ21 0x163
#define WM8962_EQ22 0x164
#define WM8962_EQ23 0x165
#define WM8962_EQ24 0x166
#define WM8962_EQ25 0x167
#define WM8962_EQ26 0x168
#define WM8962_EQ27 0x169
#define WM8962_EQ28 0x16A
#define WM8962_EQ29 0x16B
#define WM8962_EQ30 0x16C
#define WM8962_EQ31 0x16D
#define WM8962_EQ32 0x16E
#define WM8962_EQ33 0x16F
#define WM8962_EQ34 0x170
#define WM8962_EQ35 0x171
#define WM8962_EQ36 0x172
#define WM8962_EQ37 0x173
#define WM8962_EQ38 0x174
#define WM8962_EQ39 0x175
#define WM8962_EQ40 0x176
#define WM8962_EQ41 0x177
#define WM8962_GPIO_BASE 0x200
#define WM8962_GPIO_2 0x201
#define WM8962_GPIO_3 0x202
#define WM8962_GPIO_5 0x204
#define WM8962_GPIO_6 0x205
#define WM8962_INTERRUPT_STATUS_1 0x230
#define WM8962_INTERRUPT_STATUS_2 0x231
#define WM8962_INTERRUPT_STATUS_1_MASK 0x238
#define WM8962_INTERRUPT_STATUS_2_MASK 0x239
#define WM8962_INTERRUPT_CONTROL 0x240
#define WM8962_IRQ_DEBOUNCE 0x248
#define WM8962_MICINT_SOURCE_POL 0x24A
#define WM8962_DSP2_POWER_MANAGEMENT 0x300
#define WM8962_DSP2_EXECCONTROL 0x40D
#define WM8962_WRITE_SEQUENCER_0 0x1000
#define WM8962_WRITE_SEQUENCER_1 0x1001
#define WM8962_WRITE_SEQUENCER_2 0x1002
#define WM8962_WRITE_SEQUENCER_3 0x1003
#define WM8962_WRITE_SEQUENCER_4 0x1004
#define WM8962_WRITE_SEQUENCER_5 0x1005
#define WM8962_WRITE_SEQUENCER_6 0x1006
#define WM8962_WRITE_SEQUENCER_7 0x1007
#define WM8962_WRITE_SEQUENCER_8 0x1008
#define WM8962_WRITE_SEQUENCER_9 0x1009
#define WM8962_WRITE_SEQUENCER_10 0x100A
#define WM8962_WRITE_SEQUENCER_11 0x100B
#define WM8962_WRITE_SEQUENCER_12 0x100C
#define WM8962_WRITE_SEQUENCER_13 0x100D
#define WM8962_WRITE_SEQUENCER_14 0x100E
#define WM8962_WRITE_SEQUENCER_15 0x100F
#define WM8962_WRITE_SEQUENCER_16 0x1010
#define WM8962_WRITE_SEQUENCER_17 0x1011
#define WM8962_WRITE_SEQUENCER_18 0x1012
#define WM8962_WRITE_SEQUENCER_19 0x1013
#define WM8962_WRITE_SEQUENCER_20 0x1014
#define WM8962_WRITE_SEQUENCER_21 0x1015
#define WM8962_WRITE_SEQUENCER_22 0x1016
#define WM8962_WRITE_SEQUENCER_23 0x1017
#define WM8962_WRITE_SEQUENCER_24 0x1018
#define WM8962_WRITE_SEQUENCER_25 0x1019
#define WM8962_WRITE_SEQUENCER_26 0x101A
#define WM8962_WRITE_SEQUENCER_27 0x101B
#define WM8962_WRITE_SEQUENCER_28 0x101C
#define WM8962_WRITE_SEQUENCER_29 0x101D
#define WM8962_WRITE_SEQUENCER_30 0x101E
#define WM8962_WRITE_SEQUENCER_31 0x101F
#define WM8962_WRITE_SEQUENCER_32 0x1020
#define WM8962_WRITE_SEQUENCER_33 0x1021
#define WM8962_WRITE_SEQUENCER_34 0x1022
#define WM8962_WRITE_SEQUENCER_35 0x1023
#define WM8962_WRITE_SEQUENCER_36 0x1024
#define WM8962_WRITE_SEQUENCER_37 0x1025
#define WM8962_WRITE_SEQUENCER_38 0x1026
#define WM8962_WRITE_SEQUENCER_39 0x1027
#define WM8962_WRITE_SEQUENCER_40 0x1028
#define WM8962_WRITE_SEQUENCER_41 0x1029
#define WM8962_WRITE_SEQUENCER_42 0x102A
#define WM8962_WRITE_SEQUENCER_43 0x102B
#define WM8962_WRITE_SEQUENCER_44 0x102C
#define WM8962_WRITE_SEQUENCER_45 0x102D
#define WM8962_WRITE_SEQUENCER_46 0x102E
#define WM8962_WRITE_SEQUENCER_47 0x102F
#define WM8962_WRITE_SEQUENCER_48 0x1030
#define WM8962_WRITE_SEQUENCER_49 0x1031
#define WM8962_WRITE_SEQUENCER_50 0x1032
#define WM8962_WRITE_SEQUENCER_51 0x1033
#define WM8962_WRITE_SEQUENCER_52 0x1034
#define WM8962_WRITE_SEQUENCER_53 0x1035
#define WM8962_WRITE_SEQUENCER_54 0x1036
#define WM8962_WRITE_SEQUENCER_55 0x1037
#define WM8962_WRITE_SEQUENCER_56 0x1038
#define WM8962_WRITE_SEQUENCER_57 0x1039
#define WM8962_WRITE_SEQUENCER_58 0x103A
#define WM8962_WRITE_SEQUENCER_59 0x103B
#define WM8962_WRITE_SEQUENCER_60 0x103C
#define WM8962_WRITE_SEQUENCER_61 0x103D
#define WM8962_WRITE_SEQUENCER_62 0x103E
#define WM8962_WRITE_SEQUENCER_63 0x103F
#define WM8962_WRITE_SEQUENCER_64 0x1040
#define WM8962_WRITE_SEQUENCER_65 0x1041
#define WM8962_WRITE_SEQUENCER_66 0x1042
#define WM8962_WRITE_SEQUENCER_67 0x1043
#define WM8962_WRITE_SEQUENCER_68 0x1044
#define WM8962_WRITE_SEQUENCER_69 0x1045
#define WM8962_WRITE_SEQUENCER_70 0x1046
#define WM8962_WRITE_SEQUENCER_71 0x1047
#define WM8962_WRITE_SEQUENCER_72 0x1048
#define WM8962_WRITE_SEQUENCER_73 0x1049
#define WM8962_WRITE_SEQUENCER_74 0x104A
#define WM8962_WRITE_SEQUENCER_75 0x104B
#define WM8962_WRITE_SEQUENCER_76 0x104C
#define WM8962_WRITE_SEQUENCER_77 0x104D
#define WM8962_WRITE_SEQUENCER_78 0x104E
#define WM8962_WRITE_SEQUENCER_79 0x104F
#define WM8962_WRITE_SEQUENCER_80 0x1050
#define WM8962_WRITE_SEQUENCER_81 0x1051
#define WM8962_WRITE_SEQUENCER_82 0x1052
#define WM8962_WRITE_SEQUENCER_83 0x1053
#define WM8962_WRITE_SEQUENCER_84 0x1054
#define WM8962_WRITE_SEQUENCER_85 0x1055
#define WM8962_WRITE_SEQUENCER_86 0x1056
#define WM8962_WRITE_SEQUENCER_87 0x1057
#define WM8962_WRITE_SEQUENCER_88 0x1058
#define WM8962_WRITE_SEQUENCER_89 0x1059
#define WM8962_WRITE_SEQUENCER_90 0x105A
#define WM8962_WRITE_SEQUENCER_91 0x105B
#define WM8962_WRITE_SEQUENCER_92 0x105C
#define WM8962_WRITE_SEQUENCER_93 0x105D
#define WM8962_WRITE_SEQUENCER_94 0x105E
#define WM8962_WRITE_SEQUENCER_95 0x105F
#define WM8962_WRITE_SEQUENCER_96 0x1060
#define WM8962_WRITE_SEQUENCER_97 0x1061
#define WM8962_WRITE_SEQUENCER_98 0x1062
#define WM8962_WRITE_SEQUENCER_99 0x1063
#define WM8962_WRITE_SEQUENCER_100 0x1064
#define WM8962_WRITE_SEQUENCER_101 0x1065
#define WM8962_WRITE_SEQUENCER_102 0x1066
#define WM8962_WRITE_SEQUENCER_103 0x1067
#define WM8962_WRITE_SEQUENCER_104 0x1068
#define WM8962_WRITE_SEQUENCER_105 0x1069
#define WM8962_WRITE_SEQUENCER_106 0x106A
#define WM8962_WRITE_SEQUENCER_107 0x106B
#define WM8962_WRITE_SEQUENCER_108 0x106C
#define WM8962_WRITE_SEQUENCER_109 0x106D
#define WM8962_WRITE_SEQUENCER_110 0x106E
#define WM8962_WRITE_SEQUENCER_111 0x106F
#define WM8962_WRITE_SEQUENCER_112 0x1070
#define WM8962_WRITE_SEQUENCER_113 0x1071
#define WM8962_WRITE_SEQUENCER_114 0x1072
#define WM8962_WRITE_SEQUENCER_115 0x1073
#define WM8962_WRITE_SEQUENCER_116 0x1074
#define WM8962_WRITE_SEQUENCER_117 0x1075
#define WM8962_WRITE_SEQUENCER_118 0x1076
#define WM8962_WRITE_SEQUENCER_119 0x1077
#define WM8962_WRITE_SEQUENCER_120 0x1078
#define WM8962_WRITE_SEQUENCER_121 0x1079
#define WM8962_WRITE_SEQUENCER_122 0x107A
#define WM8962_WRITE_SEQUENCER_123 0x107B
#define WM8962_WRITE_SEQUENCER_124 0x107C
#define WM8962_WRITE_SEQUENCER_125 0x107D
#define WM8962_WRITE_SEQUENCER_126 0x107E
#define WM8962_WRITE_SEQUENCER_127 0x107F
#define WM8962_WRITE_SEQUENCER_128 0x1080
#define WM8962_WRITE_SEQUENCER_129 0x1081
#define WM8962_WRITE_SEQUENCER_130 0x1082
#define WM8962_WRITE_SEQUENCER_131 0x1083
#define WM8962_WRITE_SEQUENCER_132 0x1084
#define WM8962_WRITE_SEQUENCER_133 0x1085
#define WM8962_WRITE_SEQUENCER_134 0x1086
#define WM8962_WRITE_SEQUENCER_135 0x1087
#define WM8962_WRITE_SEQUENCER_136 0x1088
#define WM8962_WRITE_SEQUENCER_137 0x1089
#define WM8962_WRITE_SEQUENCER_138 0x108A
#define WM8962_WRITE_SEQUENCER_139 0x108B
#define WM8962_WRITE_SEQUENCER_140 0x108C
#define WM8962_WRITE_SEQUENCER_141 0x108D
#define WM8962_WRITE_SEQUENCER_142 0x108E
#define WM8962_WRITE_SEQUENCER_143 0x108F
#define WM8962_WRITE_SEQUENCER_144 0x1090
#define WM8962_WRITE_SEQUENCER_145 0x1091
#define WM8962_WRITE_SEQUENCER_146 0x1092
#define WM8962_WRITE_SEQUENCER_147 0x1093
#define WM8962_WRITE_SEQUENCER_148 0x1094
#define WM8962_WRITE_SEQUENCER_149 0x1095
#define WM8962_WRITE_SEQUENCER_150 0x1096
#define WM8962_WRITE_SEQUENCER_151 0x1097
#define WM8962_WRITE_SEQUENCER_152 0x1098
#define WM8962_WRITE_SEQUENCER_153 0x1099
#define WM8962_WRITE_SEQUENCER_154 0x109A
#define WM8962_WRITE_SEQUENCER_155 0x109B
#define WM8962_WRITE_SEQUENCER_156 0x109C
#define WM8962_WRITE_SEQUENCER_157 0x109D
#define WM8962_WRITE_SEQUENCER_158 0x109E
#define WM8962_WRITE_SEQUENCER_159 0x109F
#define WM8962_WRITE_SEQUENCER_160 0x10A0
#define WM8962_WRITE_SEQUENCER_161 0x10A1
#define WM8962_WRITE_SEQUENCER_162 0x10A2
#define WM8962_WRITE_SEQUENCER_163 0x10A3
#define WM8962_WRITE_SEQUENCER_164 0x10A4
#define WM8962_WRITE_SEQUENCER_165 0x10A5
#define WM8962_WRITE_SEQUENCER_166 0x10A6
#define WM8962_WRITE_SEQUENCER_167 0x10A7
#define WM8962_WRITE_SEQUENCER_168 0x10A8
#define WM8962_WRITE_SEQUENCER_169 0x10A9
#define WM8962_WRITE_SEQUENCER_170 0x10AA
#define WM8962_WRITE_SEQUENCER_171 0x10AB
#define WM8962_WRITE_SEQUENCER_172 0x10AC
#define WM8962_WRITE_SEQUENCER_173 0x10AD
#define WM8962_WRITE_SEQUENCER_174 0x10AE
#define WM8962_WRITE_SEQUENCER_175 0x10AF
#define WM8962_WRITE_SEQUENCER_176 0x10B0
#define WM8962_WRITE_SEQUENCER_177 0x10B1
#define WM8962_WRITE_SEQUENCER_178 0x10B2
#define WM8962_WRITE_SEQUENCER_179 0x10B3
#define WM8962_WRITE_SEQUENCER_180 0x10B4
#define WM8962_WRITE_SEQUENCER_181 0x10B5
#define WM8962_WRITE_SEQUENCER_182 0x10B6
#define WM8962_WRITE_SEQUENCER_183 0x10B7
#define WM8962_WRITE_SEQUENCER_184 0x10B8
#define WM8962_WRITE_SEQUENCER_185 0x10B9
#define WM8962_WRITE_SEQUENCER_186 0x10BA
#define WM8962_WRITE_SEQUENCER_187 0x10BB
#define WM8962_WRITE_SEQUENCER_188 0x10BC
#define WM8962_WRITE_SEQUENCER_189 0x10BD
#define WM8962_WRITE_SEQUENCER_190 0x10BE
#define WM8962_WRITE_SEQUENCER_191 0x10BF
#define WM8962_WRITE_SEQUENCER_192 0x10C0
#define WM8962_WRITE_SEQUENCER_193 0x10C1
#define WM8962_WRITE_SEQUENCER_194 0x10C2
#define WM8962_WRITE_SEQUENCER_195 0x10C3
#define WM8962_WRITE_SEQUENCER_196 0x10C4
#define WM8962_WRITE_SEQUENCER_197 0x10C5
#define WM8962_WRITE_SEQUENCER_198 0x10C6
#define WM8962_WRITE_SEQUENCER_199 0x10C7
#define WM8962_WRITE_SEQUENCER_200 0x10C8
#define WM8962_WRITE_SEQUENCER_201 0x10C9
#define WM8962_WRITE_SEQUENCER_202 0x10CA
#define WM8962_WRITE_SEQUENCER_203 0x10CB
#define WM8962_WRITE_SEQUENCER_204 0x10CC
#define WM8962_WRITE_SEQUENCER_205 0x10CD
#define WM8962_WRITE_SEQUENCER_206 0x10CE
#define WM8962_WRITE_SEQUENCER_207 0x10CF
#define WM8962_WRITE_SEQUENCER_208 0x10D0
#define WM8962_WRITE_SEQUENCER_209 0x10D1
#define WM8962_WRITE_SEQUENCER_210 0x10D2
#define WM8962_WRITE_SEQUENCER_211 0x10D3
#define WM8962_WRITE_SEQUENCER_212 0x10D4
#define WM8962_WRITE_SEQUENCER_213 0x10D5
#define WM8962_WRITE_SEQUENCER_214 0x10D6
#define WM8962_WRITE_SEQUENCER_215 0x10D7
#define WM8962_WRITE_SEQUENCER_216 0x10D8
#define WM8962_WRITE_SEQUENCER_217 0x10D9
#define WM8962_WRITE_SEQUENCER_218 0x10DA
#define WM8962_WRITE_SEQUENCER_219 0x10DB
#define WM8962_WRITE_SEQUENCER_220 0x10DC
#define WM8962_WRITE_SEQUENCER_221 0x10DD
#define WM8962_WRITE_SEQUENCER_222 0x10DE
#define WM8962_WRITE_SEQUENCER_223 0x10DF
#define WM8962_WRITE_SEQUENCER_224 0x10E0
#define WM8962_WRITE_SEQUENCER_225 0x10E1
#define WM8962_WRITE_SEQUENCER_226 0x10E2
#define WM8962_WRITE_SEQUENCER_227 0x10E3
#define WM8962_WRITE_SEQUENCER_228 0x10E4
#define WM8962_WRITE_SEQUENCER_229 0x10E5
#define WM8962_WRITE_SEQUENCER_230 0x10E6
#define WM8962_WRITE_SEQUENCER_231 0x10E7
#define WM8962_WRITE_SEQUENCER_232 0x10E8
#define WM8962_WRITE_SEQUENCER_233 0x10E9
#define WM8962_WRITE_SEQUENCER_234 0x10EA
#define WM8962_WRITE_SEQUENCER_235 0x10EB
#define WM8962_WRITE_SEQUENCER_236 0x10EC
#define WM8962_WRITE_SEQUENCER_237 0x10ED
#define WM8962_WRITE_SEQUENCER_238 0x10EE
#define WM8962_WRITE_SEQUENCER_239 0x10EF
#define WM8962_WRITE_SEQUENCER_240 0x10F0
#define WM8962_WRITE_SEQUENCER_241 0x10F1
#define WM8962_WRITE_SEQUENCER_242 0x10F2
#define WM8962_WRITE_SEQUENCER_243 0x10F3
#define WM8962_WRITE_SEQUENCER_244 0x10F4
#define WM8962_WRITE_SEQUENCER_245 0x10F5
#define WM8962_WRITE_SEQUENCER_246 0x10F6
#define WM8962_WRITE_SEQUENCER_247 0x10F7
#define WM8962_WRITE_SEQUENCER_248 0x10F8
#define WM8962_WRITE_SEQUENCER_249 0x10F9
#define WM8962_WRITE_SEQUENCER_250 0x10FA
#define WM8962_WRITE_SEQUENCER_251 0x10FB
#define WM8962_WRITE_SEQUENCER_252 0x10FC
#define WM8962_WRITE_SEQUENCER_253 0x10FD
#define WM8962_WRITE_SEQUENCER_254 0x10FE
#define WM8962_WRITE_SEQUENCER_255 0x10FF
#define WM8962_WRITE_SEQUENCER_256 0x1100
#define WM8962_WRITE_SEQUENCER_257 0x1101
#define WM8962_WRITE_SEQUENCER_258 0x1102
#define WM8962_WRITE_SEQUENCER_259 0x1103
#define WM8962_WRITE_SEQUENCER_260 0x1104
#define WM8962_WRITE_SEQUENCER_261 0x1105
#define WM8962_WRITE_SEQUENCER_262 0x1106
#define WM8962_WRITE_SEQUENCER_263 0x1107
#define WM8962_WRITE_SEQUENCER_264 0x1108
#define WM8962_WRITE_SEQUENCER_265 0x1109
#define WM8962_WRITE_SEQUENCER_266 0x110A
#define WM8962_WRITE_SEQUENCER_267 0x110B
#define WM8962_WRITE_SEQUENCER_268 0x110C
#define WM8962_WRITE_SEQUENCER_269 0x110D
#define WM8962_WRITE_SEQUENCER_270 0x110E
#define WM8962_WRITE_SEQUENCER_271 0x110F
#define WM8962_WRITE_SEQUENCER_272 0x1110
#define WM8962_WRITE_SEQUENCER_273 0x1111
#define WM8962_WRITE_SEQUENCER_274 0x1112
#define WM8962_WRITE_SEQUENCER_275 0x1113
#define WM8962_WRITE_SEQUENCER_276 0x1114
#define WM8962_WRITE_SEQUENCER_277 0x1115
#define WM8962_WRITE_SEQUENCER_278 0x1116
#define WM8962_WRITE_SEQUENCER_279 0x1117
#define WM8962_WRITE_SEQUENCER_280 0x1118
#define WM8962_WRITE_SEQUENCER_281 0x1119
#define WM8962_WRITE_SEQUENCER_282 0x111A
#define WM8962_WRITE_SEQUENCER_283 0x111B
#define WM8962_WRITE_SEQUENCER_284 0x111C
#define WM8962_WRITE_SEQUENCER_285 0x111D
#define WM8962_WRITE_SEQUENCER_286 0x111E
#define WM8962_WRITE_SEQUENCER_287 0x111F
#define WM8962_WRITE_SEQUENCER_288 0x1120
#define WM8962_WRITE_SEQUENCER_289 0x1121
#define WM8962_WRITE_SEQUENCER_290 0x1122
#define WM8962_WRITE_SEQUENCER_291 0x1123
#define WM8962_WRITE_SEQUENCER_292 0x1124
#define WM8962_WRITE_SEQUENCER_293 0x1125
#define WM8962_WRITE_SEQUENCER_294 0x1126
#define WM8962_WRITE_SEQUENCER_295 0x1127
#define WM8962_WRITE_SEQUENCER_296 0x1128
#define WM8962_WRITE_SEQUENCER_297 0x1129
#define WM8962_WRITE_SEQUENCER_298 0x112A
#define WM8962_WRITE_SEQUENCER_299 0x112B
#define WM8962_WRITE_SEQUENCER_300 0x112C
#define WM8962_WRITE_SEQUENCER_301 0x112D
#define WM8962_WRITE_SEQUENCER_302 0x112E
#define WM8962_WRITE_SEQUENCER_303 0x112F
#define WM8962_WRITE_SEQUENCER_304 0x1130
#define WM8962_WRITE_SEQUENCER_305 0x1131
#define WM8962_WRITE_SEQUENCER_306 0x1132
#define WM8962_WRITE_SEQUENCER_307 0x1133
#define WM8962_WRITE_SEQUENCER_308 0x1134
#define WM8962_WRITE_SEQUENCER_309 0x1135
#define WM8962_WRITE_SEQUENCER_310 0x1136
#define WM8962_WRITE_SEQUENCER_311 0x1137
#define WM8962_WRITE_SEQUENCER_312 0x1138
#define WM8962_WRITE_SEQUENCER_313 0x1139
#define WM8962_WRITE_SEQUENCER_314 0x113A
#define WM8962_WRITE_SEQUENCER_315 0x113B
#define WM8962_WRITE_SEQUENCER_316 0x113C
#define WM8962_WRITE_SEQUENCER_317 0x113D
#define WM8962_WRITE_SEQUENCER_318 0x113E
#define WM8962_WRITE_SEQUENCER_319 0x113F
#define WM8962_WRITE_SEQUENCER_320 0x1140
#define WM8962_WRITE_SEQUENCER_321 0x1141
#define WM8962_WRITE_SEQUENCER_322 0x1142
#define WM8962_WRITE_SEQUENCER_323 0x1143
#define WM8962_WRITE_SEQUENCER_324 0x1144
#define WM8962_WRITE_SEQUENCER_325 0x1145
#define WM8962_WRITE_SEQUENCER_326 0x1146
#define WM8962_WRITE_SEQUENCER_327 0x1147
#define WM8962_WRITE_SEQUENCER_328 0x1148
#define WM8962_WRITE_SEQUENCER_329 0x1149
#define WM8962_WRITE_SEQUENCER_330 0x114A
#define WM8962_WRITE_SEQUENCER_331 0x114B
#define WM8962_WRITE_SEQUENCER_332 0x114C
#define WM8962_WRITE_SEQUENCER_333 0x114D
#define WM8962_WRITE_SEQUENCER_334 0x114E
#define WM8962_WRITE_SEQUENCER_335 0x114F
#define WM8962_WRITE_SEQUENCER_336 0x1150
#define WM8962_WRITE_SEQUENCER_337 0x1151
#define WM8962_WRITE_SEQUENCER_338 0x1152
#define WM8962_WRITE_SEQUENCER_339 0x1153
#define WM8962_WRITE_SEQUENCER_340 0x1154
#define WM8962_WRITE_SEQUENCER_341 0x1155
#define WM8962_WRITE_SEQUENCER_342 0x1156
#define WM8962_WRITE_SEQUENCER_343 0x1157
#define WM8962_WRITE_SEQUENCER_344 0x1158
#define WM8962_WRITE_SEQUENCER_345 0x1159
#define WM8962_WRITE_SEQUENCER_346 0x115A
#define WM8962_WRITE_SEQUENCER_347 0x115B
#define WM8962_WRITE_SEQUENCER_348 0x115C
#define WM8962_WRITE_SEQUENCER_349 0x115D
#define WM8962_WRITE_SEQUENCER_350 0x115E
#define WM8962_WRITE_SEQUENCER_351 0x115F
#define WM8962_WRITE_SEQUENCER_352 0x1160
#define WM8962_WRITE_SEQUENCER_353 0x1161
#define WM8962_WRITE_SEQUENCER_354 0x1162
#define WM8962_WRITE_SEQUENCER_355 0x1163
#define WM8962_WRITE_SEQUENCER_356 0x1164
#define WM8962_WRITE_SEQUENCER_357 0x1165
#define WM8962_WRITE_SEQUENCER_358 0x1166
#define WM8962_WRITE_SEQUENCER_359 0x1167
#define WM8962_WRITE_SEQUENCER_360 0x1168
#define WM8962_WRITE_SEQUENCER_361 0x1169
#define WM8962_WRITE_SEQUENCER_362 0x116A
#define WM8962_WRITE_SEQUENCER_363 0x116B
#define WM8962_WRITE_SEQUENCER_364 0x116C
#define WM8962_WRITE_SEQUENCER_365 0x116D
#define WM8962_WRITE_SEQUENCER_366 0x116E
#define WM8962_WRITE_SEQUENCER_367 0x116F
#define WM8962_WRITE_SEQUENCER_368 0x1170
#define WM8962_WRITE_SEQUENCER_369 0x1171
#define WM8962_WRITE_SEQUENCER_370 0x1172
#define WM8962_WRITE_SEQUENCER_371 0x1173
#define WM8962_WRITE_SEQUENCER_372 0x1174
#define WM8962_WRITE_SEQUENCER_373 0x1175
#define WM8962_WRITE_SEQUENCER_374 0x1176
#define WM8962_WRITE_SEQUENCER_375 0x1177
#define WM8962_WRITE_SEQUENCER_376 0x1178
#define WM8962_WRITE_SEQUENCER_377 0x1179
#define WM8962_WRITE_SEQUENCER_378 0x117A
#define WM8962_WRITE_SEQUENCER_379 0x117B
#define WM8962_WRITE_SEQUENCER_380 0x117C
#define WM8962_WRITE_SEQUENCER_381 0x117D
#define WM8962_WRITE_SEQUENCER_382 0x117E
#define WM8962_WRITE_SEQUENCER_383 0x117F
#define WM8962_WRITE_SEQUENCER_384 0x1180
#define WM8962_WRITE_SEQUENCER_385 0x1181
#define WM8962_WRITE_SEQUENCER_386 0x1182
#define WM8962_WRITE_SEQUENCER_387 0x1183
#define WM8962_WRITE_SEQUENCER_388 0x1184
#define WM8962_WRITE_SEQUENCER_389 0x1185
#define WM8962_WRITE_SEQUENCER_390 0x1186
#define WM8962_WRITE_SEQUENCER_391 0x1187
#define WM8962_WRITE_SEQUENCER_392 0x1188
#define WM8962_WRITE_SEQUENCER_393 0x1189
#define WM8962_WRITE_SEQUENCER_394 0x118A
#define WM8962_WRITE_SEQUENCER_395 0x118B
#define WM8962_WRITE_SEQUENCER_396 0x118C
#define WM8962_WRITE_SEQUENCER_397 0x118D
#define WM8962_WRITE_SEQUENCER_398 0x118E
#define WM8962_WRITE_SEQUENCER_399 0x118F
#define WM8962_WRITE_SEQUENCER_400 0x1190
#define WM8962_WRITE_SEQUENCER_401 0x1191
#define WM8962_WRITE_SEQUENCER_402 0x1192
#define WM8962_WRITE_SEQUENCER_403 0x1193
#define WM8962_WRITE_SEQUENCER_404 0x1194
#define WM8962_WRITE_SEQUENCER_405 0x1195
#define WM8962_WRITE_SEQUENCER_406 0x1196
#define WM8962_WRITE_SEQUENCER_407 0x1197
#define WM8962_WRITE_SEQUENCER_408 0x1198
#define WM8962_WRITE_SEQUENCER_409 0x1199
#define WM8962_WRITE_SEQUENCER_410 0x119A
#define WM8962_WRITE_SEQUENCER_411 0x119B
#define WM8962_WRITE_SEQUENCER_412 0x119C
#define WM8962_WRITE_SEQUENCER_413 0x119D
#define WM8962_WRITE_SEQUENCER_414 0x119E
#define WM8962_WRITE_SEQUENCER_415 0x119F
#define WM8962_WRITE_SEQUENCER_416 0x11A0
#define WM8962_WRITE_SEQUENCER_417 0x11A1
#define WM8962_WRITE_SEQUENCER_418 0x11A2
#define WM8962_WRITE_SEQUENCER_419 0x11A3
#define WM8962_WRITE_SEQUENCER_420 0x11A4
#define WM8962_WRITE_SEQUENCER_421 0x11A5
#define WM8962_WRITE_SEQUENCER_422 0x11A6
#define WM8962_WRITE_SEQUENCER_423 0x11A7
#define WM8962_WRITE_SEQUENCER_424 0x11A8
#define WM8962_WRITE_SEQUENCER_425 0x11A9
#define WM8962_WRITE_SEQUENCER_426 0x11AA
#define WM8962_WRITE_SEQUENCER_427 0x11AB
#define WM8962_WRITE_SEQUENCER_428 0x11AC
#define WM8962_WRITE_SEQUENCER_429 0x11AD
#define WM8962_WRITE_SEQUENCER_430 0x11AE
#define WM8962_WRITE_SEQUENCER_431 0x11AF
#define WM8962_WRITE_SEQUENCER_432 0x11B0
#define WM8962_WRITE_SEQUENCER_433 0x11B1
#define WM8962_WRITE_SEQUENCER_434 0x11B2
#define WM8962_WRITE_SEQUENCER_435 0x11B3
#define WM8962_WRITE_SEQUENCER_436 0x11B4
#define WM8962_WRITE_SEQUENCER_437 0x11B5
#define WM8962_WRITE_SEQUENCER_438 0x11B6
#define WM8962_WRITE_SEQUENCER_439 0x11B7
#define WM8962_WRITE_SEQUENCER_440 0x11B8
#define WM8962_WRITE_SEQUENCER_441 0x11B9
#define WM8962_WRITE_SEQUENCER_442 0x11BA
#define WM8962_WRITE_SEQUENCER_443 0x11BB
#define WM8962_WRITE_SEQUENCER_444 0x11BC
#define WM8962_WRITE_SEQUENCER_445 0x11BD
#define WM8962_WRITE_SEQUENCER_446 0x11BE
#define WM8962_WRITE_SEQUENCER_447 0x11BF
#define WM8962_WRITE_SEQUENCER_448 0x11C0
#define WM8962_WRITE_SEQUENCER_449 0x11C1
#define WM8962_WRITE_SEQUENCER_450 0x11C2
#define WM8962_WRITE_SEQUENCER_451 0x11C3
#define WM8962_WRITE_SEQUENCER_452 0x11C4
#define WM8962_WRITE_SEQUENCER_453 0x11C5
#define WM8962_WRITE_SEQUENCER_454 0x11C6
#define WM8962_WRITE_SEQUENCER_455 0x11C7
#define WM8962_WRITE_SEQUENCER_456 0x11C8
#define WM8962_WRITE_SEQUENCER_457 0x11C9
#define WM8962_WRITE_SEQUENCER_458 0x11CA
#define WM8962_WRITE_SEQUENCER_459 0x11CB
#define WM8962_WRITE_SEQUENCER_460 0x11CC
#define WM8962_WRITE_SEQUENCER_461 0x11CD
#define WM8962_WRITE_SEQUENCER_462 0x11CE
#define WM8962_WRITE_SEQUENCER_463 0x11CF
#define WM8962_WRITE_SEQUENCER_464 0x11D0
#define WM8962_WRITE_SEQUENCER_465 0x11D1
#define WM8962_WRITE_SEQUENCER_466 0x11D2
#define WM8962_WRITE_SEQUENCER_467 0x11D3
#define WM8962_WRITE_SEQUENCER_468 0x11D4
#define WM8962_WRITE_SEQUENCER_469 0x11D5
#define WM8962_WRITE_SEQUENCER_470 0x11D6
#define WM8962_WRITE_SEQUENCER_471 0x11D7
#define WM8962_WRITE_SEQUENCER_472 0x11D8
#define WM8962_WRITE_SEQUENCER_473 0x11D9
#define WM8962_WRITE_SEQUENCER_474 0x11DA
#define WM8962_WRITE_SEQUENCER_475 0x11DB
#define WM8962_WRITE_SEQUENCER_476 0x11DC
#define WM8962_WRITE_SEQUENCER_477 0x11DD
#define WM8962_WRITE_SEQUENCER_478 0x11DE
#define WM8962_WRITE_SEQUENCER_479 0x11DF
#define WM8962_WRITE_SEQUENCER_480 0x11E0
#define WM8962_WRITE_SEQUENCER_481 0x11E1
#define WM8962_WRITE_SEQUENCER_482 0x11E2
#define WM8962_WRITE_SEQUENCER_483 0x11E3
#define WM8962_WRITE_SEQUENCER_484 0x11E4
#define WM8962_WRITE_SEQUENCER_485 0x11E5
#define WM8962_WRITE_SEQUENCER_486 0x11E6
#define WM8962_WRITE_SEQUENCER_487 0x11E7
#define WM8962_WRITE_SEQUENCER_488 0x11E8
#define WM8962_WRITE_SEQUENCER_489 0x11E9
#define WM8962_WRITE_SEQUENCER_490 0x11EA
#define WM8962_WRITE_SEQUENCER_491 0x11EB
#define WM8962_WRITE_SEQUENCER_492 0x11EC
#define WM8962_WRITE_SEQUENCER_493 0x11ED
#define WM8962_WRITE_SEQUENCER_494 0x11EE
#define WM8962_WRITE_SEQUENCER_495 0x11EF
#define WM8962_WRITE_SEQUENCER_496 0x11F0
#define WM8962_WRITE_SEQUENCER_497 0x11F1
#define WM8962_WRITE_SEQUENCER_498 0x11F2
#define WM8962_WRITE_SEQUENCER_499 0x11F3
#define WM8962_WRITE_SEQUENCER_500 0x11F4
#define WM8962_WRITE_SEQUENCER_501 0x11F5
#define WM8962_WRITE_SEQUENCER_502 0x11F6
#define WM8962_WRITE_SEQUENCER_503 0x11F7
#define WM8962_WRITE_SEQUENCER_504 0x11F8
#define WM8962_WRITE_SEQUENCER_505 0x11F9
#define WM8962_WRITE_SEQUENCER_506 0x11FA
#define WM8962_WRITE_SEQUENCER_507 0x11FB
#define WM8962_WRITE_SEQUENCER_508 0x11FC
#define WM8962_WRITE_SEQUENCER_509 0x11FD
#define WM8962_WRITE_SEQUENCER_510 0x11FE
#define WM8962_WRITE_SEQUENCER_511 0x11FF
#define WM8962_DSP2_INSTRUCTION_RAM_0 0x2000
#define WM8962_DSP2_ADDRESS_RAM_2 0x2400
#define WM8962_DSP2_ADDRESS_RAM_1 0x2401
#define WM8962_DSP2_ADDRESS_RAM_0 0x2402
#define WM8962_DSP2_DATA1_RAM_1 0x3000
#define WM8962_DSP2_DATA1_RAM_0 0x3001
#define WM8962_DSP2_DATA2_RAM_1 0x3400
#define WM8962_DSP2_DATA2_RAM_0 0x3401
#define WM8962_DSP2_DATA3_RAM_1 0x3800
#define WM8962_DSP2_DATA3_RAM_0 0x3801
#define WM8962_DSP2_COEFF_RAM_0 0x3C00
#define WM8962_RETUNEADC_SHARED_COEFF_1 0x4000
#define WM8962_RETUNEADC_SHARED_COEFF_0 0x4001
#define WM8962_RETUNEDAC_SHARED_COEFF_1 0x4002
#define WM8962_RETUNEDAC_SHARED_COEFF_0 0x4003
#define WM8962_SOUNDSTAGE_ENABLES_1 0x4004
#define WM8962_SOUNDSTAGE_ENABLES_0 0x4005
#define WM8962_HDBASS_AI_1 0x4200
#define WM8962_HDBASS_AI_0 0x4201
#define WM8962_HDBASS_AR_1 0x4202
#define WM8962_HDBASS_AR_0 0x4203
#define WM8962_HDBASS_B_1 0x4204
#define WM8962_HDBASS_B_0 0x4205
#define WM8962_HDBASS_K_1 0x4206
#define WM8962_HDBASS_K_0 0x4207
#define WM8962_HDBASS_N1_1 0x4208
#define WM8962_HDBASS_N1_0 0x4209
#define WM8962_HDBASS_N2_1 0x420A
#define WM8962_HDBASS_N2_0 0x420B
#define WM8962_HDBASS_N3_1 0x420C
#define WM8962_HDBASS_N3_0 0x420D
#define WM8962_HDBASS_N4_1 0x420E
#define WM8962_HDBASS_N4_0 0x420F
#define WM8962_HDBASS_N5_1 0x4210
#define WM8962_HDBASS_N5_0 0x4211
#define WM8962_HDBASS_X1_1 0x4212
#define WM8962_HDBASS_X1_0 0x4213
#define WM8962_HDBASS_X2_1 0x4214
#define WM8962_HDBASS_X2_0 0x4215
#define WM8962_HDBASS_X3_1 0x4216
#define WM8962_HDBASS_X3_0 0x4217
#define WM8962_HDBASS_ATK_1 0x4218
#define WM8962_HDBASS_ATK_0 0x4219
#define WM8962_HDBASS_DCY_1 0x421A
#define WM8962_HDBASS_DCY_0 0x421B
#define WM8962_HDBASS_PG_1 0x421C
#define WM8962_HDBASS_PG_0 0x421D
#define WM8962_HPF_C_1 0x4400
#define WM8962_HPF_C_0 0x4401
#define WM8962_ADCL_RETUNE_C1_1 0x4600
#define WM8962_ADCL_RETUNE_C1_0 0x4601
#define WM8962_ADCL_RETUNE_C2_1 0x4602
#define WM8962_ADCL_RETUNE_C2_0 0x4603
#define WM8962_ADCL_RETUNE_C3_1 0x4604
#define WM8962_ADCL_RETUNE_C3_0 0x4605
#define WM8962_ADCL_RETUNE_C4_1 0x4606
#define WM8962_ADCL_RETUNE_C4_0 0x4607
#define WM8962_ADCL_RETUNE_C5_1 0x4608
#define WM8962_ADCL_RETUNE_C5_0 0x4609
#define WM8962_ADCL_RETUNE_C6_1 0x460A
#define WM8962_ADCL_RETUNE_C6_0 0x460B
#define WM8962_ADCL_RETUNE_C7_1 0x460C
#define WM8962_ADCL_RETUNE_C7_0 0x460D
#define WM8962_ADCL_RETUNE_C8_1 0x460E
#define WM8962_ADCL_RETUNE_C8_0 0x460F
#define WM8962_ADCL_RETUNE_C9_1 0x4610
#define WM8962_ADCL_RETUNE_C9_0 0x4611
#define WM8962_ADCL_RETUNE_C10_1 0x4612
#define WM8962_ADCL_RETUNE_C10_0 0x4613
#define WM8962_ADCL_RETUNE_C11_1 0x4614
#define WM8962_ADCL_RETUNE_C11_0 0x4615
#define WM8962_ADCL_RETUNE_C12_1 0x4616
#define WM8962_ADCL_RETUNE_C12_0 0x4617
#define WM8962_ADCL_RETUNE_C13_1 0x4618
#define WM8962_ADCL_RETUNE_C13_0 0x4619
#define WM8962_ADCL_RETUNE_C14_1 0x461A
#define WM8962_ADCL_RETUNE_C14_0 0x461B
#define WM8962_ADCL_RETUNE_C15_1 0x461C
#define WM8962_ADCL_RETUNE_C15_0 0x461D
#define WM8962_ADCL_RETUNE_C16_1 0x461E
#define WM8962_ADCL_RETUNE_C16_0 0x461F
#define WM8962_ADCL_RETUNE_C17_1 0x4620
#define WM8962_ADCL_RETUNE_C17_0 0x4621
#define WM8962_ADCL_RETUNE_C18_1 0x4622
#define WM8962_ADCL_RETUNE_C18_0 0x4623
#define WM8962_ADCL_RETUNE_C19_1 0x4624
#define WM8962_ADCL_RETUNE_C19_0 0x4625
#define WM8962_ADCL_RETUNE_C20_1 0x4626
#define WM8962_ADCL_RETUNE_C20_0 0x4627
#define WM8962_ADCL_RETUNE_C21_1 0x4628
#define WM8962_ADCL_RETUNE_C21_0 0x4629
#define WM8962_ADCL_RETUNE_C22_1 0x462A
#define WM8962_ADCL_RETUNE_C22_0 0x462B
#define WM8962_ADCL_RETUNE_C23_1 0x462C
#define WM8962_ADCL_RETUNE_C23_0 0x462D
#define WM8962_ADCL_RETUNE_C24_1 0x462E
#define WM8962_ADCL_RETUNE_C24_0 0x462F
#define WM8962_ADCL_RETUNE_C25_1 0x4630
#define WM8962_ADCL_RETUNE_C25_0 0x4631
#define WM8962_ADCL_RETUNE_C26_1 0x4632
#define WM8962_ADCL_RETUNE_C26_0 0x4633
#define WM8962_ADCL_RETUNE_C27_1 0x4634
#define WM8962_ADCL_RETUNE_C27_0 0x4635
#define WM8962_ADCL_RETUNE_C28_1 0x4636
#define WM8962_ADCL_RETUNE_C28_0 0x4637
#define WM8962_ADCL_RETUNE_C29_1 0x4638
#define WM8962_ADCL_RETUNE_C29_0 0x4639
#define WM8962_ADCL_RETUNE_C30_1 0x463A
#define WM8962_ADCL_RETUNE_C30_0 0x463B
#define WM8962_ADCL_RETUNE_C31_1 0x463C
#define WM8962_ADCL_RETUNE_C31_0 0x463D
#define WM8962_ADCL_RETUNE_C32_1 0x463E
#define WM8962_ADCL_RETUNE_C32_0 0x463F
#define WM8962_RETUNEADC_PG2_1 0x4800
#define WM8962_RETUNEADC_PG2_0 0x4801
#define WM8962_RETUNEADC_PG_1 0x4802
#define WM8962_RETUNEADC_PG_0 0x4803
#define WM8962_ADCR_RETUNE_C1_1 0x4A00
#define WM8962_ADCR_RETUNE_C1_0 0x4A01
#define WM8962_ADCR_RETUNE_C2_1 0x4A02
#define WM8962_ADCR_RETUNE_C2_0 0x4A03
#define WM8962_ADCR_RETUNE_C3_1 0x4A04
#define WM8962_ADCR_RETUNE_C3_0 0x4A05
#define WM8962_ADCR_RETUNE_C4_1 0x4A06
#define WM8962_ADCR_RETUNE_C4_0 0x4A07
#define WM8962_ADCR_RETUNE_C5_1 0x4A08
#define WM8962_ADCR_RETUNE_C5_0 0x4A09
#define WM8962_ADCR_RETUNE_C6_1 0x4A0A
#define WM8962_ADCR_RETUNE_C6_0 0x4A0B
#define WM8962_ADCR_RETUNE_C7_1 0x4A0C
#define WM8962_ADCR_RETUNE_C7_0 0x4A0D
#define WM8962_ADCR_RETUNE_C8_1 0x4A0E
#define WM8962_ADCR_RETUNE_C8_0 0x4A0F
#define WM8962_ADCR_RETUNE_C9_1 0x4A10
#define WM8962_ADCR_RETUNE_C9_0 0x4A11
#define WM8962_ADCR_RETUNE_C10_1 0x4A12
#define WM8962_ADCR_RETUNE_C10_0 0x4A13
#define WM8962_ADCR_RETUNE_C11_1 0x4A14
#define WM8962_ADCR_RETUNE_C11_0 0x4A15
#define WM8962_ADCR_RETUNE_C12_1 0x4A16
#define WM8962_ADCR_RETUNE_C12_0 0x4A17
#define WM8962_ADCR_RETUNE_C13_1 0x4A18
#define WM8962_ADCR_RETUNE_C13_0 0x4A19
#define WM8962_ADCR_RETUNE_C14_1 0x4A1A
#define WM8962_ADCR_RETUNE_C14_0 0x4A1B
#define WM8962_ADCR_RETUNE_C15_1 0x4A1C
#define WM8962_ADCR_RETUNE_C15_0 0x4A1D
#define WM8962_ADCR_RETUNE_C16_1 0x4A1E
#define WM8962_ADCR_RETUNE_C16_0 0x4A1F
#define WM8962_ADCR_RETUNE_C17_1 0x4A20
#define WM8962_ADCR_RETUNE_C17_0 0x4A21
#define WM8962_ADCR_RETUNE_C18_1 0x4A22
#define WM8962_ADCR_RETUNE_C18_0 0x4A23
#define WM8962_ADCR_RETUNE_C19_1 0x4A24
#define WM8962_ADCR_RETUNE_C19_0 0x4A25
#define WM8962_ADCR_RETUNE_C20_1 0x4A26
#define WM8962_ADCR_RETUNE_C20_0 0x4A27
#define WM8962_ADCR_RETUNE_C21_1 0x4A28
#define WM8962_ADCR_RETUNE_C21_0 0x4A29
#define WM8962_ADCR_RETUNE_C22_1 0x4A2A
#define WM8962_ADCR_RETUNE_C22_0 0x4A2B
#define WM8962_ADCR_RETUNE_C23_1 0x4A2C
#define WM8962_ADCR_RETUNE_C23_0 0x4A2D
#define WM8962_ADCR_RETUNE_C24_1 0x4A2E
#define WM8962_ADCR_RETUNE_C24_0 0x4A2F
#define WM8962_ADCR_RETUNE_C25_1 0x4A30
#define WM8962_ADCR_RETUNE_C25_0 0x4A31
#define WM8962_ADCR_RETUNE_C26_1 0x4A32
#define WM8962_ADCR_RETUNE_C26_0 0x4A33
#define WM8962_ADCR_RETUNE_C27_1 0x4A34
#define WM8962_ADCR_RETUNE_C27_0 0x4A35
#define WM8962_ADCR_RETUNE_C28_1 0x4A36
#define WM8962_ADCR_RETUNE_C28_0 0x4A37
#define WM8962_ADCR_RETUNE_C29_1 0x4A38
#define WM8962_ADCR_RETUNE_C29_0 0x4A39
#define WM8962_ADCR_RETUNE_C30_1 0x4A3A
#define WM8962_ADCR_RETUNE_C30_0 0x4A3B
#define WM8962_ADCR_RETUNE_C31_1 0x4A3C
#define WM8962_ADCR_RETUNE_C31_0 0x4A3D
#define WM8962_ADCR_RETUNE_C32_1 0x4A3E
#define WM8962_ADCR_RETUNE_C32_0 0x4A3F
#define WM8962_DACL_RETUNE_C1_1 0x4C00
#define WM8962_DACL_RETUNE_C1_0 0x4C01
#define WM8962_DACL_RETUNE_C2_1 0x4C02
#define WM8962_DACL_RETUNE_C2_0 0x4C03
#define WM8962_DACL_RETUNE_C3_1 0x4C04
#define WM8962_DACL_RETUNE_C3_0 0x4C05
#define WM8962_DACL_RETUNE_C4_1 0x4C06
#define WM8962_DACL_RETUNE_C4_0 0x4C07
#define WM8962_DACL_RETUNE_C5_1 0x4C08
#define WM8962_DACL_RETUNE_C5_0 0x4C09
#define WM8962_DACL_RETUNE_C6_1 0x4C0A
#define WM8962_DACL_RETUNE_C6_0 0x4C0B
#define WM8962_DACL_RETUNE_C7_1 0x4C0C
#define WM8962_DACL_RETUNE_C7_0 0x4C0D
#define WM8962_DACL_RETUNE_C8_1 0x4C0E
#define WM8962_DACL_RETUNE_C8_0 0x4C0F
#define WM8962_DACL_RETUNE_C9_1 0x4C10
#define WM8962_DACL_RETUNE_C9_0 0x4C11
#define WM8962_DACL_RETUNE_C10_1 0x4C12
#define WM8962_DACL_RETUNE_C10_0 0x4C13
#define WM8962_DACL_RETUNE_C11_1 0x4C14
#define WM8962_DACL_RETUNE_C11_0 0x4C15
#define WM8962_DACL_RETUNE_C12_1 0x4C16
#define WM8962_DACL_RETUNE_C12_0 0x4C17
#define WM8962_DACL_RETUNE_C13_1 0x4C18
#define WM8962_DACL_RETUNE_C13_0 0x4C19
#define WM8962_DACL_RETUNE_C14_1 0x4C1A
#define WM8962_DACL_RETUNE_C14_0 0x4C1B
#define WM8962_DACL_RETUNE_C15_1 0x4C1C
#define WM8962_DACL_RETUNE_C15_0 0x4C1D
#define WM8962_DACL_RETUNE_C16_1 0x4C1E
#define WM8962_DACL_RETUNE_C16_0 0x4C1F
#define WM8962_DACL_RETUNE_C17_1 0x4C20
#define WM8962_DACL_RETUNE_C17_0 0x4C21
#define WM8962_DACL_RETUNE_C18_1 0x4C22
#define WM8962_DACL_RETUNE_C18_0 0x4C23
#define WM8962_DACL_RETUNE_C19_1 0x4C24
#define WM8962_DACL_RETUNE_C19_0 0x4C25
#define WM8962_DACL_RETUNE_C20_1 0x4C26
#define WM8962_DACL_RETUNE_C20_0 0x4C27
#define WM8962_DACL_RETUNE_C21_1 0x4C28
#define WM8962_DACL_RETUNE_C21_0 0x4C29
#define WM8962_DACL_RETUNE_C22_1 0x4C2A
#define WM8962_DACL_RETUNE_C22_0 0x4C2B
#define WM8962_DACL_RETUNE_C23_1 0x4C2C
#define WM8962_DACL_RETUNE_C23_0 0x4C2D
#define WM8962_DACL_RETUNE_C24_1 0x4C2E
#define WM8962_DACL_RETUNE_C24_0 0x4C2F
#define WM8962_DACL_RETUNE_C25_1 0x4C30
#define WM8962_DACL_RETUNE_C25_0 0x4C31
#define WM8962_DACL_RETUNE_C26_1 0x4C32
#define WM8962_DACL_RETUNE_C26_0 0x4C33
#define WM8962_DACL_RETUNE_C27_1 0x4C34
#define WM8962_DACL_RETUNE_C27_0 0x4C35
#define WM8962_DACL_RETUNE_C28_1 0x4C36
#define WM8962_DACL_RETUNE_C28_0 0x4C37
#define WM8962_DACL_RETUNE_C29_1 0x4C38
#define WM8962_DACL_RETUNE_C29_0 0x4C39
#define WM8962_DACL_RETUNE_C30_1 0x4C3A
#define WM8962_DACL_RETUNE_C30_0 0x4C3B
#define WM8962_DACL_RETUNE_C31_1 0x4C3C
#define WM8962_DACL_RETUNE_C31_0 0x4C3D
#define WM8962_DACL_RETUNE_C32_1 0x4C3E
#define WM8962_DACL_RETUNE_C32_0 0x4C3F
#define WM8962_RETUNEDAC_PG2_1 0x4E00
#define WM8962_RETUNEDAC_PG2_0 0x4E01
#define WM8962_RETUNEDAC_PG_1 0x4E02
#define WM8962_RETUNEDAC_PG_0 0x4E03
#define WM8962_DACR_RETUNE_C1_1 0x5000
#define WM8962_DACR_RETUNE_C1_0 0x5001
#define WM8962_DACR_RETUNE_C2_1 0x5002
#define WM8962_DACR_RETUNE_C2_0 0x5003
#define WM8962_DACR_RETUNE_C3_1 0x5004
#define WM8962_DACR_RETUNE_C3_0 0x5005
#define WM8962_DACR_RETUNE_C4_1 0x5006
#define WM8962_DACR_RETUNE_C4_0 0x5007
#define WM8962_DACR_RETUNE_C5_1 0x5008
#define WM8962_DACR_RETUNE_C5_0 0x5009
#define WM8962_DACR_RETUNE_C6_1 0x500A
#define WM8962_DACR_RETUNE_C6_0 0x500B
#define WM8962_DACR_RETUNE_C7_1 0x500C
#define WM8962_DACR_RETUNE_C7_0 0x500D
#define WM8962_DACR_RETUNE_C8_1 0x500E
#define WM8962_DACR_RETUNE_C8_0 0x500F
#define WM8962_DACR_RETUNE_C9_1 0x5010
#define WM8962_DACR_RETUNE_C9_0 0x5011
#define WM8962_DACR_RETUNE_C10_1 0x5012
#define WM8962_DACR_RETUNE_C10_0 0x5013
#define WM8962_DACR_RETUNE_C11_1 0x5014
#define WM8962_DACR_RETUNE_C11_0 0x5015
#define WM8962_DACR_RETUNE_C12_1 0x5016
#define WM8962_DACR_RETUNE_C12_0 0x5017
#define WM8962_DACR_RETUNE_C13_1 0x5018
#define WM8962_DACR_RETUNE_C13_0 0x5019
#define WM8962_DACR_RETUNE_C14_1 0x501A
#define WM8962_DACR_RETUNE_C14_0 0x501B
#define WM8962_DACR_RETUNE_C15_1 0x501C
#define WM8962_DACR_RETUNE_C15_0 0x501D
#define WM8962_DACR_RETUNE_C16_1 0x501E
#define WM8962_DACR_RETUNE_C16_0 0x501F
#define WM8962_DACR_RETUNE_C17_1 0x5020
#define WM8962_DACR_RETUNE_C17_0 0x5021
#define WM8962_DACR_RETUNE_C18_1 0x5022
#define WM8962_DACR_RETUNE_C18_0 0x5023
#define WM8962_DACR_RETUNE_C19_1 0x5024
#define WM8962_DACR_RETUNE_C19_0 0x5025
#define WM8962_DACR_RETUNE_C20_1 0x5026
#define WM8962_DACR_RETUNE_C20_0 0x5027
#define WM8962_DACR_RETUNE_C21_1 0x5028
#define WM8962_DACR_RETUNE_C21_0 0x5029
#define WM8962_DACR_RETUNE_C22_1 0x502A
#define WM8962_DACR_RETUNE_C22_0 0x502B
#define WM8962_DACR_RETUNE_C23_1 0x502C
#define WM8962_DACR_RETUNE_C23_0 0x502D
#define WM8962_DACR_RETUNE_C24_1 0x502E
#define WM8962_DACR_RETUNE_C24_0 0x502F
#define WM8962_DACR_RETUNE_C25_1 0x5030
#define WM8962_DACR_RETUNE_C25_0 0x5031
#define WM8962_DACR_RETUNE_C26_1 0x5032
#define WM8962_DACR_RETUNE_C26_0 0x5033
#define WM8962_DACR_RETUNE_C27_1 0x5034
#define WM8962_DACR_RETUNE_C27_0 0x5035
#define WM8962_DACR_RETUNE_C28_1 0x5036
#define WM8962_DACR_RETUNE_C28_0 0x5037
#define WM8962_DACR_RETUNE_C29_1 0x5038
#define WM8962_DACR_RETUNE_C29_0 0x5039
#define WM8962_DACR_RETUNE_C30_1 0x503A
#define WM8962_DACR_RETUNE_C30_0 0x503B
#define WM8962_DACR_RETUNE_C31_1 0x503C
#define WM8962_DACR_RETUNE_C31_0 0x503D
#define WM8962_DACR_RETUNE_C32_1 0x503E
#define WM8962_DACR_RETUNE_C32_0 0x503F
#define WM8962_VSS_XHD2_1 0x5200
#define WM8962_VSS_XHD2_0 0x5201
#define WM8962_VSS_XHD3_1 0x5202
#define WM8962_VSS_XHD3_0 0x5203
#define WM8962_VSS_XHN1_1 0x5204
#define WM8962_VSS_XHN1_0 0x5205
#define WM8962_VSS_XHN2_1 0x5206
#define WM8962_VSS_XHN2_0 0x5207
#define WM8962_VSS_XHN3_1 0x5208
#define WM8962_VSS_XHN3_0 0x5209
#define WM8962_VSS_XLA_1 0x520A
#define WM8962_VSS_XLA_0 0x520B
#define WM8962_VSS_XLB_1 0x520C
#define WM8962_VSS_XLB_0 0x520D
#define WM8962_VSS_XLG_1 0x520E
#define WM8962_VSS_XLG_0 0x520F
#define WM8962_VSS_PG2_1 0x5210
#define WM8962_VSS_PG2_0 0x5211
#define WM8962_VSS_PG_1 0x5212
#define WM8962_VSS_PG_0 0x5213
#define WM8962_VSS_XTD1_1 0x5214
#define WM8962_VSS_XTD1_0 0x5215
#define WM8962_VSS_XTD2_1 0x5216
#define WM8962_VSS_XTD2_0 0x5217
#define WM8962_VSS_XTD3_1 0x5218
#define WM8962_VSS_XTD3_0 0x5219
#define WM8962_VSS_XTD4_1 0x521A
#define WM8962_VSS_XTD4_0 0x521B
#define WM8962_VSS_XTD5_1 0x521C
#define WM8962_VSS_XTD5_0 0x521D
#define WM8962_VSS_XTD6_1 0x521E
#define WM8962_VSS_XTD6_0 0x521F
#define WM8962_VSS_XTD7_1 0x5220
#define WM8962_VSS_XTD7_0 0x5221
#define WM8962_VSS_XTD8_1 0x5222
#define WM8962_VSS_XTD8_0 0x5223
#define WM8962_VSS_XTD9_1 0x5224
#define WM8962_VSS_XTD9_0 0x5225
#define WM8962_VSS_XTD10_1 0x5226
#define WM8962_VSS_XTD10_0 0x5227
#define WM8962_VSS_XTD11_1 0x5228
#define WM8962_VSS_XTD11_0 0x5229
#define WM8962_VSS_XTD12_1 0x522A
#define WM8962_VSS_XTD12_0 0x522B
#define WM8962_VSS_XTD13_1 0x522C
#define WM8962_VSS_XTD13_0 0x522D
#define WM8962_VSS_XTD14_1 0x522E
#define WM8962_VSS_XTD14_0 0x522F
#define WM8962_VSS_XTD15_1 0x5230
#define WM8962_VSS_XTD15_0 0x5231
#define WM8962_VSS_XTD16_1 0x5232
#define WM8962_VSS_XTD16_0 0x5233
#define WM8962_VSS_XTD17_1 0x5234
#define WM8962_VSS_XTD17_0 0x5235
#define WM8962_VSS_XTD18_1 0x5236
#define WM8962_VSS_XTD18_0 0x5237
#define WM8962_VSS_XTD19_1 0x5238
#define WM8962_VSS_XTD19_0 0x5239
#define WM8962_VSS_XTD20_1 0x523A
#define WM8962_VSS_XTD20_0 0x523B
#define WM8962_VSS_XTD21_1 0x523C
#define WM8962_VSS_XTD21_0 0x523D
#define WM8962_VSS_XTD22_1 0x523E
#define WM8962_VSS_XTD22_0 0x523F
#define WM8962_VSS_XTD23_1 0x5240
#define WM8962_VSS_XTD23_0 0x5241
#define WM8962_VSS_XTD24_1 0x5242
#define WM8962_VSS_XTD24_0 0x5243
#define WM8962_VSS_XTD25_1 0x5244
#define WM8962_VSS_XTD25_0 0x5245
#define WM8962_VSS_XTD26_1 0x5246
#define WM8962_VSS_XTD26_0 0x5247
#define WM8962_VSS_XTD27_1 0x5248
#define WM8962_VSS_XTD27_0 0x5249
#define WM8962_VSS_XTD28_1 0x524A
#define WM8962_VSS_XTD28_0 0x524B
#define WM8962_VSS_XTD29_1 0x524C
#define WM8962_VSS_XTD29_0 0x524D
#define WM8962_VSS_XTD30_1 0x524E
#define WM8962_VSS_XTD30_0 0x524F
#define WM8962_VSS_XTD31_1 0x5250
#define WM8962_VSS_XTD31_0 0x5251
#define WM8962_VSS_XTD32_1 0x5252
#define WM8962_VSS_XTD32_0 0x5253
#define WM8962_VSS_XTS1_1 0x5254
#define WM8962_VSS_XTS1_0 0x5255
#define WM8962_VSS_XTS2_1 0x5256
#define WM8962_VSS_XTS2_0 0x5257
#define WM8962_VSS_XTS3_1 0x5258
#define WM8962_VSS_XTS3_0 0x5259
#define WM8962_VSS_XTS4_1 0x525A
#define WM8962_VSS_XTS4_0 0x525B
#define WM8962_VSS_XTS5_1 0x525C
#define WM8962_VSS_XTS5_0 0x525D
#define WM8962_VSS_XTS6_1 0x525E
#define WM8962_VSS_XTS6_0 0x525F
#define WM8962_VSS_XTS7_1 0x5260
#define WM8962_VSS_XTS7_0 0x5261
#define WM8962_VSS_XTS8_1 0x5262
#define WM8962_VSS_XTS8_0 0x5263
#define WM8962_VSS_XTS9_1 0x5264
#define WM8962_VSS_XTS9_0 0x5265
#define WM8962_VSS_XTS10_1 0x5266
#define WM8962_VSS_XTS10_0 0x5267
#define WM8962_VSS_XTS11_1 0x5268
#define WM8962_VSS_XTS11_0 0x5269
#define WM8962_VSS_XTS12_1 0x526A
#define WM8962_VSS_XTS12_0 0x526B
#define WM8962_VSS_XTS13_1 0x526C
#define WM8962_VSS_XTS13_0 0x526D
#define WM8962_VSS_XTS14_1 0x526E
#define WM8962_VSS_XTS14_0 0x526F
#define WM8962_VSS_XTS15_1 0x5270
#define WM8962_VSS_XTS15_0 0x5271
#define WM8962_VSS_XTS16_1 0x5272
#define WM8962_VSS_XTS16_0 0x5273
#define WM8962_VSS_XTS17_1 0x5274
#define WM8962_VSS_XTS17_0 0x5275
#define WM8962_VSS_XTS18_1 0x5276
#define WM8962_VSS_XTS18_0 0x5277
#define WM8962_VSS_XTS19_1 0x5278
#define WM8962_VSS_XTS19_0 0x5279
#define WM8962_VSS_XTS20_1 0x527A
#define WM8962_VSS_XTS20_0 0x527B
#define WM8962_VSS_XTS21_1 0x527C
#define WM8962_VSS_XTS21_0 0x527D
#define WM8962_VSS_XTS22_1 0x527E
#define WM8962_VSS_XTS22_0 0x527F
#define WM8962_VSS_XTS23_1 0x5280
#define WM8962_VSS_XTS23_0 0x5281
#define WM8962_VSS_XTS24_1 0x5282
#define WM8962_VSS_XTS24_0 0x5283
#define WM8962_VSS_XTS25_1 0x5284
#define WM8962_VSS_XTS25_0 0x5285
#define WM8962_VSS_XTS26_1 0x5286
#define WM8962_VSS_XTS26_0 0x5287
#define WM8962_VSS_XTS27_1 0x5288
#define WM8962_VSS_XTS27_0 0x5289
#define WM8962_VSS_XTS28_1 0x528A
#define WM8962_VSS_XTS28_0 0x528B
#define WM8962_VSS_XTS29_1 0x528C
#define WM8962_VSS_XTS29_0 0x528D
#define WM8962_VSS_XTS30_1 0x528E
#define WM8962_VSS_XTS30_0 0x528F
#define WM8962_VSS_XTS31_1 0x5290
#define WM8962_VSS_XTS31_0 0x5291
#define WM8962_VSS_XTS32_1 0x5292
#define WM8962_VSS_XTS32_0 0x5293
#define WM8962_REGISTER_COUNT 1138
#define WM8962_MAX_REGISTER 0x5293
/*
* Field Definitions.
*/
/*
* R0 (0x00) - Left Input volume
*/
#define WM8962_IN_VU 0x0100 /* IN_VU */
#define WM8962_IN_VU_MASK 0x0100 /* IN_VU */
#define WM8962_IN_VU_SHIFT 8 /* IN_VU */
#define WM8962_IN_VU_WIDTH 1 /* IN_VU */
#define WM8962_INPGAL_MUTE 0x0080 /* INPGAL_MUTE */
#define WM8962_INPGAL_MUTE_MASK 0x0080 /* INPGAL_MUTE */
#define WM8962_INPGAL_MUTE_SHIFT 7 /* INPGAL_MUTE */
#define WM8962_INPGAL_MUTE_WIDTH 1 /* INPGAL_MUTE */
#define WM8962_INL_ZC 0x0040 /* INL_ZC */
#define WM8962_INL_ZC_MASK 0x0040 /* INL_ZC */
#define WM8962_INL_ZC_SHIFT 6 /* INL_ZC */
#define WM8962_INL_ZC_WIDTH 1 /* INL_ZC */
#define WM8962_INL_VOL_MASK 0x003F /* INL_VOL - [5:0] */
#define WM8962_INL_VOL_SHIFT 0 /* INL_VOL - [5:0] */
#define WM8962_INL_VOL_WIDTH 6 /* INL_VOL - [5:0] */
/*
* R1 (0x01) - Right Input volume
*/
#define WM8962_CUST_ID_MASK 0xF000 /* CUST_ID - [15:12] */
#define WM8962_CUST_ID_SHIFT 12 /* CUST_ID - [15:12] */
#define WM8962_CUST_ID_WIDTH 4 /* CUST_ID - [15:12] */
#define WM8962_CHIP_REV_MASK 0x0E00 /* CHIP_REV - [11:9] */
#define WM8962_CHIP_REV_SHIFT 9 /* CHIP_REV - [11:9] */
#define WM8962_CHIP_REV_WIDTH 3 /* CHIP_REV - [11:9] */
#define WM8962_IN_VU 0x0100 /* IN_VU */
#define WM8962_IN_VU_MASK 0x0100 /* IN_VU */
#define WM8962_IN_VU_SHIFT 8 /* IN_VU */
#define WM8962_IN_VU_WIDTH 1 /* IN_VU */
#define WM8962_INPGAR_MUTE 0x0080 /* INPGAR_MUTE */
#define WM8962_INPGAR_MUTE_MASK 0x0080 /* INPGAR_MUTE */
#define WM8962_INPGAR_MUTE_SHIFT 7 /* INPGAR_MUTE */
#define WM8962_INPGAR_MUTE_WIDTH 1 /* INPGAR_MUTE */
#define WM8962_INR_ZC 0x0040 /* INR_ZC */
#define WM8962_INR_ZC_MASK 0x0040 /* INR_ZC */
#define WM8962_INR_ZC_SHIFT 6 /* INR_ZC */
#define WM8962_INR_ZC_WIDTH 1 /* INR_ZC */
#define WM8962_INR_VOL_MASK 0x003F /* INR_VOL - [5:0] */
#define WM8962_INR_VOL_SHIFT 0 /* INR_VOL - [5:0] */
#define WM8962_INR_VOL_WIDTH 6 /* INR_VOL - [5:0] */
/*
* R2 (0x02) - HPOUTL volume
*/
#define WM8962_HPOUT_VU 0x0100 /* HPOUT_VU */
#define WM8962_HPOUT_VU_MASK 0x0100 /* HPOUT_VU */
#define WM8962_HPOUT_VU_SHIFT 8 /* HPOUT_VU */
#define WM8962_HPOUT_VU_WIDTH 1 /* HPOUT_VU */
#define WM8962_HPOUTL_ZC 0x0080 /* HPOUTL_ZC */
#define WM8962_HPOUTL_ZC_MASK 0x0080 /* HPOUTL_ZC */
#define WM8962_HPOUTL_ZC_SHIFT 7 /* HPOUTL_ZC */
#define WM8962_HPOUTL_ZC_WIDTH 1 /* HPOUTL_ZC */
#define WM8962_HPOUTL_VOL_MASK 0x007F /* HPOUTL_VOL - [6:0] */
#define WM8962_HPOUTL_VOL_SHIFT 0 /* HPOUTL_VOL - [6:0] */
#define WM8962_HPOUTL_VOL_WIDTH 7 /* HPOUTL_VOL - [6:0] */
/*
* R3 (0x03) - HPOUTR volume
*/
#define WM8962_HPOUT_VU 0x0100 /* HPOUT_VU */
#define WM8962_HPOUT_VU_MASK 0x0100 /* HPOUT_VU */
#define WM8962_HPOUT_VU_SHIFT 8 /* HPOUT_VU */
#define WM8962_HPOUT_VU_WIDTH 1 /* HPOUT_VU */
#define WM8962_HPOUTR_ZC 0x0080 /* HPOUTR_ZC */
#define WM8962_HPOUTR_ZC_MASK 0x0080 /* HPOUTR_ZC */
#define WM8962_HPOUTR_ZC_SHIFT 7 /* HPOUTR_ZC */
#define WM8962_HPOUTR_ZC_WIDTH 1 /* HPOUTR_ZC */
#define WM8962_HPOUTR_VOL_MASK 0x007F /* HPOUTR_VOL - [6:0] */
#define WM8962_HPOUTR_VOL_SHIFT 0 /* HPOUTR_VOL - [6:0] */
#define WM8962_HPOUTR_VOL_WIDTH 7 /* HPOUTR_VOL - [6:0] */
/*
* R4 (0x04) - Clocking1
*/
#define WM8962_DSPCLK_DIV_MASK 0x0600 /* DSPCLK_DIV - [10:9] */
#define WM8962_DSPCLK_DIV_SHIFT 9 /* DSPCLK_DIV - [10:9] */
#define WM8962_DSPCLK_DIV_WIDTH 2 /* DSPCLK_DIV - [10:9] */
#define WM8962_ADCSYS_CLK_DIV_MASK 0x01C0 /* ADCSYS_CLK_DIV - [8:6] */
#define WM8962_ADCSYS_CLK_DIV_SHIFT 6 /* ADCSYS_CLK_DIV - [8:6] */
#define WM8962_ADCSYS_CLK_DIV_WIDTH 3 /* ADCSYS_CLK_DIV - [8:6] */
#define WM8962_DACSYS_CLK_DIV_MASK 0x0038 /* DACSYS_CLK_DIV - [5:3] */
#define WM8962_DACSYS_CLK_DIV_SHIFT 3 /* DACSYS_CLK_DIV - [5:3] */
#define WM8962_DACSYS_CLK_DIV_WIDTH 3 /* DACSYS_CLK_DIV - [5:3] */
#define WM8962_MCLKDIV_MASK 0x0006 /* MCLKDIV - [2:1] */
#define WM8962_MCLKDIV_SHIFT 1 /* MCLKDIV - [2:1] */
#define WM8962_MCLKDIV_WIDTH 2 /* MCLKDIV - [2:1] */
/*
* R5 (0x05) - ADC & DAC Control 1
*/
#define WM8962_ADCR_DAT_INV 0x0040 /* ADCR_DAT_INV */
#define WM8962_ADCR_DAT_INV_MASK 0x0040 /* ADCR_DAT_INV */
#define WM8962_ADCR_DAT_INV_SHIFT 6 /* ADCR_DAT_INV */
#define WM8962_ADCR_DAT_INV_WIDTH 1 /* ADCR_DAT_INV */
#define WM8962_ADCL_DAT_INV 0x0020 /* ADCL_DAT_INV */
#define WM8962_ADCL_DAT_INV_MASK 0x0020 /* ADCL_DAT_INV */
#define WM8962_ADCL_DAT_INV_SHIFT 5 /* ADCL_DAT_INV */
#define WM8962_ADCL_DAT_INV_WIDTH 1 /* ADCL_DAT_INV */
#define WM8962_DAC_MUTE_RAMP 0x0010 /* DAC_MUTE_RAMP */
#define WM8962_DAC_MUTE_RAMP_MASK 0x0010 /* DAC_MUTE_RAMP */
#define WM8962_DAC_MUTE_RAMP_SHIFT 4 /* DAC_MUTE_RAMP */
#define WM8962_DAC_MUTE_RAMP_WIDTH 1 /* DAC_MUTE_RAMP */
#define WM8962_DAC_MUTE 0x0008 /* DAC_MUTE */
#define WM8962_DAC_MUTE_MASK 0x0008 /* DAC_MUTE */
#define WM8962_DAC_MUTE_SHIFT 3 /* DAC_MUTE */
#define WM8962_DAC_MUTE_WIDTH 1 /* DAC_MUTE */
#define WM8962_DAC_DEEMP_MASK 0x0006 /* DAC_DEEMP - [2:1] */
#define WM8962_DAC_DEEMP_SHIFT 1 /* DAC_DEEMP - [2:1] */
#define WM8962_DAC_DEEMP_WIDTH 2 /* DAC_DEEMP - [2:1] */
#define WM8962_ADC_HPF_DIS 0x0001 /* ADC_HPF_DIS */
#define WM8962_ADC_HPF_DIS_MASK 0x0001 /* ADC_HPF_DIS */
#define WM8962_ADC_HPF_DIS_SHIFT 0 /* ADC_HPF_DIS */
#define WM8962_ADC_HPF_DIS_WIDTH 1 /* ADC_HPF_DIS */
/*
* R6 (0x06) - ADC & DAC Control 2
*/
#define WM8962_ADC_HPF_SR_MASK 0x3000 /* ADC_HPF_SR - [13:12] */
#define WM8962_ADC_HPF_SR_SHIFT 12 /* ADC_HPF_SR - [13:12] */
#define WM8962_ADC_HPF_SR_WIDTH 2 /* ADC_HPF_SR - [13:12] */
#define WM8962_ADC_HPF_MODE 0x0400 /* ADC_HPF_MODE */
#define WM8962_ADC_HPF_MODE_MASK 0x0400 /* ADC_HPF_MODE */
#define WM8962_ADC_HPF_MODE_SHIFT 10 /* ADC_HPF_MODE */
#define WM8962_ADC_HPF_MODE_WIDTH 1 /* ADC_HPF_MODE */
#define WM8962_ADC_HPF_CUT_MASK 0x0380 /* ADC_HPF_CUT - [9:7] */
#define WM8962_ADC_HPF_CUT_SHIFT 7 /* ADC_HPF_CUT - [9:7] */
#define WM8962_ADC_HPF_CUT_WIDTH 3 /* ADC_HPF_CUT - [9:7] */
#define WM8962_DACR_DAT_INV 0x0040 /* DACR_DAT_INV */
#define WM8962_DACR_DAT_INV_MASK 0x0040 /* DACR_DAT_INV */
#define WM8962_DACR_DAT_INV_SHIFT 6 /* DACR_DAT_INV */
#define WM8962_DACR_DAT_INV_WIDTH 1 /* DACR_DAT_INV */
#define WM8962_DACL_DAT_INV 0x0020 /* DACL_DAT_INV */
#define WM8962_DACL_DAT_INV_MASK 0x0020 /* DACL_DAT_INV */
#define WM8962_DACL_DAT_INV_SHIFT 5 /* DACL_DAT_INV */
#define WM8962_DACL_DAT_INV_WIDTH 1 /* DACL_DAT_INV */
#define WM8962_DAC_UNMUTE_RAMP 0x0008 /* DAC_UNMUTE_RAMP */
#define WM8962_DAC_UNMUTE_RAMP_MASK 0x0008 /* DAC_UNMUTE_RAMP */
#define WM8962_DAC_UNMUTE_RAMP_SHIFT 3 /* DAC_UNMUTE_RAMP */
#define WM8962_DAC_UNMUTE_RAMP_WIDTH 1 /* DAC_UNMUTE_RAMP */
#define WM8962_DAC_MUTERATE 0x0004 /* DAC_MUTERATE */
#define WM8962_DAC_MUTERATE_MASK 0x0004 /* DAC_MUTERATE */
#define WM8962_DAC_MUTERATE_SHIFT 2 /* DAC_MUTERATE */
#define WM8962_DAC_MUTERATE_WIDTH 1 /* DAC_MUTERATE */
#define WM8962_DAC_HP 0x0001 /* DAC_HP */
#define WM8962_DAC_HP_MASK 0x0001 /* DAC_HP */
#define WM8962_DAC_HP_SHIFT 0 /* DAC_HP */
#define WM8962_DAC_HP_WIDTH 1 /* DAC_HP */
/*
* R7 (0x07) - Audio Interface 0
*/
#define WM8962_AIFDAC_TDM_MODE 0x1000 /* AIFDAC_TDM_MODE */
#define WM8962_AIFDAC_TDM_MODE_MASK 0x1000 /* AIFDAC_TDM_MODE */
#define WM8962_AIFDAC_TDM_MODE_SHIFT 12 /* AIFDAC_TDM_MODE */
#define WM8962_AIFDAC_TDM_MODE_WIDTH 1 /* AIFDAC_TDM_MODE */
#define WM8962_AIFDAC_TDM_SLOT 0x0800 /* AIFDAC_TDM_SLOT */
#define WM8962_AIFDAC_TDM_SLOT_MASK 0x0800 /* AIFDAC_TDM_SLOT */
#define WM8962_AIFDAC_TDM_SLOT_SHIFT 11 /* AIFDAC_TDM_SLOT */
#define WM8962_AIFDAC_TDM_SLOT_WIDTH 1 /* AIFDAC_TDM_SLOT */
#define WM8962_AIFADC_TDM_MODE 0x0400 /* AIFADC_TDM_MODE */
#define WM8962_AIFADC_TDM_MODE_MASK 0x0400 /* AIFADC_TDM_MODE */
#define WM8962_AIFADC_TDM_MODE_SHIFT 10 /* AIFADC_TDM_MODE */
#define WM8962_AIFADC_TDM_MODE_WIDTH 1 /* AIFADC_TDM_MODE */
#define WM8962_AIFADC_TDM_SLOT 0x0200 /* AIFADC_TDM_SLOT */
#define WM8962_AIFADC_TDM_SLOT_MASK 0x0200 /* AIFADC_TDM_SLOT */
#define WM8962_AIFADC_TDM_SLOT_SHIFT 9 /* AIFADC_TDM_SLOT */
#define WM8962_AIFADC_TDM_SLOT_WIDTH 1 /* AIFADC_TDM_SLOT */
#define WM8962_ADC_LRSWAP 0x0100 /* ADC_LRSWAP */
#define WM8962_ADC_LRSWAP_MASK 0x0100 /* ADC_LRSWAP */
#define WM8962_ADC_LRSWAP_SHIFT 8 /* ADC_LRSWAP */
#define WM8962_ADC_LRSWAP_WIDTH 1 /* ADC_LRSWAP */
#define WM8962_BCLK_INV 0x0080 /* BCLK_INV */
#define WM8962_BCLK_INV_MASK 0x0080 /* BCLK_INV */
#define WM8962_BCLK_INV_SHIFT 7 /* BCLK_INV */
#define WM8962_BCLK_INV_WIDTH 1 /* BCLK_INV */
#define WM8962_MSTR 0x0040 /* MSTR */
#define WM8962_MSTR_MASK 0x0040 /* MSTR */
#define WM8962_MSTR_SHIFT 6 /* MSTR */
#define WM8962_MSTR_WIDTH 1 /* MSTR */
#define WM8962_DAC_LRSWAP 0x0020 /* DAC_LRSWAP */
#define WM8962_DAC_LRSWAP_MASK 0x0020 /* DAC_LRSWAP */
#define WM8962_DAC_LRSWAP_SHIFT 5 /* DAC_LRSWAP */
#define WM8962_DAC_LRSWAP_WIDTH 1 /* DAC_LRSWAP */
#define WM8962_LRCLK_INV 0x0010 /* LRCLK_INV */
#define WM8962_LRCLK_INV_MASK 0x0010 /* LRCLK_INV */
#define WM8962_LRCLK_INV_SHIFT 4 /* LRCLK_INV */
#define WM8962_LRCLK_INV_WIDTH 1 /* LRCLK_INV */
#define WM8962_WL_MASK 0x000C /* WL - [3:2] */
#define WM8962_WL_SHIFT 2 /* WL - [3:2] */
#define WM8962_WL_WIDTH 2 /* WL - [3:2] */
#define WM8962_FMT_MASK 0x0003 /* FMT - [1:0] */
#define WM8962_FMT_SHIFT 0 /* FMT - [1:0] */
#define WM8962_FMT_WIDTH 2 /* FMT - [1:0] */
/*
* R8 (0x08) - Clocking2
*/
#define WM8962_CLKREG_OVD 0x0800 /* CLKREG_OVD */
#define WM8962_CLKREG_OVD_MASK 0x0800 /* CLKREG_OVD */
#define WM8962_CLKREG_OVD_SHIFT 11 /* CLKREG_OVD */
#define WM8962_CLKREG_OVD_WIDTH 1 /* CLKREG_OVD */
#define WM8962_SYSCLK_SRC_MASK 0x0600 /* SYSCLK_SRC - [10:9] */
#define WM8962_SYSCLK_SRC_SHIFT 9 /* SYSCLK_SRC - [10:9] */
#define WM8962_SYSCLK_SRC_WIDTH 2 /* SYSCLK_SRC - [10:9] */
#define WM8962_CLASSD_CLK_DIV_MASK 0x01C0 /* CLASSD_CLK_DIV - [8:6] */
#define WM8962_CLASSD_CLK_DIV_SHIFT 6 /* CLASSD_CLK_DIV - [8:6] */
#define WM8962_CLASSD_CLK_DIV_WIDTH 3 /* CLASSD_CLK_DIV - [8:6] */
#define WM8962_SYSCLK_ENA 0x0020 /* SYSCLK_ENA */
#define WM8962_SYSCLK_ENA_MASK 0x0020 /* SYSCLK_ENA */
#define WM8962_SYSCLK_ENA_SHIFT 5 /* SYSCLK_ENA */
#define WM8962_SYSCLK_ENA_WIDTH 1 /* SYSCLK_ENA */
#define WM8962_BCLK_DIV_MASK 0x000F /* BCLK_DIV - [3:0] */
#define WM8962_BCLK_DIV_SHIFT 0 /* BCLK_DIV - [3:0] */
#define WM8962_BCLK_DIV_WIDTH 4 /* BCLK_DIV - [3:0] */
/*
* R9 (0x09) - Audio Interface 1
*/
#define WM8962_AUTOMUTE_STS 0x0800 /* AUTOMUTE_STS */
#define WM8962_AUTOMUTE_STS_MASK 0x0800 /* AUTOMUTE_STS */
#define WM8962_AUTOMUTE_STS_SHIFT 11 /* AUTOMUTE_STS */
#define WM8962_AUTOMUTE_STS_WIDTH 1 /* AUTOMUTE_STS */
#define WM8962_DAC_AUTOMUTE_SAMPLES_MASK 0x0300 /* DAC_AUTOMUTE_SAMPLES - [9:8] */
#define WM8962_DAC_AUTOMUTE_SAMPLES_SHIFT 8 /* DAC_AUTOMUTE_SAMPLES - [9:8] */
#define WM8962_DAC_AUTOMUTE_SAMPLES_WIDTH 2 /* DAC_AUTOMUTE_SAMPLES - [9:8] */
#define WM8962_DAC_AUTOMUTE 0x0080 /* DAC_AUTOMUTE */
#define WM8962_DAC_AUTOMUTE_MASK 0x0080 /* DAC_AUTOMUTE */
#define WM8962_DAC_AUTOMUTE_SHIFT 7 /* DAC_AUTOMUTE */
#define WM8962_DAC_AUTOMUTE_WIDTH 1 /* DAC_AUTOMUTE */
#define WM8962_DAC_COMP 0x0010 /* DAC_COMP */
#define WM8962_DAC_COMP_MASK 0x0010 /* DAC_COMP */
#define WM8962_DAC_COMP_SHIFT 4 /* DAC_COMP */
#define WM8962_DAC_COMP_WIDTH 1 /* DAC_COMP */
#define WM8962_DAC_COMPMODE 0x0008 /* DAC_COMPMODE */
#define WM8962_DAC_COMPMODE_MASK 0x0008 /* DAC_COMPMODE */
#define WM8962_DAC_COMPMODE_SHIFT 3 /* DAC_COMPMODE */
#define WM8962_DAC_COMPMODE_WIDTH 1 /* DAC_COMPMODE */
#define WM8962_ADC_COMP 0x0004 /* ADC_COMP */
#define WM8962_ADC_COMP_MASK 0x0004 /* ADC_COMP */
#define WM8962_ADC_COMP_SHIFT 2 /* ADC_COMP */
#define WM8962_ADC_COMP_WIDTH 1 /* ADC_COMP */
#define WM8962_ADC_COMPMODE 0x0002 /* ADC_COMPMODE */
#define WM8962_ADC_COMPMODE_MASK 0x0002 /* ADC_COMPMODE */
#define WM8962_ADC_COMPMODE_SHIFT 1 /* ADC_COMPMODE */
#define WM8962_ADC_COMPMODE_WIDTH 1 /* ADC_COMPMODE */
#define WM8962_LOOPBACK 0x0001 /* LOOPBACK */
#define WM8962_LOOPBACK_MASK 0x0001 /* LOOPBACK */
#define WM8962_LOOPBACK_SHIFT 0 /* LOOPBACK */
#define WM8962_LOOPBACK_WIDTH 1 /* LOOPBACK */
/*
* R10 (0x0A) - Left DAC volume
*/
#define WM8962_DAC_VU 0x0100 /* DAC_VU */
#define WM8962_DAC_VU_MASK 0x0100 /* DAC_VU */
#define WM8962_DAC_VU_SHIFT 8 /* DAC_VU */
#define WM8962_DAC_VU_WIDTH 1 /* DAC_VU */
#define WM8962_DACL_VOL_MASK 0x00FF /* DACL_VOL - [7:0] */
#define WM8962_DACL_VOL_SHIFT 0 /* DACL_VOL - [7:0] */
#define WM8962_DACL_VOL_WIDTH 8 /* DACL_VOL - [7:0] */
/*
* R11 (0x0B) - Right DAC volume
*/
#define WM8962_DAC_VU 0x0100 /* DAC_VU */
#define WM8962_DAC_VU_MASK 0x0100 /* DAC_VU */
#define WM8962_DAC_VU_SHIFT 8 /* DAC_VU */
#define WM8962_DAC_VU_WIDTH 1 /* DAC_VU */
#define WM8962_DACR_VOL_MASK 0x00FF /* DACR_VOL - [7:0] */
#define WM8962_DACR_VOL_SHIFT 0 /* DACR_VOL - [7:0] */
#define WM8962_DACR_VOL_WIDTH 8 /* DACR_VOL - [7:0] */
/*
* R14 (0x0E) - Audio Interface 2
*/
#define WM8962_AIF_RATE_MASK 0x07FF /* AIF_RATE - [10:0] */
#define WM8962_AIF_RATE_SHIFT 0 /* AIF_RATE - [10:0] */
#define WM8962_AIF_RATE_WIDTH 11 /* AIF_RATE - [10:0] */
/*
* R15 (0x0F) - Software Reset
*/
#define WM8962_SW_RESET_MASK 0xFFFF /* SW_RESET - [15:0] */
#define WM8962_SW_RESET_SHIFT 0 /* SW_RESET - [15:0] */
#define WM8962_SW_RESET_WIDTH 16 /* SW_RESET - [15:0] */
/*
* R17 (0x11) - ALC1
*/
#define WM8962_ALC_INACTIVE_ENA 0x0400 /* ALC_INACTIVE_ENA */
#define WM8962_ALC_INACTIVE_ENA_MASK 0x0400 /* ALC_INACTIVE_ENA */
#define WM8962_ALC_INACTIVE_ENA_SHIFT 10 /* ALC_INACTIVE_ENA */
#define WM8962_ALC_INACTIVE_ENA_WIDTH 1 /* ALC_INACTIVE_ENA */
#define WM8962_ALC_LVL_MODE 0x0200 /* ALC_LVL_MODE */
#define WM8962_ALC_LVL_MODE_MASK 0x0200 /* ALC_LVL_MODE */
#define WM8962_ALC_LVL_MODE_SHIFT 9 /* ALC_LVL_MODE */
#define WM8962_ALC_LVL_MODE_WIDTH 1 /* ALC_LVL_MODE */
#define WM8962_ALCL_ENA 0x0100 /* ALCL_ENA */
#define WM8962_ALCL_ENA_MASK 0x0100 /* ALCL_ENA */
#define WM8962_ALCL_ENA_SHIFT 8 /* ALCL_ENA */
#define WM8962_ALCL_ENA_WIDTH 1 /* ALCL_ENA */
#define WM8962_ALCR_ENA 0x0080 /* ALCR_ENA */
#define WM8962_ALCR_ENA_MASK 0x0080 /* ALCR_ENA */
#define WM8962_ALCR_ENA_SHIFT 7 /* ALCR_ENA */
#define WM8962_ALCR_ENA_WIDTH 1 /* ALCR_ENA */
#define WM8962_ALC_MAXGAIN_MASK 0x0070 /* ALC_MAXGAIN - [6:4] */
#define WM8962_ALC_MAXGAIN_SHIFT 4 /* ALC_MAXGAIN - [6:4] */
#define WM8962_ALC_MAXGAIN_WIDTH 3 /* ALC_MAXGAIN - [6:4] */
#define WM8962_ALC_LVL_MASK 0x000F /* ALC_LVL - [3:0] */
#define WM8962_ALC_LVL_SHIFT 0 /* ALC_LVL - [3:0] */
#define WM8962_ALC_LVL_WIDTH 4 /* ALC_LVL - [3:0] */
/*
* R18 (0x12) - ALC2
*/
#define WM8962_ALC_LOCK_STS 0x8000 /* ALC_LOCK_STS */
#define WM8962_ALC_LOCK_STS_MASK 0x8000 /* ALC_LOCK_STS */
#define WM8962_ALC_LOCK_STS_SHIFT 15 /* ALC_LOCK_STS */
#define WM8962_ALC_LOCK_STS_WIDTH 1 /* ALC_LOCK_STS */
#define WM8962_ALC_THRESH_STS 0x4000 /* ALC_THRESH_STS */
#define WM8962_ALC_THRESH_STS_MASK 0x4000 /* ALC_THRESH_STS */
#define WM8962_ALC_THRESH_STS_SHIFT 14 /* ALC_THRESH_STS */
#define WM8962_ALC_THRESH_STS_WIDTH 1 /* ALC_THRESH_STS */
#define WM8962_ALC_SAT_STS 0x2000 /* ALC_SAT_STS */
#define WM8962_ALC_SAT_STS_MASK 0x2000 /* ALC_SAT_STS */
#define WM8962_ALC_SAT_STS_SHIFT 13 /* ALC_SAT_STS */
#define WM8962_ALC_SAT_STS_WIDTH 1 /* ALC_SAT_STS */
#define WM8962_ALC_PKOVR_STS 0x1000 /* ALC_PKOVR_STS */
#define WM8962_ALC_PKOVR_STS_MASK 0x1000 /* ALC_PKOVR_STS */
#define WM8962_ALC_PKOVR_STS_SHIFT 12 /* ALC_PKOVR_STS */
#define WM8962_ALC_PKOVR_STS_WIDTH 1 /* ALC_PKOVR_STS */
#define WM8962_ALC_NGATE_STS 0x0800 /* ALC_NGATE_STS */
#define WM8962_ALC_NGATE_STS_MASK 0x0800 /* ALC_NGATE_STS */
#define WM8962_ALC_NGATE_STS_SHIFT 11 /* ALC_NGATE_STS */
#define WM8962_ALC_NGATE_STS_WIDTH 1 /* ALC_NGATE_STS */
#define WM8962_ALC_ZC 0x0080 /* ALC_ZC */
#define WM8962_ALC_ZC_MASK 0x0080 /* ALC_ZC */
#define WM8962_ALC_ZC_SHIFT 7 /* ALC_ZC */
#define WM8962_ALC_ZC_WIDTH 1 /* ALC_ZC */
#define WM8962_ALC_MINGAIN_MASK 0x0070 /* ALC_MINGAIN - [6:4] */
#define WM8962_ALC_MINGAIN_SHIFT 4 /* ALC_MINGAIN - [6:4] */
#define WM8962_ALC_MINGAIN_WIDTH 3 /* ALC_MINGAIN - [6:4] */
#define WM8962_ALC_HLD_MASK 0x000F /* ALC_HLD - [3:0] */
#define WM8962_ALC_HLD_SHIFT 0 /* ALC_HLD - [3:0] */
#define WM8962_ALC_HLD_WIDTH 4 /* ALC_HLD - [3:0] */
/*
* R19 (0x13) - ALC3
*/
#define WM8962_ALC_NGATE_GAIN_MASK 0x1C00 /* ALC_NGATE_GAIN - [12:10] */
#define WM8962_ALC_NGATE_GAIN_SHIFT 10 /* ALC_NGATE_GAIN - [12:10] */
#define WM8962_ALC_NGATE_GAIN_WIDTH 3 /* ALC_NGATE_GAIN - [12:10] */
#define WM8962_ALC_MODE 0x0100 /* ALC_MODE */
#define WM8962_ALC_MODE_MASK 0x0100 /* ALC_MODE */
#define WM8962_ALC_MODE_SHIFT 8 /* ALC_MODE */
#define WM8962_ALC_MODE_WIDTH 1 /* ALC_MODE */
#define WM8962_ALC_DCY_MASK 0x00F0 /* ALC_DCY - [7:4] */
#define WM8962_ALC_DCY_SHIFT 4 /* ALC_DCY - [7:4] */
#define WM8962_ALC_DCY_WIDTH 4 /* ALC_DCY - [7:4] */
#define WM8962_ALC_ATK_MASK 0x000F /* ALC_ATK - [3:0] */
#define WM8962_ALC_ATK_SHIFT 0 /* ALC_ATK - [3:0] */
#define WM8962_ALC_ATK_WIDTH 4 /* ALC_ATK - [3:0] */
/*
* R20 (0x14) - Noise Gate
*/
#define WM8962_ALC_NGATE_DCY_MASK 0xF000 /* ALC_NGATE_DCY - [15:12] */
#define WM8962_ALC_NGATE_DCY_SHIFT 12 /* ALC_NGATE_DCY - [15:12] */
#define WM8962_ALC_NGATE_DCY_WIDTH 4 /* ALC_NGATE_DCY - [15:12] */
#define WM8962_ALC_NGATE_ATK_MASK 0x0F00 /* ALC_NGATE_ATK - [11:8] */
#define WM8962_ALC_NGATE_ATK_SHIFT 8 /* ALC_NGATE_ATK - [11:8] */
#define WM8962_ALC_NGATE_ATK_WIDTH 4 /* ALC_NGATE_ATK - [11:8] */
#define WM8962_ALC_NGATE_THR_MASK 0x00F8 /* ALC_NGATE_THR - [7:3] */
#define WM8962_ALC_NGATE_THR_SHIFT 3 /* ALC_NGATE_THR - [7:3] */
#define WM8962_ALC_NGATE_THR_WIDTH 5 /* ALC_NGATE_THR - [7:3] */
#define WM8962_ALC_NGATE_MODE_MASK 0x0006 /* ALC_NGATE_MODE - [2:1] */
#define WM8962_ALC_NGATE_MODE_SHIFT 1 /* ALC_NGATE_MODE - [2:1] */
#define WM8962_ALC_NGATE_MODE_WIDTH 2 /* ALC_NGATE_MODE - [2:1] */
#define WM8962_ALC_NGATE_ENA 0x0001 /* ALC_NGATE_ENA */
#define WM8962_ALC_NGATE_ENA_MASK 0x0001 /* ALC_NGATE_ENA */
#define WM8962_ALC_NGATE_ENA_SHIFT 0 /* ALC_NGATE_ENA */
#define WM8962_ALC_NGATE_ENA_WIDTH 1 /* ALC_NGATE_ENA */
/*
* R21 (0x15) - Left ADC volume
*/
#define WM8962_ADC_VU 0x0100 /* ADC_VU */
#define WM8962_ADC_VU_MASK 0x0100 /* ADC_VU */
#define WM8962_ADC_VU_SHIFT 8 /* ADC_VU */
#define WM8962_ADC_VU_WIDTH 1 /* ADC_VU */
#define WM8962_ADCL_VOL_MASK 0x00FF /* ADCL_VOL - [7:0] */
#define WM8962_ADCL_VOL_SHIFT 0 /* ADCL_VOL - [7:0] */
#define WM8962_ADCL_VOL_WIDTH 8 /* ADCL_VOL - [7:0] */
/*
* R22 (0x16) - Right ADC volume
*/
#define WM8962_ADC_VU 0x0100 /* ADC_VU */
#define WM8962_ADC_VU_MASK 0x0100 /* ADC_VU */
#define WM8962_ADC_VU_SHIFT 8 /* ADC_VU */
#define WM8962_ADC_VU_WIDTH 1 /* ADC_VU */
#define WM8962_ADCR_VOL_MASK 0x00FF /* ADCR_VOL - [7:0] */
#define WM8962_ADCR_VOL_SHIFT 0 /* ADCR_VOL - [7:0] */
#define WM8962_ADCR_VOL_WIDTH 8 /* ADCR_VOL - [7:0] */
/*
* R23 (0x17) - Additional control(1)
*/
#define WM8962_THERR_ACT 0x0100 /* THERR_ACT */
#define WM8962_THERR_ACT_MASK 0x0100 /* THERR_ACT */
#define WM8962_THERR_ACT_SHIFT 8 /* THERR_ACT */
#define WM8962_THERR_ACT_WIDTH 1 /* THERR_ACT */
#define WM8962_ADC_BIAS 0x0040 /* ADC_BIAS */
#define WM8962_ADC_BIAS_MASK 0x0040 /* ADC_BIAS */
#define WM8962_ADC_BIAS_SHIFT 6 /* ADC_BIAS */
#define WM8962_ADC_BIAS_WIDTH 1 /* ADC_BIAS */
#define WM8962_ADC_HP 0x0020 /* ADC_HP */
#define WM8962_ADC_HP_MASK 0x0020 /* ADC_HP */
#define WM8962_ADC_HP_SHIFT 5 /* ADC_HP */
#define WM8962_ADC_HP_WIDTH 1 /* ADC_HP */
#define WM8962_TOCLK_ENA 0x0001 /* TOCLK_ENA */
#define WM8962_TOCLK_ENA_MASK 0x0001 /* TOCLK_ENA */
#define WM8962_TOCLK_ENA_SHIFT 0 /* TOCLK_ENA */
#define WM8962_TOCLK_ENA_WIDTH 1 /* TOCLK_ENA */
/*
* R24 (0x18) - Additional control(2)
*/
#define WM8962_AIF_TRI 0x0008 /* AIF_TRI */
#define WM8962_AIF_TRI_MASK 0x0008 /* AIF_TRI */
#define WM8962_AIF_TRI_SHIFT 3 /* AIF_TRI */
#define WM8962_AIF_TRI_WIDTH 1 /* AIF_TRI */
/*
* R25 (0x19) - Pwr Mgmt (1)
*/
#define WM8962_DMIC_ENA 0x0400 /* DMIC_ENA */
#define WM8962_DMIC_ENA_MASK 0x0400 /* DMIC_ENA */
#define WM8962_DMIC_ENA_SHIFT 10 /* DMIC_ENA */
#define WM8962_DMIC_ENA_WIDTH 1 /* DMIC_ENA */
#define WM8962_OPCLK_ENA 0x0200 /* OPCLK_ENA */
#define WM8962_OPCLK_ENA_MASK 0x0200 /* OPCLK_ENA */
#define WM8962_OPCLK_ENA_SHIFT 9 /* OPCLK_ENA */
#define WM8962_OPCLK_ENA_WIDTH 1 /* OPCLK_ENA */
#define WM8962_VMID_SEL_MASK 0x0180 /* VMID_SEL - [8:7] */
#define WM8962_VMID_SEL_SHIFT 7 /* VMID_SEL - [8:7] */
#define WM8962_VMID_SEL_WIDTH 2 /* VMID_SEL - [8:7] */
#define WM8962_BIAS_ENA 0x0040 /* BIAS_ENA */
#define WM8962_BIAS_ENA_MASK 0x0040 /* BIAS_ENA */
#define WM8962_BIAS_ENA_SHIFT 6 /* BIAS_ENA */
#define WM8962_BIAS_ENA_WIDTH 1 /* BIAS_ENA */
#define WM8962_INL_ENA 0x0020 /* INL_ENA */
#define WM8962_INL_ENA_MASK 0x0020 /* INL_ENA */
#define WM8962_INL_ENA_SHIFT 5 /* INL_ENA */
#define WM8962_INL_ENA_WIDTH 1 /* INL_ENA */
#define WM8962_INR_ENA 0x0010 /* INR_ENA */
#define WM8962_INR_ENA_MASK 0x0010 /* INR_ENA */
#define WM8962_INR_ENA_SHIFT 4 /* INR_ENA */
#define WM8962_INR_ENA_WIDTH 1 /* INR_ENA */
#define WM8962_ADCL_ENA 0x0008 /* ADCL_ENA */
#define WM8962_ADCL_ENA_MASK 0x0008 /* ADCL_ENA */
#define WM8962_ADCL_ENA_SHIFT 3 /* ADCL_ENA */
#define WM8962_ADCL_ENA_WIDTH 1 /* ADCL_ENA */
#define WM8962_ADCR_ENA 0x0004 /* ADCR_ENA */
#define WM8962_ADCR_ENA_MASK 0x0004 /* ADCR_ENA */
#define WM8962_ADCR_ENA_SHIFT 2 /* ADCR_ENA */
#define WM8962_ADCR_ENA_WIDTH 1 /* ADCR_ENA */
#define WM8962_MICBIAS_ENA 0x0002 /* MICBIAS_ENA */
#define WM8962_MICBIAS_ENA_MASK 0x0002 /* MICBIAS_ENA */
#define WM8962_MICBIAS_ENA_SHIFT 1 /* MICBIAS_ENA */
#define WM8962_MICBIAS_ENA_WIDTH 1 /* MICBIAS_ENA */
/*
* R26 (0x1A) - Pwr Mgmt (2)
*/
#define WM8962_DACL_ENA 0x0100 /* DACL_ENA */
#define WM8962_DACL_ENA_MASK 0x0100 /* DACL_ENA */
#define WM8962_DACL_ENA_SHIFT 8 /* DACL_ENA */
#define WM8962_DACL_ENA_WIDTH 1 /* DACL_ENA */
#define WM8962_DACR_ENA 0x0080 /* DACR_ENA */
#define WM8962_DACR_ENA_MASK 0x0080 /* DACR_ENA */
#define WM8962_DACR_ENA_SHIFT 7 /* DACR_ENA */
#define WM8962_DACR_ENA_WIDTH 1 /* DACR_ENA */
#define WM8962_HPOUTL_PGA_ENA 0x0040 /* HPOUTL_PGA_ENA */
#define WM8962_HPOUTL_PGA_ENA_MASK 0x0040 /* HPOUTL_PGA_ENA */
#define WM8962_HPOUTL_PGA_ENA_SHIFT 6 /* HPOUTL_PGA_ENA */
#define WM8962_HPOUTL_PGA_ENA_WIDTH 1 /* HPOUTL_PGA_ENA */
#define WM8962_HPOUTR_PGA_ENA 0x0020 /* HPOUTR_PGA_ENA */
#define WM8962_HPOUTR_PGA_ENA_MASK 0x0020 /* HPOUTR_PGA_ENA */
#define WM8962_HPOUTR_PGA_ENA_SHIFT 5 /* HPOUTR_PGA_ENA */
#define WM8962_HPOUTR_PGA_ENA_WIDTH 1 /* HPOUTR_PGA_ENA */
#define WM8962_SPKOUTL_PGA_ENA 0x0010 /* SPKOUTL_PGA_ENA */
#define WM8962_SPKOUTL_PGA_ENA_MASK 0x0010 /* SPKOUTL_PGA_ENA */
#define WM8962_SPKOUTL_PGA_ENA_SHIFT 4 /* SPKOUTL_PGA_ENA */
#define WM8962_SPKOUTL_PGA_ENA_WIDTH 1 /* SPKOUTL_PGA_ENA */
#define WM8962_SPKOUTR_PGA_ENA 0x0008 /* SPKOUTR_PGA_ENA */
#define WM8962_SPKOUTR_PGA_ENA_MASK 0x0008 /* SPKOUTR_PGA_ENA */
#define WM8962_SPKOUTR_PGA_ENA_SHIFT 3 /* SPKOUTR_PGA_ENA */
#define WM8962_SPKOUTR_PGA_ENA_WIDTH 1 /* SPKOUTR_PGA_ENA */
#define WM8962_HPOUTL_PGA_MUTE 0x0002 /* HPOUTL_PGA_MUTE */
#define WM8962_HPOUTL_PGA_MUTE_MASK 0x0002 /* HPOUTL_PGA_MUTE */
#define WM8962_HPOUTL_PGA_MUTE_SHIFT 1 /* HPOUTL_PGA_MUTE */
#define WM8962_HPOUTL_PGA_MUTE_WIDTH 1 /* HPOUTL_PGA_MUTE */
#define WM8962_HPOUTR_PGA_MUTE 0x0001 /* HPOUTR_PGA_MUTE */
#define WM8962_HPOUTR_PGA_MUTE_MASK 0x0001 /* HPOUTR_PGA_MUTE */
#define WM8962_HPOUTR_PGA_MUTE_SHIFT 0 /* HPOUTR_PGA_MUTE */
#define WM8962_HPOUTR_PGA_MUTE_WIDTH 1 /* HPOUTR_PGA_MUTE */
/*
* R27 (0x1B) - Additional Control (3)
*/
#define WM8962_SAMPLE_RATE_INT_MODE 0x0010 /* SAMPLE_RATE_INT_MODE */
#define WM8962_SAMPLE_RATE_INT_MODE_MASK 0x0010 /* SAMPLE_RATE_INT_MODE */
#define WM8962_SAMPLE_RATE_INT_MODE_SHIFT 4 /* SAMPLE_RATE_INT_MODE */
#define WM8962_SAMPLE_RATE_INT_MODE_WIDTH 1 /* SAMPLE_RATE_INT_MODE */
#define WM8962_SAMPLE_RATE_MASK 0x0007 /* SAMPLE_RATE - [2:0] */
#define WM8962_SAMPLE_RATE_SHIFT 0 /* SAMPLE_RATE - [2:0] */
#define WM8962_SAMPLE_RATE_WIDTH 3 /* SAMPLE_RATE - [2:0] */
/*
* R28 (0x1C) - Anti-pop
*/
#define WM8962_STARTUP_BIAS_ENA 0x0010 /* STARTUP_BIAS_ENA */
#define WM8962_STARTUP_BIAS_ENA_MASK 0x0010 /* STARTUP_BIAS_ENA */
#define WM8962_STARTUP_BIAS_ENA_SHIFT 4 /* STARTUP_BIAS_ENA */
#define WM8962_STARTUP_BIAS_ENA_WIDTH 1 /* STARTUP_BIAS_ENA */
#define WM8962_VMID_BUF_ENA 0x0008 /* VMID_BUF_ENA */
#define WM8962_VMID_BUF_ENA_MASK 0x0008 /* VMID_BUF_ENA */
#define WM8962_VMID_BUF_ENA_SHIFT 3 /* VMID_BUF_ENA */
#define WM8962_VMID_BUF_ENA_WIDTH 1 /* VMID_BUF_ENA */
#define WM8962_VMID_RAMP 0x0004 /* VMID_RAMP */
#define WM8962_VMID_RAMP_MASK 0x0004 /* VMID_RAMP */
#define WM8962_VMID_RAMP_SHIFT 2 /* VMID_RAMP */
#define WM8962_VMID_RAMP_WIDTH 1 /* VMID_RAMP */
/*
* R30 (0x1E) - Clocking 3
*/
#define WM8962_DBCLK_DIV_MASK 0xE000 /* DBCLK_DIV - [15:13] */
#define WM8962_DBCLK_DIV_SHIFT 13 /* DBCLK_DIV - [15:13] */
#define WM8962_DBCLK_DIV_WIDTH 3 /* DBCLK_DIV - [15:13] */
#define WM8962_OPCLK_DIV_MASK 0x1C00 /* OPCLK_DIV - [12:10] */
#define WM8962_OPCLK_DIV_SHIFT 10 /* OPCLK_DIV - [12:10] */
#define WM8962_OPCLK_DIV_WIDTH 3 /* OPCLK_DIV - [12:10] */
#define WM8962_TOCLK_DIV_MASK 0x0380 /* TOCLK_DIV - [9:7] */
#define WM8962_TOCLK_DIV_SHIFT 7 /* TOCLK_DIV - [9:7] */
#define WM8962_TOCLK_DIV_WIDTH 3 /* TOCLK_DIV - [9:7] */
#define WM8962_F256KCLK_DIV_MASK 0x007E /* F256KCLK_DIV - [6:1] */
#define WM8962_F256KCLK_DIV_SHIFT 1 /* F256KCLK_DIV - [6:1] */
#define WM8962_F256KCLK_DIV_WIDTH 6 /* F256KCLK_DIV - [6:1] */
/*
* R31 (0x1F) - Input mixer control (1)
*/
#define WM8962_MIXINL_MUTE 0x0008 /* MIXINL_MUTE */
#define WM8962_MIXINL_MUTE_MASK 0x0008 /* MIXINL_MUTE */
#define WM8962_MIXINL_MUTE_SHIFT 3 /* MIXINL_MUTE */
#define WM8962_MIXINL_MUTE_WIDTH 1 /* MIXINL_MUTE */
#define WM8962_MIXINR_MUTE 0x0004 /* MIXINR_MUTE */
#define WM8962_MIXINR_MUTE_MASK 0x0004 /* MIXINR_MUTE */
#define WM8962_MIXINR_MUTE_SHIFT 2 /* MIXINR_MUTE */
#define WM8962_MIXINR_MUTE_WIDTH 1 /* MIXINR_MUTE */
#define WM8962_MIXINL_ENA 0x0002 /* MIXINL_ENA */
#define WM8962_MIXINL_ENA_MASK 0x0002 /* MIXINL_ENA */
#define WM8962_MIXINL_ENA_SHIFT 1 /* MIXINL_ENA */
#define WM8962_MIXINL_ENA_WIDTH 1 /* MIXINL_ENA */
#define WM8962_MIXINR_ENA 0x0001 /* MIXINR_ENA */
#define WM8962_MIXINR_ENA_MASK 0x0001 /* MIXINR_ENA */
#define WM8962_MIXINR_ENA_SHIFT 0 /* MIXINR_ENA */
#define WM8962_MIXINR_ENA_WIDTH 1 /* MIXINR_ENA */
/*
* R32 (0x20) - Left input mixer volume
*/
#define WM8962_IN2L_MIXINL_VOL_MASK 0x01C0 /* IN2L_MIXINL_VOL - [8:6] */
#define WM8962_IN2L_MIXINL_VOL_SHIFT 6 /* IN2L_MIXINL_VOL - [8:6] */
#define WM8962_IN2L_MIXINL_VOL_WIDTH 3 /* IN2L_MIXINL_VOL - [8:6] */
#define WM8962_INPGAL_MIXINL_VOL_MASK 0x0038 /* INPGAL_MIXINL_VOL - [5:3] */
#define WM8962_INPGAL_MIXINL_VOL_SHIFT 3 /* INPGAL_MIXINL_VOL - [5:3] */
#define WM8962_INPGAL_MIXINL_VOL_WIDTH 3 /* INPGAL_MIXINL_VOL - [5:3] */
#define WM8962_IN3L_MIXINL_VOL_MASK 0x0007 /* IN3L_MIXINL_VOL - [2:0] */
#define WM8962_IN3L_MIXINL_VOL_SHIFT 0 /* IN3L_MIXINL_VOL - [2:0] */
#define WM8962_IN3L_MIXINL_VOL_WIDTH 3 /* IN3L_MIXINL_VOL - [2:0] */
/*
* R33 (0x21) - Right input mixer volume
*/
#define WM8962_IN2R_MIXINR_VOL_MASK 0x01C0 /* IN2R_MIXINR_VOL - [8:6] */
#define WM8962_IN2R_MIXINR_VOL_SHIFT 6 /* IN2R_MIXINR_VOL - [8:6] */
#define WM8962_IN2R_MIXINR_VOL_WIDTH 3 /* IN2R_MIXINR_VOL - [8:6] */
#define WM8962_INPGAR_MIXINR_VOL_MASK 0x0038 /* INPGAR_MIXINR_VOL - [5:3] */
#define WM8962_INPGAR_MIXINR_VOL_SHIFT 3 /* INPGAR_MIXINR_VOL - [5:3] */
#define WM8962_INPGAR_MIXINR_VOL_WIDTH 3 /* INPGAR_MIXINR_VOL - [5:3] */
#define WM8962_IN3R_MIXINR_VOL_MASK 0x0007 /* IN3R_MIXINR_VOL - [2:0] */
#define WM8962_IN3R_MIXINR_VOL_SHIFT 0 /* IN3R_MIXINR_VOL - [2:0] */
#define WM8962_IN3R_MIXINR_VOL_WIDTH 3 /* IN3R_MIXINR_VOL - [2:0] */
/*
* R34 (0x22) - Input mixer control (2)
*/
#define WM8962_IN2L_TO_MIXINL 0x0020 /* IN2L_TO_MIXINL */
#define WM8962_IN2L_TO_MIXINL_MASK 0x0020 /* IN2L_TO_MIXINL */
#define WM8962_IN2L_TO_MIXINL_SHIFT 5 /* IN2L_TO_MIXINL */
#define WM8962_IN2L_TO_MIXINL_WIDTH 1 /* IN2L_TO_MIXINL */
#define WM8962_IN3L_TO_MIXINL 0x0010 /* IN3L_TO_MIXINL */
#define WM8962_IN3L_TO_MIXINL_MASK 0x0010 /* IN3L_TO_MIXINL */
#define WM8962_IN3L_TO_MIXINL_SHIFT 4 /* IN3L_TO_MIXINL */
#define WM8962_IN3L_TO_MIXINL_WIDTH 1 /* IN3L_TO_MIXINL */
#define WM8962_INPGAL_TO_MIXINL 0x0008 /* INPGAL_TO_MIXINL */
#define WM8962_INPGAL_TO_MIXINL_MASK 0x0008 /* INPGAL_TO_MIXINL */
#define WM8962_INPGAL_TO_MIXINL_SHIFT 3 /* INPGAL_TO_MIXINL */
#define WM8962_INPGAL_TO_MIXINL_WIDTH 1 /* INPGAL_TO_MIXINL */
#define WM8962_IN2R_TO_MIXINR 0x0004 /* IN2R_TO_MIXINR */
#define WM8962_IN2R_TO_MIXINR_MASK 0x0004 /* IN2R_TO_MIXINR */
#define WM8962_IN2R_TO_MIXINR_SHIFT 2 /* IN2R_TO_MIXINR */
#define WM8962_IN2R_TO_MIXINR_WIDTH 1 /* IN2R_TO_MIXINR */
#define WM8962_IN3R_TO_MIXINR 0x0002 /* IN3R_TO_MIXINR */
#define WM8962_IN3R_TO_MIXINR_MASK 0x0002 /* IN3R_TO_MIXINR */
#define WM8962_IN3R_TO_MIXINR_SHIFT 1 /* IN3R_TO_MIXINR */
#define WM8962_IN3R_TO_MIXINR_WIDTH 1 /* IN3R_TO_MIXINR */
#define WM8962_INPGAR_TO_MIXINR 0x0001 /* INPGAR_TO_MIXINR */
#define WM8962_INPGAR_TO_MIXINR_MASK 0x0001 /* INPGAR_TO_MIXINR */
#define WM8962_INPGAR_TO_MIXINR_SHIFT 0 /* INPGAR_TO_MIXINR */
#define WM8962_INPGAR_TO_MIXINR_WIDTH 1 /* INPGAR_TO_MIXINR */
/*
* R35 (0x23) - Input bias control
*/
#define WM8962_MIXIN_BIAS_MASK 0x0038 /* MIXIN_BIAS - [5:3] */
#define WM8962_MIXIN_BIAS_SHIFT 3 /* MIXIN_BIAS - [5:3] */
#define WM8962_MIXIN_BIAS_WIDTH 3 /* MIXIN_BIAS - [5:3] */
#define WM8962_INPGA_BIAS_MASK 0x0007 /* INPGA_BIAS - [2:0] */
#define WM8962_INPGA_BIAS_SHIFT 0 /* INPGA_BIAS - [2:0] */
#define WM8962_INPGA_BIAS_WIDTH 3 /* INPGA_BIAS - [2:0] */
/*
* R37 (0x25) - Left input PGA control
*/
#define WM8962_INPGAL_ENA 0x0010 /* INPGAL_ENA */
#define WM8962_INPGAL_ENA_MASK 0x0010 /* INPGAL_ENA */
#define WM8962_INPGAL_ENA_SHIFT 4 /* INPGAL_ENA */
#define WM8962_INPGAL_ENA_WIDTH 1 /* INPGAL_ENA */
#define WM8962_IN1L_TO_INPGAL 0x0008 /* IN1L_TO_INPGAL */
#define WM8962_IN1L_TO_INPGAL_MASK 0x0008 /* IN1L_TO_INPGAL */
#define WM8962_IN1L_TO_INPGAL_SHIFT 3 /* IN1L_TO_INPGAL */
#define WM8962_IN1L_TO_INPGAL_WIDTH 1 /* IN1L_TO_INPGAL */
#define WM8962_IN2L_TO_INPGAL 0x0004 /* IN2L_TO_INPGAL */
#define WM8962_IN2L_TO_INPGAL_MASK 0x0004 /* IN2L_TO_INPGAL */
#define WM8962_IN2L_TO_INPGAL_SHIFT 2 /* IN2L_TO_INPGAL */
#define WM8962_IN2L_TO_INPGAL_WIDTH 1 /* IN2L_TO_INPGAL */
#define WM8962_IN3L_TO_INPGAL 0x0002 /* IN3L_TO_INPGAL */
#define WM8962_IN3L_TO_INPGAL_MASK 0x0002 /* IN3L_TO_INPGAL */
#define WM8962_IN3L_TO_INPGAL_SHIFT 1 /* IN3L_TO_INPGAL */
#define WM8962_IN3L_TO_INPGAL_WIDTH 1 /* IN3L_TO_INPGAL */
#define WM8962_IN4L_TO_INPGAL 0x0001 /* IN4L_TO_INPGAL */
#define WM8962_IN4L_TO_INPGAL_MASK 0x0001 /* IN4L_TO_INPGAL */
#define WM8962_IN4L_TO_INPGAL_SHIFT 0 /* IN4L_TO_INPGAL */
#define WM8962_IN4L_TO_INPGAL_WIDTH 1 /* IN4L_TO_INPGAL */
/*
* R38 (0x26) - Right input PGA control
*/
#define WM8962_INPGAR_ENA 0x0010 /* INPGAR_ENA */
#define WM8962_INPGAR_ENA_MASK 0x0010 /* INPGAR_ENA */
#define WM8962_INPGAR_ENA_SHIFT 4 /* INPGAR_ENA */
#define WM8962_INPGAR_ENA_WIDTH 1 /* INPGAR_ENA */
#define WM8962_IN1R_TO_INPGAR 0x0008 /* IN1R_TO_INPGAR */
#define WM8962_IN1R_TO_INPGAR_MASK 0x0008 /* IN1R_TO_INPGAR */
#define WM8962_IN1R_TO_INPGAR_SHIFT 3 /* IN1R_TO_INPGAR */
#define WM8962_IN1R_TO_INPGAR_WIDTH 1 /* IN1R_TO_INPGAR */
#define WM8962_IN2R_TO_INPGAR 0x0004 /* IN2R_TO_INPGAR */
#define WM8962_IN2R_TO_INPGAR_MASK 0x0004 /* IN2R_TO_INPGAR */
#define WM8962_IN2R_TO_INPGAR_SHIFT 2 /* IN2R_TO_INPGAR */
#define WM8962_IN2R_TO_INPGAR_WIDTH 1 /* IN2R_TO_INPGAR */
#define WM8962_IN3R_TO_INPGAR 0x0002 /* IN3R_TO_INPGAR */
#define WM8962_IN3R_TO_INPGAR_MASK 0x0002 /* IN3R_TO_INPGAR */
#define WM8962_IN3R_TO_INPGAR_SHIFT 1 /* IN3R_TO_INPGAR */
#define WM8962_IN3R_TO_INPGAR_WIDTH 1 /* IN3R_TO_INPGAR */
#define WM8962_IN4R_TO_INPGAR 0x0001 /* IN4R_TO_INPGAR */
#define WM8962_IN4R_TO_INPGAR_MASK 0x0001 /* IN4R_TO_INPGAR */
#define WM8962_IN4R_TO_INPGAR_SHIFT 0 /* IN4R_TO_INPGAR */
#define WM8962_IN4R_TO_INPGAR_WIDTH 1 /* IN4R_TO_INPGAR */
/*
* R40 (0x28) - SPKOUTL volume
*/
#define WM8962_SPKOUT_VU 0x0100 /* SPKOUT_VU */
#define WM8962_SPKOUT_VU_MASK 0x0100 /* SPKOUT_VU */
#define WM8962_SPKOUT_VU_SHIFT 8 /* SPKOUT_VU */
#define WM8962_SPKOUT_VU_WIDTH 1 /* SPKOUT_VU */
#define WM8962_SPKOUTL_ZC 0x0080 /* SPKOUTL_ZC */
#define WM8962_SPKOUTL_ZC_MASK 0x0080 /* SPKOUTL_ZC */
#define WM8962_SPKOUTL_ZC_SHIFT 7 /* SPKOUTL_ZC */
#define WM8962_SPKOUTL_ZC_WIDTH 1 /* SPKOUTL_ZC */
#define WM8962_SPKOUTL_VOL_MASK 0x007F /* SPKOUTL_VOL - [6:0] */
#define WM8962_SPKOUTL_VOL_SHIFT 0 /* SPKOUTL_VOL - [6:0] */
#define WM8962_SPKOUTL_VOL_WIDTH 7 /* SPKOUTL_VOL - [6:0] */
/*
* R41 (0x29) - SPKOUTR volume
*/
#define WM8962_SPKOUTR_ZC 0x0080 /* SPKOUTR_ZC */
#define WM8962_SPKOUTR_ZC_MASK 0x0080 /* SPKOUTR_ZC */
#define WM8962_SPKOUTR_ZC_SHIFT 7 /* SPKOUTR_ZC */
#define WM8962_SPKOUTR_ZC_WIDTH 1 /* SPKOUTR_ZC */
#define WM8962_SPKOUTR_VOL_MASK 0x007F /* SPKOUTR_VOL - [6:0] */
#define WM8962_SPKOUTR_VOL_SHIFT 0 /* SPKOUTR_VOL - [6:0] */
#define WM8962_SPKOUTR_VOL_WIDTH 7 /* SPKOUTR_VOL - [6:0] */
/*
* R47 (0x2F) - Thermal Shutdown Status
*/
#define WM8962_TEMP_ERR_HP 0x0008 /* TEMP_ERR_HP */
#define WM8962_TEMP_ERR_HP_MASK 0x0008 /* TEMP_ERR_HP */
#define WM8962_TEMP_ERR_HP_SHIFT 3 /* TEMP_ERR_HP */
#define WM8962_TEMP_ERR_HP_WIDTH 1 /* TEMP_ERR_HP */
#define WM8962_TEMP_WARN_HP 0x0004 /* TEMP_WARN_HP */
#define WM8962_TEMP_WARN_HP_MASK 0x0004 /* TEMP_WARN_HP */
#define WM8962_TEMP_WARN_HP_SHIFT 2 /* TEMP_WARN_HP */
#define WM8962_TEMP_WARN_HP_WIDTH 1 /* TEMP_WARN_HP */
#define WM8962_TEMP_ERR_SPK 0x0002 /* TEMP_ERR_SPK */
#define WM8962_TEMP_ERR_SPK_MASK 0x0002 /* TEMP_ERR_SPK */
#define WM8962_TEMP_ERR_SPK_SHIFT 1 /* TEMP_ERR_SPK */
#define WM8962_TEMP_ERR_SPK_WIDTH 1 /* TEMP_ERR_SPK */
#define WM8962_TEMP_WARN_SPK 0x0001 /* TEMP_WARN_SPK */
#define WM8962_TEMP_WARN_SPK_MASK 0x0001 /* TEMP_WARN_SPK */
#define WM8962_TEMP_WARN_SPK_SHIFT 0 /* TEMP_WARN_SPK */
#define WM8962_TEMP_WARN_SPK_WIDTH 1 /* TEMP_WARN_SPK */
/*
* R48 (0x30) - Additional Control (4)
*/
#define WM8962_MICDET_THR_MASK 0x7000 /* MICDET_THR - [14:12] */
#define WM8962_MICDET_THR_SHIFT 12 /* MICDET_THR - [14:12] */
#define WM8962_MICDET_THR_WIDTH 3 /* MICDET_THR - [14:12] */
#define WM8962_MICSHORT_THR_MASK 0x0C00 /* MICSHORT_THR - [11:10] */
#define WM8962_MICSHORT_THR_SHIFT 10 /* MICSHORT_THR - [11:10] */
#define WM8962_MICSHORT_THR_WIDTH 2 /* MICSHORT_THR - [11:10] */
#define WM8962_MICDET_ENA 0x0200 /* MICDET_ENA */
#define WM8962_MICDET_ENA_MASK 0x0200 /* MICDET_ENA */
#define WM8962_MICDET_ENA_SHIFT 9 /* MICDET_ENA */
#define WM8962_MICDET_ENA_WIDTH 1 /* MICDET_ENA */
#define WM8962_MICDET_STS 0x0080 /* MICDET_STS */
#define WM8962_MICDET_STS_MASK 0x0080 /* MICDET_STS */
#define WM8962_MICDET_STS_SHIFT 7 /* MICDET_STS */
#define WM8962_MICDET_STS_WIDTH 1 /* MICDET_STS */
#define WM8962_MICSHORT_STS 0x0040 /* MICSHORT_STS */
#define WM8962_MICSHORT_STS_MASK 0x0040 /* MICSHORT_STS */
#define WM8962_MICSHORT_STS_SHIFT 6 /* MICSHORT_STS */
#define WM8962_MICSHORT_STS_WIDTH 1 /* MICSHORT_STS */
#define WM8962_TEMP_ENA_HP 0x0004 /* TEMP_ENA_HP */
#define WM8962_TEMP_ENA_HP_MASK 0x0004 /* TEMP_ENA_HP */
#define WM8962_TEMP_ENA_HP_SHIFT 2 /* TEMP_ENA_HP */
#define WM8962_TEMP_ENA_HP_WIDTH 1 /* TEMP_ENA_HP */
#define WM8962_TEMP_ENA_SPK 0x0002 /* TEMP_ENA_SPK */
#define WM8962_TEMP_ENA_SPK_MASK 0x0002 /* TEMP_ENA_SPK */
#define WM8962_TEMP_ENA_SPK_SHIFT 1 /* TEMP_ENA_SPK */
#define WM8962_TEMP_ENA_SPK_WIDTH 1 /* TEMP_ENA_SPK */
#define WM8962_MICBIAS_LVL 0x0001 /* MICBIAS_LVL */
#define WM8962_MICBIAS_LVL_MASK 0x0001 /* MICBIAS_LVL */
#define WM8962_MICBIAS_LVL_SHIFT 0 /* MICBIAS_LVL */
#define WM8962_MICBIAS_LVL_WIDTH 1 /* MICBIAS_LVL */
/*
* R49 (0x31) - Class D Control 1
*/
#define WM8962_SPKOUTR_ENA 0x0080 /* SPKOUTR_ENA */
#define WM8962_SPKOUTR_ENA_MASK 0x0080 /* SPKOUTR_ENA */
#define WM8962_SPKOUTR_ENA_SHIFT 7 /* SPKOUTR_ENA */
#define WM8962_SPKOUTR_ENA_WIDTH 1 /* SPKOUTR_ENA */
#define WM8962_SPKOUTL_ENA 0x0040 /* SPKOUTL_ENA */
#define WM8962_SPKOUTL_ENA_MASK 0x0040 /* SPKOUTL_ENA */
#define WM8962_SPKOUTL_ENA_SHIFT 6 /* SPKOUTL_ENA */
#define WM8962_SPKOUTL_ENA_WIDTH 1 /* SPKOUTL_ENA */
#define WM8962_DAC_MUTE_ALT 0x0010 /* DAC_MUTE */
#define WM8962_DAC_MUTE_ALT_MASK 0x0010 /* DAC_MUTE */
#define WM8962_DAC_MUTE_ALT_SHIFT 4 /* DAC_MUTE */
#define WM8962_DAC_MUTE_ALT_WIDTH 1 /* DAC_MUTE */
#define WM8962_SPKOUTL_PGA_MUTE 0x0002 /* SPKOUTL_PGA_MUTE */
#define WM8962_SPKOUTL_PGA_MUTE_MASK 0x0002 /* SPKOUTL_PGA_MUTE */
#define WM8962_SPKOUTL_PGA_MUTE_SHIFT 1 /* SPKOUTL_PGA_MUTE */
#define WM8962_SPKOUTL_PGA_MUTE_WIDTH 1 /* SPKOUTL_PGA_MUTE */
#define WM8962_SPKOUTR_PGA_MUTE 0x0001 /* SPKOUTR_PGA_MUTE */
#define WM8962_SPKOUTR_PGA_MUTE_MASK 0x0001 /* SPKOUTR_PGA_MUTE */
#define WM8962_SPKOUTR_PGA_MUTE_SHIFT 0 /* SPKOUTR_PGA_MUTE */
#define WM8962_SPKOUTR_PGA_MUTE_WIDTH 1 /* SPKOUTR_PGA_MUTE */
/*
* R51 (0x33) - Class D Control 2
*/
#define WM8962_SPK_MONO 0x0040 /* SPK_MONO */
#define WM8962_SPK_MONO_MASK 0x0040 /* SPK_MONO */
#define WM8962_SPK_MONO_SHIFT 6 /* SPK_MONO */
#define WM8962_SPK_MONO_WIDTH 1 /* SPK_MONO */
#define WM8962_CLASSD_VOL_MASK 0x0007 /* CLASSD_VOL - [2:0] */
#define WM8962_CLASSD_VOL_SHIFT 0 /* CLASSD_VOL - [2:0] */
#define WM8962_CLASSD_VOL_WIDTH 3 /* CLASSD_VOL - [2:0] */
/*
* R56 (0x38) - Clocking 4
*/
#define WM8962_SYSCLK_RATE_MASK 0x001E /* SYSCLK_RATE - [4:1] */
#define WM8962_SYSCLK_RATE_SHIFT 1 /* SYSCLK_RATE - [4:1] */
#define WM8962_SYSCLK_RATE_WIDTH 4 /* SYSCLK_RATE - [4:1] */
/*
* R57 (0x39) - DAC DSP Mixing (1)
*/
#define WM8962_DAC_MONOMIX 0x0200 /* DAC_MONOMIX */
#define WM8962_DAC_MONOMIX_MASK 0x0200 /* DAC_MONOMIX */
#define WM8962_DAC_MONOMIX_SHIFT 9 /* DAC_MONOMIX */
#define WM8962_DAC_MONOMIX_WIDTH 1 /* DAC_MONOMIX */
#define WM8962_ADCR_DAC_SVOL_MASK 0x00F0 /* ADCR_DAC_SVOL - [7:4] */
#define WM8962_ADCR_DAC_SVOL_SHIFT 4 /* ADCR_DAC_SVOL - [7:4] */
#define WM8962_ADCR_DAC_SVOL_WIDTH 4 /* ADCR_DAC_SVOL - [7:4] */
#define WM8962_ADC_TO_DACR_MASK 0x000C /* ADC_TO_DACR - [3:2] */
#define WM8962_ADC_TO_DACR_SHIFT 2 /* ADC_TO_DACR - [3:2] */
#define WM8962_ADC_TO_DACR_WIDTH 2 /* ADC_TO_DACR - [3:2] */
/*
* R58 (0x3A) - DAC DSP Mixing (2)
*/
#define WM8962_ADCL_DAC_SVOL_MASK 0x00F0 /* ADCL_DAC_SVOL - [7:4] */
#define WM8962_ADCL_DAC_SVOL_SHIFT 4 /* ADCL_DAC_SVOL - [7:4] */
#define WM8962_ADCL_DAC_SVOL_WIDTH 4 /* ADCL_DAC_SVOL - [7:4] */
#define WM8962_ADC_TO_DACL_MASK 0x000C /* ADC_TO_DACL - [3:2] */
#define WM8962_ADC_TO_DACL_SHIFT 2 /* ADC_TO_DACL - [3:2] */
#define WM8962_ADC_TO_DACL_WIDTH 2 /* ADC_TO_DACL - [3:2] */
/*
* R60 (0x3C) - DC Servo 0
*/
#define WM8962_INL_DCS_ENA 0x0080 /* INL_DCS_ENA */
#define WM8962_INL_DCS_ENA_MASK 0x0080 /* INL_DCS_ENA */
#define WM8962_INL_DCS_ENA_SHIFT 7 /* INL_DCS_ENA */
#define WM8962_INL_DCS_ENA_WIDTH 1 /* INL_DCS_ENA */
#define WM8962_INL_DCS_STARTUP 0x0040 /* INL_DCS_STARTUP */
#define WM8962_INL_DCS_STARTUP_MASK 0x0040 /* INL_DCS_STARTUP */
#define WM8962_INL_DCS_STARTUP_SHIFT 6 /* INL_DCS_STARTUP */
#define WM8962_INL_DCS_STARTUP_WIDTH 1 /* INL_DCS_STARTUP */
#define WM8962_INR_DCS_ENA 0x0008 /* INR_DCS_ENA */
#define WM8962_INR_DCS_ENA_MASK 0x0008 /* INR_DCS_ENA */
#define WM8962_INR_DCS_ENA_SHIFT 3 /* INR_DCS_ENA */
#define WM8962_INR_DCS_ENA_WIDTH 1 /* INR_DCS_ENA */
#define WM8962_INR_DCS_STARTUP 0x0004 /* INR_DCS_STARTUP */
#define WM8962_INR_DCS_STARTUP_MASK 0x0004 /* INR_DCS_STARTUP */
#define WM8962_INR_DCS_STARTUP_SHIFT 2 /* INR_DCS_STARTUP */
#define WM8962_INR_DCS_STARTUP_WIDTH 1 /* INR_DCS_STARTUP */
/*
* R61 (0x3D) - DC Servo 1
*/
#define WM8962_HP1L_DCS_ENA 0x0080 /* HP1L_DCS_ENA */
#define WM8962_HP1L_DCS_ENA_MASK 0x0080 /* HP1L_DCS_ENA */
#define WM8962_HP1L_DCS_ENA_SHIFT 7 /* HP1L_DCS_ENA */
#define WM8962_HP1L_DCS_ENA_WIDTH 1 /* HP1L_DCS_ENA */
#define WM8962_HP1L_DCS_STARTUP 0x0040 /* HP1L_DCS_STARTUP */
#define WM8962_HP1L_DCS_STARTUP_MASK 0x0040 /* HP1L_DCS_STARTUP */
#define WM8962_HP1L_DCS_STARTUP_SHIFT 6 /* HP1L_DCS_STARTUP */
#define WM8962_HP1L_DCS_STARTUP_WIDTH 1 /* HP1L_DCS_STARTUP */
#define WM8962_HP1L_DCS_SYNC 0x0010 /* HP1L_DCS_SYNC */
#define WM8962_HP1L_DCS_SYNC_MASK 0x0010 /* HP1L_DCS_SYNC */
#define WM8962_HP1L_DCS_SYNC_SHIFT 4 /* HP1L_DCS_SYNC */
#define WM8962_HP1L_DCS_SYNC_WIDTH 1 /* HP1L_DCS_SYNC */
#define WM8962_HP1R_DCS_ENA 0x0008 /* HP1R_DCS_ENA */
#define WM8962_HP1R_DCS_ENA_MASK 0x0008 /* HP1R_DCS_ENA */
#define WM8962_HP1R_DCS_ENA_SHIFT 3 /* HP1R_DCS_ENA */
#define WM8962_HP1R_DCS_ENA_WIDTH 1 /* HP1R_DCS_ENA */
#define WM8962_HP1R_DCS_STARTUP 0x0004 /* HP1R_DCS_STARTUP */
#define WM8962_HP1R_DCS_STARTUP_MASK 0x0004 /* HP1R_DCS_STARTUP */
#define WM8962_HP1R_DCS_STARTUP_SHIFT 2 /* HP1R_DCS_STARTUP */
#define WM8962_HP1R_DCS_STARTUP_WIDTH 1 /* HP1R_DCS_STARTUP */
#define WM8962_HP1R_DCS_SYNC 0x0001 /* HP1R_DCS_SYNC */
#define WM8962_HP1R_DCS_SYNC_MASK 0x0001 /* HP1R_DCS_SYNC */
#define WM8962_HP1R_DCS_SYNC_SHIFT 0 /* HP1R_DCS_SYNC */
#define WM8962_HP1R_DCS_SYNC_WIDTH 1 /* HP1R_DCS_SYNC */
/*
* R64 (0x40) - DC Servo 4
*/
#define WM8962_HP1_DCS_SYNC_STEPS_MASK 0x3F80 /* HP1_DCS_SYNC_STEPS - [13:7] */
#define WM8962_HP1_DCS_SYNC_STEPS_SHIFT 7 /* HP1_DCS_SYNC_STEPS - [13:7] */
#define WM8962_HP1_DCS_SYNC_STEPS_WIDTH 7 /* HP1_DCS_SYNC_STEPS - [13:7] */
/*
* R66 (0x42) - DC Servo 6
*/
#define WM8962_DCS_STARTUP_DONE_INL 0x0400 /* DCS_STARTUP_DONE_INL */
#define WM8962_DCS_STARTUP_DONE_INL_MASK 0x0400 /* DCS_STARTUP_DONE_INL */
#define WM8962_DCS_STARTUP_DONE_INL_SHIFT 10 /* DCS_STARTUP_DONE_INL */
#define WM8962_DCS_STARTUP_DONE_INL_WIDTH 1 /* DCS_STARTUP_DONE_INL */
#define WM8962_DCS_STARTUP_DONE_INR 0x0200 /* DCS_STARTUP_DONE_INR */
#define WM8962_DCS_STARTUP_DONE_INR_MASK 0x0200 /* DCS_STARTUP_DONE_INR */
#define WM8962_DCS_STARTUP_DONE_INR_SHIFT 9 /* DCS_STARTUP_DONE_INR */
#define WM8962_DCS_STARTUP_DONE_INR_WIDTH 1 /* DCS_STARTUP_DONE_INR */
#define WM8962_DCS_STARTUP_DONE_HP1L 0x0100 /* DCS_STARTUP_DONE_HP1L */
#define WM8962_DCS_STARTUP_DONE_HP1L_MASK 0x0100 /* DCS_STARTUP_DONE_HP1L */
#define WM8962_DCS_STARTUP_DONE_HP1L_SHIFT 8 /* DCS_STARTUP_DONE_HP1L */
#define WM8962_DCS_STARTUP_DONE_HP1L_WIDTH 1 /* DCS_STARTUP_DONE_HP1L */
#define WM8962_DCS_STARTUP_DONE_HP1R 0x0080 /* DCS_STARTUP_DONE_HP1R */
#define WM8962_DCS_STARTUP_DONE_HP1R_MASK 0x0080 /* DCS_STARTUP_DONE_HP1R */
#define WM8962_DCS_STARTUP_DONE_HP1R_SHIFT 7 /* DCS_STARTUP_DONE_HP1R */
#define WM8962_DCS_STARTUP_DONE_HP1R_WIDTH 1 /* DCS_STARTUP_DONE_HP1R */
/*
* R68 (0x44) - Analogue PGA Bias
*/
#define WM8962_HP_PGAS_BIAS_MASK 0x0007 /* HP_PGAS_BIAS - [2:0] */
#define WM8962_HP_PGAS_BIAS_SHIFT 0 /* HP_PGAS_BIAS - [2:0] */
#define WM8962_HP_PGAS_BIAS_WIDTH 3 /* HP_PGAS_BIAS - [2:0] */
/*
* R69 (0x45) - Analogue HP 0
*/
#define WM8962_HP1L_RMV_SHORT 0x0080 /* HP1L_RMV_SHORT */
#define WM8962_HP1L_RMV_SHORT_MASK 0x0080 /* HP1L_RMV_SHORT */
#define WM8962_HP1L_RMV_SHORT_SHIFT 7 /* HP1L_RMV_SHORT */
#define WM8962_HP1L_RMV_SHORT_WIDTH 1 /* HP1L_RMV_SHORT */
#define WM8962_HP1L_ENA_OUTP 0x0040 /* HP1L_ENA_OUTP */
#define WM8962_HP1L_ENA_OUTP_MASK 0x0040 /* HP1L_ENA_OUTP */
#define WM8962_HP1L_ENA_OUTP_SHIFT 6 /* HP1L_ENA_OUTP */
#define WM8962_HP1L_ENA_OUTP_WIDTH 1 /* HP1L_ENA_OUTP */
#define WM8962_HP1L_ENA_DLY 0x0020 /* HP1L_ENA_DLY */
#define WM8962_HP1L_ENA_DLY_MASK 0x0020 /* HP1L_ENA_DLY */
#define WM8962_HP1L_ENA_DLY_SHIFT 5 /* HP1L_ENA_DLY */
#define WM8962_HP1L_ENA_DLY_WIDTH 1 /* HP1L_ENA_DLY */
#define WM8962_HP1L_ENA 0x0010 /* HP1L_ENA */
#define WM8962_HP1L_ENA_MASK 0x0010 /* HP1L_ENA */
#define WM8962_HP1L_ENA_SHIFT 4 /* HP1L_ENA */
#define WM8962_HP1L_ENA_WIDTH 1 /* HP1L_ENA */
#define WM8962_HP1R_RMV_SHORT 0x0008 /* HP1R_RMV_SHORT */
#define WM8962_HP1R_RMV_SHORT_MASK 0x0008 /* HP1R_RMV_SHORT */
#define WM8962_HP1R_RMV_SHORT_SHIFT 3 /* HP1R_RMV_SHORT */
#define WM8962_HP1R_RMV_SHORT_WIDTH 1 /* HP1R_RMV_SHORT */
#define WM8962_HP1R_ENA_OUTP 0x0004 /* HP1R_ENA_OUTP */
#define WM8962_HP1R_ENA_OUTP_MASK 0x0004 /* HP1R_ENA_OUTP */
#define WM8962_HP1R_ENA_OUTP_SHIFT 2 /* HP1R_ENA_OUTP */
#define WM8962_HP1R_ENA_OUTP_WIDTH 1 /* HP1R_ENA_OUTP */
#define WM8962_HP1R_ENA_DLY 0x0002 /* HP1R_ENA_DLY */
#define WM8962_HP1R_ENA_DLY_MASK 0x0002 /* HP1R_ENA_DLY */
#define WM8962_HP1R_ENA_DLY_SHIFT 1 /* HP1R_ENA_DLY */
#define WM8962_HP1R_ENA_DLY_WIDTH 1 /* HP1R_ENA_DLY */
#define WM8962_HP1R_ENA 0x0001 /* HP1R_ENA */
#define WM8962_HP1R_ENA_MASK 0x0001 /* HP1R_ENA */
#define WM8962_HP1R_ENA_SHIFT 0 /* HP1R_ENA */
#define WM8962_HP1R_ENA_WIDTH 1 /* HP1R_ENA */
/*
* R71 (0x47) - Analogue HP 2
*/
#define WM8962_HP1L_VOL_MASK 0x01C0 /* HP1L_VOL - [8:6] */
#define WM8962_HP1L_VOL_SHIFT 6 /* HP1L_VOL - [8:6] */
#define WM8962_HP1L_VOL_WIDTH 3 /* HP1L_VOL - [8:6] */
#define WM8962_HP1R_VOL_MASK 0x0038 /* HP1R_VOL - [5:3] */
#define WM8962_HP1R_VOL_SHIFT 3 /* HP1R_VOL - [5:3] */
#define WM8962_HP1R_VOL_WIDTH 3 /* HP1R_VOL - [5:3] */
#define WM8962_HP_BIAS_BOOST_MASK 0x0007 /* HP_BIAS_BOOST - [2:0] */
#define WM8962_HP_BIAS_BOOST_SHIFT 0 /* HP_BIAS_BOOST - [2:0] */
#define WM8962_HP_BIAS_BOOST_WIDTH 3 /* HP_BIAS_BOOST - [2:0] */
/*
* R72 (0x48) - Charge Pump 1
*/
#define WM8962_CP_ENA 0x0001 /* CP_ENA */
#define WM8962_CP_ENA_MASK 0x0001 /* CP_ENA */
#define WM8962_CP_ENA_SHIFT 0 /* CP_ENA */
#define WM8962_CP_ENA_WIDTH 1 /* CP_ENA */
/*
* R82 (0x52) - Charge Pump B
*/
#define WM8962_CP_DYN_PWR 0x0001 /* CP_DYN_PWR */
#define WM8962_CP_DYN_PWR_MASK 0x0001 /* CP_DYN_PWR */
#define WM8962_CP_DYN_PWR_SHIFT 0 /* CP_DYN_PWR */
#define WM8962_CP_DYN_PWR_WIDTH 1 /* CP_DYN_PWR */
/*
* R87 (0x57) - Write Sequencer Control 1
*/
#define WM8962_WSEQ_AUTOSEQ_ENA 0x0080 /* WSEQ_AUTOSEQ_ENA */
#define WM8962_WSEQ_AUTOSEQ_ENA_MASK 0x0080 /* WSEQ_AUTOSEQ_ENA */
#define WM8962_WSEQ_AUTOSEQ_ENA_SHIFT 7 /* WSEQ_AUTOSEQ_ENA */
#define WM8962_WSEQ_AUTOSEQ_ENA_WIDTH 1 /* WSEQ_AUTOSEQ_ENA */
#define WM8962_WSEQ_ENA 0x0020 /* WSEQ_ENA */
#define WM8962_WSEQ_ENA_MASK 0x0020 /* WSEQ_ENA */
#define WM8962_WSEQ_ENA_SHIFT 5 /* WSEQ_ENA */
#define WM8962_WSEQ_ENA_WIDTH 1 /* WSEQ_ENA */
/*
* R90 (0x5A) - Write Sequencer Control 2
*/
#define WM8962_WSEQ_ABORT 0x0100 /* WSEQ_ABORT */
#define WM8962_WSEQ_ABORT_MASK 0x0100 /* WSEQ_ABORT */
#define WM8962_WSEQ_ABORT_SHIFT 8 /* WSEQ_ABORT */
#define WM8962_WSEQ_ABORT_WIDTH 1 /* WSEQ_ABORT */
#define WM8962_WSEQ_START 0x0080 /* WSEQ_START */
#define WM8962_WSEQ_START_MASK 0x0080 /* WSEQ_START */
#define WM8962_WSEQ_START_SHIFT 7 /* WSEQ_START */
#define WM8962_WSEQ_START_WIDTH 1 /* WSEQ_START */
#define WM8962_WSEQ_START_INDEX_MASK 0x007F /* WSEQ_START_INDEX - [6:0] */
#define WM8962_WSEQ_START_INDEX_SHIFT 0 /* WSEQ_START_INDEX - [6:0] */
#define WM8962_WSEQ_START_INDEX_WIDTH 7 /* WSEQ_START_INDEX - [6:0] */
/*
* R93 (0x5D) - Write Sequencer Control 3
*/
#define WM8962_WSEQ_CURRENT_INDEX_MASK 0x03F8 /* WSEQ_CURRENT_INDEX - [9:3] */
#define WM8962_WSEQ_CURRENT_INDEX_SHIFT 3 /* WSEQ_CURRENT_INDEX - [9:3] */
#define WM8962_WSEQ_CURRENT_INDEX_WIDTH 7 /* WSEQ_CURRENT_INDEX - [9:3] */
#define WM8962_WSEQ_BUSY 0x0001 /* WSEQ_BUSY */
#define WM8962_WSEQ_BUSY_MASK 0x0001 /* WSEQ_BUSY */
#define WM8962_WSEQ_BUSY_SHIFT 0 /* WSEQ_BUSY */
#define WM8962_WSEQ_BUSY_WIDTH 1 /* WSEQ_BUSY */
/*
* R94 (0x5E) - Control Interface
*/
#define WM8962_SPI_CONTRD 0x0040 /* SPI_CONTRD */
#define WM8962_SPI_CONTRD_MASK 0x0040 /* SPI_CONTRD */
#define WM8962_SPI_CONTRD_SHIFT 6 /* SPI_CONTRD */
#define WM8962_SPI_CONTRD_WIDTH 1 /* SPI_CONTRD */
#define WM8962_SPI_4WIRE 0x0020 /* SPI_4WIRE */
#define WM8962_SPI_4WIRE_MASK 0x0020 /* SPI_4WIRE */
#define WM8962_SPI_4WIRE_SHIFT 5 /* SPI_4WIRE */
#define WM8962_SPI_4WIRE_WIDTH 1 /* SPI_4WIRE */
#define WM8962_SPI_CFG 0x0010 /* SPI_CFG */
#define WM8962_SPI_CFG_MASK 0x0010 /* SPI_CFG */
#define WM8962_SPI_CFG_SHIFT 4 /* SPI_CFG */
#define WM8962_SPI_CFG_WIDTH 1 /* SPI_CFG */
/*
* R99 (0x63) - Mixer Enables
*/
#define WM8962_HPMIXL_ENA 0x0008 /* HPMIXL_ENA */
#define WM8962_HPMIXL_ENA_MASK 0x0008 /* HPMIXL_ENA */
#define WM8962_HPMIXL_ENA_SHIFT 3 /* HPMIXL_ENA */
#define WM8962_HPMIXL_ENA_WIDTH 1 /* HPMIXL_ENA */
#define WM8962_HPMIXR_ENA 0x0004 /* HPMIXR_ENA */
#define WM8962_HPMIXR_ENA_MASK 0x0004 /* HPMIXR_ENA */
#define WM8962_HPMIXR_ENA_SHIFT 2 /* HPMIXR_ENA */
#define WM8962_HPMIXR_ENA_WIDTH 1 /* HPMIXR_ENA */
#define WM8962_SPKMIXL_ENA 0x0002 /* SPKMIXL_ENA */
#define WM8962_SPKMIXL_ENA_MASK 0x0002 /* SPKMIXL_ENA */
#define WM8962_SPKMIXL_ENA_SHIFT 1 /* SPKMIXL_ENA */
#define WM8962_SPKMIXL_ENA_WIDTH 1 /* SPKMIXL_ENA */
#define WM8962_SPKMIXR_ENA 0x0001 /* SPKMIXR_ENA */
#define WM8962_SPKMIXR_ENA_MASK 0x0001 /* SPKMIXR_ENA */
#define WM8962_SPKMIXR_ENA_SHIFT 0 /* SPKMIXR_ENA */
#define WM8962_SPKMIXR_ENA_WIDTH 1 /* SPKMIXR_ENA */
/*
* R100 (0x64) - Headphone Mixer (1)
*/
#define WM8962_HPMIXL_TO_HPOUTL_PGA 0x0080 /* HPMIXL_TO_HPOUTL_PGA */
#define WM8962_HPMIXL_TO_HPOUTL_PGA_MASK 0x0080 /* HPMIXL_TO_HPOUTL_PGA */
#define WM8962_HPMIXL_TO_HPOUTL_PGA_SHIFT 7 /* HPMIXL_TO_HPOUTL_PGA */
#define WM8962_HPMIXL_TO_HPOUTL_PGA_WIDTH 1 /* HPMIXL_TO_HPOUTL_PGA */
#define WM8962_DACL_TO_HPMIXL 0x0020 /* DACL_TO_HPMIXL */
#define WM8962_DACL_TO_HPMIXL_MASK 0x0020 /* DACL_TO_HPMIXL */
#define WM8962_DACL_TO_HPMIXL_SHIFT 5 /* DACL_TO_HPMIXL */
#define WM8962_DACL_TO_HPMIXL_WIDTH 1 /* DACL_TO_HPMIXL */
#define WM8962_DACR_TO_HPMIXL 0x0010 /* DACR_TO_HPMIXL */
#define WM8962_DACR_TO_HPMIXL_MASK 0x0010 /* DACR_TO_HPMIXL */
#define WM8962_DACR_TO_HPMIXL_SHIFT 4 /* DACR_TO_HPMIXL */
#define WM8962_DACR_TO_HPMIXL_WIDTH 1 /* DACR_TO_HPMIXL */
#define WM8962_MIXINL_TO_HPMIXL 0x0008 /* MIXINL_TO_HPMIXL */
#define WM8962_MIXINL_TO_HPMIXL_MASK 0x0008 /* MIXINL_TO_HPMIXL */
#define WM8962_MIXINL_TO_HPMIXL_SHIFT 3 /* MIXINL_TO_HPMIXL */
#define WM8962_MIXINL_TO_HPMIXL_WIDTH 1 /* MIXINL_TO_HPMIXL */
#define WM8962_MIXINR_TO_HPMIXL 0x0004 /* MIXINR_TO_HPMIXL */
#define WM8962_MIXINR_TO_HPMIXL_MASK 0x0004 /* MIXINR_TO_HPMIXL */
#define WM8962_MIXINR_TO_HPMIXL_SHIFT 2 /* MIXINR_TO_HPMIXL */
#define WM8962_MIXINR_TO_HPMIXL_WIDTH 1 /* MIXINR_TO_HPMIXL */
#define WM8962_IN4L_TO_HPMIXL 0x0002 /* IN4L_TO_HPMIXL */
#define WM8962_IN4L_TO_HPMIXL_MASK 0x0002 /* IN4L_TO_HPMIXL */
#define WM8962_IN4L_TO_HPMIXL_SHIFT 1 /* IN4L_TO_HPMIXL */
#define WM8962_IN4L_TO_HPMIXL_WIDTH 1 /* IN4L_TO_HPMIXL */
#define WM8962_IN4R_TO_HPMIXL 0x0001 /* IN4R_TO_HPMIXL */
#define WM8962_IN4R_TO_HPMIXL_MASK 0x0001 /* IN4R_TO_HPMIXL */
#define WM8962_IN4R_TO_HPMIXL_SHIFT 0 /* IN4R_TO_HPMIXL */
#define WM8962_IN4R_TO_HPMIXL_WIDTH 1 /* IN4R_TO_HPMIXL */
/*
* R101 (0x65) - Headphone Mixer (2)
*/
#define WM8962_HPMIXR_TO_HPOUTR_PGA 0x0080 /* HPMIXR_TO_HPOUTR_PGA */
#define WM8962_HPMIXR_TO_HPOUTR_PGA_MASK 0x0080 /* HPMIXR_TO_HPOUTR_PGA */
#define WM8962_HPMIXR_TO_HPOUTR_PGA_SHIFT 7 /* HPMIXR_TO_HPOUTR_PGA */
#define WM8962_HPMIXR_TO_HPOUTR_PGA_WIDTH 1 /* HPMIXR_TO_HPOUTR_PGA */
#define WM8962_DACL_TO_HPMIXR 0x0020 /* DACL_TO_HPMIXR */
#define WM8962_DACL_TO_HPMIXR_MASK 0x0020 /* DACL_TO_HPMIXR */
#define WM8962_DACL_TO_HPMIXR_SHIFT 5 /* DACL_TO_HPMIXR */
#define WM8962_DACL_TO_HPMIXR_WIDTH 1 /* DACL_TO_HPMIXR */
#define WM8962_DACR_TO_HPMIXR 0x0010 /* DACR_TO_HPMIXR */
#define WM8962_DACR_TO_HPMIXR_MASK 0x0010 /* DACR_TO_HPMIXR */
#define WM8962_DACR_TO_HPMIXR_SHIFT 4 /* DACR_TO_HPMIXR */
#define WM8962_DACR_TO_HPMIXR_WIDTH 1 /* DACR_TO_HPMIXR */
#define WM8962_MIXINL_TO_HPMIXR 0x0008 /* MIXINL_TO_HPMIXR */
#define WM8962_MIXINL_TO_HPMIXR_MASK 0x0008 /* MIXINL_TO_HPMIXR */
#define WM8962_MIXINL_TO_HPMIXR_SHIFT 3 /* MIXINL_TO_HPMIXR */
#define WM8962_MIXINL_TO_HPMIXR_WIDTH 1 /* MIXINL_TO_HPMIXR */
#define WM8962_MIXINR_TO_HPMIXR 0x0004 /* MIXINR_TO_HPMIXR */
#define WM8962_MIXINR_TO_HPMIXR_MASK 0x0004 /* MIXINR_TO_HPMIXR */
#define WM8962_MIXINR_TO_HPMIXR_SHIFT 2 /* MIXINR_TO_HPMIXR */
#define WM8962_MIXINR_TO_HPMIXR_WIDTH 1 /* MIXINR_TO_HPMIXR */
#define WM8962_IN4L_TO_HPMIXR 0x0002 /* IN4L_TO_HPMIXR */
#define WM8962_IN4L_TO_HPMIXR_MASK 0x0002 /* IN4L_TO_HPMIXR */
#define WM8962_IN4L_TO_HPMIXR_SHIFT 1 /* IN4L_TO_HPMIXR */
#define WM8962_IN4L_TO_HPMIXR_WIDTH 1 /* IN4L_TO_HPMIXR */
#define WM8962_IN4R_TO_HPMIXR 0x0001 /* IN4R_TO_HPMIXR */
#define WM8962_IN4R_TO_HPMIXR_MASK 0x0001 /* IN4R_TO_HPMIXR */
#define WM8962_IN4R_TO_HPMIXR_SHIFT 0 /* IN4R_TO_HPMIXR */
#define WM8962_IN4R_TO_HPMIXR_WIDTH 1 /* IN4R_TO_HPMIXR */
/*
* R102 (0x66) - Headphone Mixer (3)
*/
#define WM8962_HPMIXL_MUTE 0x0100 /* HPMIXL_MUTE */
#define WM8962_HPMIXL_MUTE_MASK 0x0100 /* HPMIXL_MUTE */
#define WM8962_HPMIXL_MUTE_SHIFT 8 /* HPMIXL_MUTE */
#define WM8962_HPMIXL_MUTE_WIDTH 1 /* HPMIXL_MUTE */
#define WM8962_MIXINL_HPMIXL_VOL 0x0080 /* MIXINL_HPMIXL_VOL */
#define WM8962_MIXINL_HPMIXL_VOL_MASK 0x0080 /* MIXINL_HPMIXL_VOL */
#define WM8962_MIXINL_HPMIXL_VOL_SHIFT 7 /* MIXINL_HPMIXL_VOL */
#define WM8962_MIXINL_HPMIXL_VOL_WIDTH 1 /* MIXINL_HPMIXL_VOL */
#define WM8962_MIXINR_HPMIXL_VOL 0x0040 /* MIXINR_HPMIXL_VOL */
#define WM8962_MIXINR_HPMIXL_VOL_MASK 0x0040 /* MIXINR_HPMIXL_VOL */
#define WM8962_MIXINR_HPMIXL_VOL_SHIFT 6 /* MIXINR_HPMIXL_VOL */
#define WM8962_MIXINR_HPMIXL_VOL_WIDTH 1 /* MIXINR_HPMIXL_VOL */
#define WM8962_IN4L_HPMIXL_VOL_MASK 0x0038 /* IN4L_HPMIXL_VOL - [5:3] */
#define WM8962_IN4L_HPMIXL_VOL_SHIFT 3 /* IN4L_HPMIXL_VOL - [5:3] */
#define WM8962_IN4L_HPMIXL_VOL_WIDTH 3 /* IN4L_HPMIXL_VOL - [5:3] */
#define WM8962_IN4R_HPMIXL_VOL_MASK 0x0007 /* IN4R_HPMIXL_VOL - [2:0] */
#define WM8962_IN4R_HPMIXL_VOL_SHIFT 0 /* IN4R_HPMIXL_VOL - [2:0] */
#define WM8962_IN4R_HPMIXL_VOL_WIDTH 3 /* IN4R_HPMIXL_VOL - [2:0] */
/*
* R103 (0x67) - Headphone Mixer (4)
*/
#define WM8962_HPMIXR_MUTE 0x0100 /* HPMIXR_MUTE */
#define WM8962_HPMIXR_MUTE_MASK 0x0100 /* HPMIXR_MUTE */
#define WM8962_HPMIXR_MUTE_SHIFT 8 /* HPMIXR_MUTE */
#define WM8962_HPMIXR_MUTE_WIDTH 1 /* HPMIXR_MUTE */
#define WM8962_MIXINL_HPMIXR_VOL 0x0080 /* MIXINL_HPMIXR_VOL */
#define WM8962_MIXINL_HPMIXR_VOL_MASK 0x0080 /* MIXINL_HPMIXR_VOL */
#define WM8962_MIXINL_HPMIXR_VOL_SHIFT 7 /* MIXINL_HPMIXR_VOL */
#define WM8962_MIXINL_HPMIXR_VOL_WIDTH 1 /* MIXINL_HPMIXR_VOL */
#define WM8962_MIXINR_HPMIXR_VOL 0x0040 /* MIXINR_HPMIXR_VOL */
#define WM8962_MIXINR_HPMIXR_VOL_MASK 0x0040 /* MIXINR_HPMIXR_VOL */
#define WM8962_MIXINR_HPMIXR_VOL_SHIFT 6 /* MIXINR_HPMIXR_VOL */
#define WM8962_MIXINR_HPMIXR_VOL_WIDTH 1 /* MIXINR_HPMIXR_VOL */
#define WM8962_IN4L_HPMIXR_VOL_MASK 0x0038 /* IN4L_HPMIXR_VOL - [5:3] */
#define WM8962_IN4L_HPMIXR_VOL_SHIFT 3 /* IN4L_HPMIXR_VOL - [5:3] */
#define WM8962_IN4L_HPMIXR_VOL_WIDTH 3 /* IN4L_HPMIXR_VOL - [5:3] */
#define WM8962_IN4R_HPMIXR_VOL_MASK 0x0007 /* IN4R_HPMIXR_VOL - [2:0] */
#define WM8962_IN4R_HPMIXR_VOL_SHIFT 0 /* IN4R_HPMIXR_VOL - [2:0] */
#define WM8962_IN4R_HPMIXR_VOL_WIDTH 3 /* IN4R_HPMIXR_VOL - [2:0] */
/*
* R105 (0x69) - Speaker Mixer (1)
*/
#define WM8962_SPKMIXL_TO_SPKOUTL_PGA 0x0080 /* SPKMIXL_TO_SPKOUTL_PGA */
#define WM8962_SPKMIXL_TO_SPKOUTL_PGA_MASK 0x0080 /* SPKMIXL_TO_SPKOUTL_PGA */
#define WM8962_SPKMIXL_TO_SPKOUTL_PGA_SHIFT 7 /* SPKMIXL_TO_SPKOUTL_PGA */
#define WM8962_SPKMIXL_TO_SPKOUTL_PGA_WIDTH 1 /* SPKMIXL_TO_SPKOUTL_PGA */
#define WM8962_DACL_TO_SPKMIXL 0x0020 /* DACL_TO_SPKMIXL */
#define WM8962_DACL_TO_SPKMIXL_MASK 0x0020 /* DACL_TO_SPKMIXL */
#define WM8962_DACL_TO_SPKMIXL_SHIFT 5 /* DACL_TO_SPKMIXL */
#define WM8962_DACL_TO_SPKMIXL_WIDTH 1 /* DACL_TO_SPKMIXL */
#define WM8962_DACR_TO_SPKMIXL 0x0010 /* DACR_TO_SPKMIXL */
#define WM8962_DACR_TO_SPKMIXL_MASK 0x0010 /* DACR_TO_SPKMIXL */
#define WM8962_DACR_TO_SPKMIXL_SHIFT 4 /* DACR_TO_SPKMIXL */
#define WM8962_DACR_TO_SPKMIXL_WIDTH 1 /* DACR_TO_SPKMIXL */
#define WM8962_MIXINL_TO_SPKMIXL 0x0008 /* MIXINL_TO_SPKMIXL */
#define WM8962_MIXINL_TO_SPKMIXL_MASK 0x0008 /* MIXINL_TO_SPKMIXL */
#define WM8962_MIXINL_TO_SPKMIXL_SHIFT 3 /* MIXINL_TO_SPKMIXL */
#define WM8962_MIXINL_TO_SPKMIXL_WIDTH 1 /* MIXINL_TO_SPKMIXL */
#define WM8962_MIXINR_TO_SPKMIXL 0x0004 /* MIXINR_TO_SPKMIXL */
#define WM8962_MIXINR_TO_SPKMIXL_MASK 0x0004 /* MIXINR_TO_SPKMIXL */
#define WM8962_MIXINR_TO_SPKMIXL_SHIFT 2 /* MIXINR_TO_SPKMIXL */
#define WM8962_MIXINR_TO_SPKMIXL_WIDTH 1 /* MIXINR_TO_SPKMIXL */
#define WM8962_IN4L_TO_SPKMIXL 0x0002 /* IN4L_TO_SPKMIXL */
#define WM8962_IN4L_TO_SPKMIXL_MASK 0x0002 /* IN4L_TO_SPKMIXL */
#define WM8962_IN4L_TO_SPKMIXL_SHIFT 1 /* IN4L_TO_SPKMIXL */
#define WM8962_IN4L_TO_SPKMIXL_WIDTH 1 /* IN4L_TO_SPKMIXL */
#define WM8962_IN4R_TO_SPKMIXL 0x0001 /* IN4R_TO_SPKMIXL */
#define WM8962_IN4R_TO_SPKMIXL_MASK 0x0001 /* IN4R_TO_SPKMIXL */
#define WM8962_IN4R_TO_SPKMIXL_SHIFT 0 /* IN4R_TO_SPKMIXL */
#define WM8962_IN4R_TO_SPKMIXL_WIDTH 1 /* IN4R_TO_SPKMIXL */
/*
* R106 (0x6A) - Speaker Mixer (2)
*/
#define WM8962_SPKMIXR_TO_SPKOUTR_PGA 0x0080 /* SPKMIXR_TO_SPKOUTR_PGA */
#define WM8962_SPKMIXR_TO_SPKOUTR_PGA_MASK 0x0080 /* SPKMIXR_TO_SPKOUTR_PGA */
#define WM8962_SPKMIXR_TO_SPKOUTR_PGA_SHIFT 7 /* SPKMIXR_TO_SPKOUTR_PGA */
#define WM8962_SPKMIXR_TO_SPKOUTR_PGA_WIDTH 1 /* SPKMIXR_TO_SPKOUTR_PGA */
#define WM8962_DACL_TO_SPKMIXR 0x0020 /* DACL_TO_SPKMIXR */
#define WM8962_DACL_TO_SPKMIXR_MASK 0x0020 /* DACL_TO_SPKMIXR */
#define WM8962_DACL_TO_SPKMIXR_SHIFT 5 /* DACL_TO_SPKMIXR */
#define WM8962_DACL_TO_SPKMIXR_WIDTH 1 /* DACL_TO_SPKMIXR */
#define WM8962_DACR_TO_SPKMIXR 0x0010 /* DACR_TO_SPKMIXR */
#define WM8962_DACR_TO_SPKMIXR_MASK 0x0010 /* DACR_TO_SPKMIXR */
#define WM8962_DACR_TO_SPKMIXR_SHIFT 4 /* DACR_TO_SPKMIXR */
#define WM8962_DACR_TO_SPKMIXR_WIDTH 1 /* DACR_TO_SPKMIXR */
#define WM8962_MIXINL_TO_SPKMIXR 0x0008 /* MIXINL_TO_SPKMIXR */
#define WM8962_MIXINL_TO_SPKMIXR_MASK 0x0008 /* MIXINL_TO_SPKMIXR */
#define WM8962_MIXINL_TO_SPKMIXR_SHIFT 3 /* MIXINL_TO_SPKMIXR */
#define WM8962_MIXINL_TO_SPKMIXR_WIDTH 1 /* MIXINL_TO_SPKMIXR */
#define WM8962_MIXINR_TO_SPKMIXR 0x0004 /* MIXINR_TO_SPKMIXR */
#define WM8962_MIXINR_TO_SPKMIXR_MASK 0x0004 /* MIXINR_TO_SPKMIXR */
#define WM8962_MIXINR_TO_SPKMIXR_SHIFT 2 /* MIXINR_TO_SPKMIXR */
#define WM8962_MIXINR_TO_SPKMIXR_WIDTH 1 /* MIXINR_TO_SPKMIXR */
#define WM8962_IN4L_TO_SPKMIXR 0x0002 /* IN4L_TO_SPKMIXR */
#define WM8962_IN4L_TO_SPKMIXR_MASK 0x0002 /* IN4L_TO_SPKMIXR */
#define WM8962_IN4L_TO_SPKMIXR_SHIFT 1 /* IN4L_TO_SPKMIXR */
#define WM8962_IN4L_TO_SPKMIXR_WIDTH 1 /* IN4L_TO_SPKMIXR */
#define WM8962_IN4R_TO_SPKMIXR 0x0001 /* IN4R_TO_SPKMIXR */
#define WM8962_IN4R_TO_SPKMIXR_MASK 0x0001 /* IN4R_TO_SPKMIXR */
#define WM8962_IN4R_TO_SPKMIXR_SHIFT 0 /* IN4R_TO_SPKMIXR */
#define WM8962_IN4R_TO_SPKMIXR_WIDTH 1 /* IN4R_TO_SPKMIXR */
/*
* R107 (0x6B) - Speaker Mixer (3)
*/
#define WM8962_SPKMIXL_MUTE 0x0100 /* SPKMIXL_MUTE */
#define WM8962_SPKMIXL_MUTE_MASK 0x0100 /* SPKMIXL_MUTE */
#define WM8962_SPKMIXL_MUTE_SHIFT 8 /* SPKMIXL_MUTE */
#define WM8962_SPKMIXL_MUTE_WIDTH 1 /* SPKMIXL_MUTE */
#define WM8962_MIXINL_SPKMIXL_VOL 0x0080 /* MIXINL_SPKMIXL_VOL */
#define WM8962_MIXINL_SPKMIXL_VOL_MASK 0x0080 /* MIXINL_SPKMIXL_VOL */
#define WM8962_MIXINL_SPKMIXL_VOL_SHIFT 7 /* MIXINL_SPKMIXL_VOL */
#define WM8962_MIXINL_SPKMIXL_VOL_WIDTH 1 /* MIXINL_SPKMIXL_VOL */
#define WM8962_MIXINR_SPKMIXL_VOL 0x0040 /* MIXINR_SPKMIXL_VOL */
#define WM8962_MIXINR_SPKMIXL_VOL_MASK 0x0040 /* MIXINR_SPKMIXL_VOL */
#define WM8962_MIXINR_SPKMIXL_VOL_SHIFT 6 /* MIXINR_SPKMIXL_VOL */
#define WM8962_MIXINR_SPKMIXL_VOL_WIDTH 1 /* MIXINR_SPKMIXL_VOL */
#define WM8962_IN4L_SPKMIXL_VOL_MASK 0x0038 /* IN4L_SPKMIXL_VOL - [5:3] */
#define WM8962_IN4L_SPKMIXL_VOL_SHIFT 3 /* IN4L_SPKMIXL_VOL - [5:3] */
#define WM8962_IN4L_SPKMIXL_VOL_WIDTH 3 /* IN4L_SPKMIXL_VOL - [5:3] */
#define WM8962_IN4R_SPKMIXL_VOL_MASK 0x0007 /* IN4R_SPKMIXL_VOL - [2:0] */
#define WM8962_IN4R_SPKMIXL_VOL_SHIFT 0 /* IN4R_SPKMIXL_VOL - [2:0] */
#define WM8962_IN4R_SPKMIXL_VOL_WIDTH 3 /* IN4R_SPKMIXL_VOL - [2:0] */
/*
* R108 (0x6C) - Speaker Mixer (4)
*/
#define WM8962_SPKMIXR_MUTE 0x0100 /* SPKMIXR_MUTE */
#define WM8962_SPKMIXR_MUTE_MASK 0x0100 /* SPKMIXR_MUTE */
#define WM8962_SPKMIXR_MUTE_SHIFT 8 /* SPKMIXR_MUTE */
#define WM8962_SPKMIXR_MUTE_WIDTH 1 /* SPKMIXR_MUTE */
#define WM8962_MIXINL_SPKMIXR_VOL 0x0080 /* MIXINL_SPKMIXR_VOL */
#define WM8962_MIXINL_SPKMIXR_VOL_MASK 0x0080 /* MIXINL_SPKMIXR_VOL */
#define WM8962_MIXINL_SPKMIXR_VOL_SHIFT 7 /* MIXINL_SPKMIXR_VOL */
#define WM8962_MIXINL_SPKMIXR_VOL_WIDTH 1 /* MIXINL_SPKMIXR_VOL */
#define WM8962_MIXINR_SPKMIXR_VOL 0x0040 /* MIXINR_SPKMIXR_VOL */
#define WM8962_MIXINR_SPKMIXR_VOL_MASK 0x0040 /* MIXINR_SPKMIXR_VOL */
#define WM8962_MIXINR_SPKMIXR_VOL_SHIFT 6 /* MIXINR_SPKMIXR_VOL */
#define WM8962_MIXINR_SPKMIXR_VOL_WIDTH 1 /* MIXINR_SPKMIXR_VOL */
#define WM8962_IN4L_SPKMIXR_VOL_MASK 0x0038 /* IN4L_SPKMIXR_VOL - [5:3] */
#define WM8962_IN4L_SPKMIXR_VOL_SHIFT 3 /* IN4L_SPKMIXR_VOL - [5:3] */
#define WM8962_IN4L_SPKMIXR_VOL_WIDTH 3 /* IN4L_SPKMIXR_VOL - [5:3] */
#define WM8962_IN4R_SPKMIXR_VOL_MASK 0x0007 /* IN4R_SPKMIXR_VOL - [2:0] */
#define WM8962_IN4R_SPKMIXR_VOL_SHIFT 0 /* IN4R_SPKMIXR_VOL - [2:0] */
#define WM8962_IN4R_SPKMIXR_VOL_WIDTH 3 /* IN4R_SPKMIXR_VOL - [2:0] */
/*
* R109 (0x6D) - Speaker Mixer (5)
*/
#define WM8962_DACL_SPKMIXL_VOL 0x0080 /* DACL_SPKMIXL_VOL */
#define WM8962_DACL_SPKMIXL_VOL_MASK 0x0080 /* DACL_SPKMIXL_VOL */
#define WM8962_DACL_SPKMIXL_VOL_SHIFT 7 /* DACL_SPKMIXL_VOL */
#define WM8962_DACL_SPKMIXL_VOL_WIDTH 1 /* DACL_SPKMIXL_VOL */
#define WM8962_DACR_SPKMIXL_VOL 0x0040 /* DACR_SPKMIXL_VOL */
#define WM8962_DACR_SPKMIXL_VOL_MASK 0x0040 /* DACR_SPKMIXL_VOL */
#define WM8962_DACR_SPKMIXL_VOL_SHIFT 6 /* DACR_SPKMIXL_VOL */
#define WM8962_DACR_SPKMIXL_VOL_WIDTH 1 /* DACR_SPKMIXL_VOL */
#define WM8962_DACL_SPKMIXR_VOL 0x0020 /* DACL_SPKMIXR_VOL */
#define WM8962_DACL_SPKMIXR_VOL_MASK 0x0020 /* DACL_SPKMIXR_VOL */
#define WM8962_DACL_SPKMIXR_VOL_SHIFT 5 /* DACL_SPKMIXR_VOL */
#define WM8962_DACL_SPKMIXR_VOL_WIDTH 1 /* DACL_SPKMIXR_VOL */
#define WM8962_DACR_SPKMIXR_VOL 0x0010 /* DACR_SPKMIXR_VOL */
#define WM8962_DACR_SPKMIXR_VOL_MASK 0x0010 /* DACR_SPKMIXR_VOL */
#define WM8962_DACR_SPKMIXR_VOL_SHIFT 4 /* DACR_SPKMIXR_VOL */
#define WM8962_DACR_SPKMIXR_VOL_WIDTH 1 /* DACR_SPKMIXR_VOL */
/*
* R110 (0x6E) - Beep Generator (1)
*/
#define WM8962_BEEP_GAIN_MASK 0x00F0 /* BEEP_GAIN - [7:4] */
#define WM8962_BEEP_GAIN_SHIFT 4 /* BEEP_GAIN - [7:4] */
#define WM8962_BEEP_GAIN_WIDTH 4 /* BEEP_GAIN - [7:4] */
#define WM8962_BEEP_RATE_MASK 0x0006 /* BEEP_RATE - [2:1] */
#define WM8962_BEEP_RATE_SHIFT 1 /* BEEP_RATE - [2:1] */
#define WM8962_BEEP_RATE_WIDTH 2 /* BEEP_RATE - [2:1] */
#define WM8962_BEEP_ENA 0x0001 /* BEEP_ENA */
#define WM8962_BEEP_ENA_MASK 0x0001 /* BEEP_ENA */
#define WM8962_BEEP_ENA_SHIFT 0 /* BEEP_ENA */
#define WM8962_BEEP_ENA_WIDTH 1 /* BEEP_ENA */
/*
* R115 (0x73) - Oscillator Trim (3)
*/
#define WM8962_OSC_TRIM_XTI_MASK 0x001F /* OSC_TRIM_XTI - [4:0] */
#define WM8962_OSC_TRIM_XTI_SHIFT 0 /* OSC_TRIM_XTI - [4:0] */
#define WM8962_OSC_TRIM_XTI_WIDTH 5 /* OSC_TRIM_XTI - [4:0] */
/*
* R116 (0x74) - Oscillator Trim (4)
*/
#define WM8962_OSC_TRIM_XTO_MASK 0x001F /* OSC_TRIM_XTO - [4:0] */
#define WM8962_OSC_TRIM_XTO_SHIFT 0 /* OSC_TRIM_XTO - [4:0] */
#define WM8962_OSC_TRIM_XTO_WIDTH 5 /* OSC_TRIM_XTO - [4:0] */
/*
* R119 (0x77) - Oscillator Trim (7)
*/
#define WM8962_XTO_CAP_SEL_MASK 0x00F0 /* XTO_CAP_SEL - [7:4] */
#define WM8962_XTO_CAP_SEL_SHIFT 4 /* XTO_CAP_SEL - [7:4] */
#define WM8962_XTO_CAP_SEL_WIDTH 4 /* XTO_CAP_SEL - [7:4] */
#define WM8962_XTI_CAP_SEL_MASK 0x000F /* XTI_CAP_SEL - [3:0] */
#define WM8962_XTI_CAP_SEL_SHIFT 0 /* XTI_CAP_SEL - [3:0] */
#define WM8962_XTI_CAP_SEL_WIDTH 4 /* XTI_CAP_SEL - [3:0] */
/*
* R124 (0x7C) - Analogue Clocking1
*/
#define WM8962_CLKOUT2_SEL_MASK 0x0060 /* CLKOUT2_SEL - [6:5] */
#define WM8962_CLKOUT2_SEL_SHIFT 5 /* CLKOUT2_SEL - [6:5] */
#define WM8962_CLKOUT2_SEL_WIDTH 2 /* CLKOUT2_SEL - [6:5] */
#define WM8962_CLKOUT3_SEL_MASK 0x0018 /* CLKOUT3_SEL - [4:3] */
#define WM8962_CLKOUT3_SEL_SHIFT 3 /* CLKOUT3_SEL - [4:3] */
#define WM8962_CLKOUT3_SEL_WIDTH 2 /* CLKOUT3_SEL - [4:3] */
#define WM8962_CLKOUT5_SEL 0x0001 /* CLKOUT5_SEL */
#define WM8962_CLKOUT5_SEL_MASK 0x0001 /* CLKOUT5_SEL */
#define WM8962_CLKOUT5_SEL_SHIFT 0 /* CLKOUT5_SEL */
#define WM8962_CLKOUT5_SEL_WIDTH 1 /* CLKOUT5_SEL */
/*
* R125 (0x7D) - Analogue Clocking2
*/
#define WM8962_PLL2_OUTDIV 0x0080 /* PLL2_OUTDIV */
#define WM8962_PLL2_OUTDIV_MASK 0x0080 /* PLL2_OUTDIV */
#define WM8962_PLL2_OUTDIV_SHIFT 7 /* PLL2_OUTDIV */
#define WM8962_PLL2_OUTDIV_WIDTH 1 /* PLL2_OUTDIV */
#define WM8962_PLL3_OUTDIV 0x0040 /* PLL3_OUTDIV */
#define WM8962_PLL3_OUTDIV_MASK 0x0040 /* PLL3_OUTDIV */
#define WM8962_PLL3_OUTDIV_SHIFT 6 /* PLL3_OUTDIV */
#define WM8962_PLL3_OUTDIV_WIDTH 1 /* PLL3_OUTDIV */
#define WM8962_PLL_SYSCLK_DIV_MASK 0x0018 /* PLL_SYSCLK_DIV - [4:3] */
#define WM8962_PLL_SYSCLK_DIV_SHIFT 3 /* PLL_SYSCLK_DIV - [4:3] */
#define WM8962_PLL_SYSCLK_DIV_WIDTH 2 /* PLL_SYSCLK_DIV - [4:3] */
#define WM8962_CLKOUT3_DIV 0x0004 /* CLKOUT3_DIV */
#define WM8962_CLKOUT3_DIV_MASK 0x0004 /* CLKOUT3_DIV */
#define WM8962_CLKOUT3_DIV_SHIFT 2 /* CLKOUT3_DIV */
#define WM8962_CLKOUT3_DIV_WIDTH 1 /* CLKOUT3_DIV */
#define WM8962_CLKOUT2_DIV 0x0002 /* CLKOUT2_DIV */
#define WM8962_CLKOUT2_DIV_MASK 0x0002 /* CLKOUT2_DIV */
#define WM8962_CLKOUT2_DIV_SHIFT 1 /* CLKOUT2_DIV */
#define WM8962_CLKOUT2_DIV_WIDTH 1 /* CLKOUT2_DIV */
#define WM8962_CLKOUT5_DIV 0x0001 /* CLKOUT5_DIV */
#define WM8962_CLKOUT5_DIV_MASK 0x0001 /* CLKOUT5_DIV */
#define WM8962_CLKOUT5_DIV_SHIFT 0 /* CLKOUT5_DIV */
#define WM8962_CLKOUT5_DIV_WIDTH 1 /* CLKOUT5_DIV */
/*
* R126 (0x7E) - Analogue Clocking3
*/
#define WM8962_CLKOUT2_OE 0x0008 /* CLKOUT2_OE */
#define WM8962_CLKOUT2_OE_MASK 0x0008 /* CLKOUT2_OE */
#define WM8962_CLKOUT2_OE_SHIFT 3 /* CLKOUT2_OE */
#define WM8962_CLKOUT2_OE_WIDTH 1 /* CLKOUT2_OE */
#define WM8962_CLKOUT3_OE 0x0004 /* CLKOUT3_OE */
#define WM8962_CLKOUT3_OE_MASK 0x0004 /* CLKOUT3_OE */
#define WM8962_CLKOUT3_OE_SHIFT 2 /* CLKOUT3_OE */
#define WM8962_CLKOUT3_OE_WIDTH 1 /* CLKOUT3_OE */
#define WM8962_CLKOUT5_OE 0x0001 /* CLKOUT5_OE */
#define WM8962_CLKOUT5_OE_MASK 0x0001 /* CLKOUT5_OE */
#define WM8962_CLKOUT5_OE_SHIFT 0 /* CLKOUT5_OE */
#define WM8962_CLKOUT5_OE_WIDTH 1 /* CLKOUT5_OE */
/*
* R127 (0x7F) - PLL Software Reset
*/
#define WM8962_SW_RESET_PLL_MASK 0xFFFF /* SW_RESET_PLL - [15:0] */
#define WM8962_SW_RESET_PLL_SHIFT 0 /* SW_RESET_PLL - [15:0] */
#define WM8962_SW_RESET_PLL_WIDTH 16 /* SW_RESET_PLL - [15:0] */
/*
* R129 (0x81) - PLL2
*/
#define WM8962_OSC_ENA 0x0080 /* OSC_ENA */
#define WM8962_OSC_ENA_MASK 0x0080 /* OSC_ENA */
#define WM8962_OSC_ENA_SHIFT 7 /* OSC_ENA */
#define WM8962_OSC_ENA_WIDTH 1 /* OSC_ENA */
#define WM8962_PLL2_ENA 0x0020 /* PLL2_ENA */
#define WM8962_PLL2_ENA_MASK 0x0020 /* PLL2_ENA */
#define WM8962_PLL2_ENA_SHIFT 5 /* PLL2_ENA */
#define WM8962_PLL2_ENA_WIDTH 1 /* PLL2_ENA */
#define WM8962_PLL3_ENA 0x0010 /* PLL3_ENA */
#define WM8962_PLL3_ENA_MASK 0x0010 /* PLL3_ENA */
#define WM8962_PLL3_ENA_SHIFT 4 /* PLL3_ENA */
#define WM8962_PLL3_ENA_WIDTH 1 /* PLL3_ENA */
/*
* R131 (0x83) - PLL 4
*/
#define WM8962_PLL_CLK_SRC 0x0002 /* PLL_CLK_SRC */
#define WM8962_PLL_CLK_SRC_MASK 0x0002 /* PLL_CLK_SRC */
#define WM8962_PLL_CLK_SRC_SHIFT 1 /* PLL_CLK_SRC */
#define WM8962_PLL_CLK_SRC_WIDTH 1 /* PLL_CLK_SRC */
#define WM8962_FLL_TO_PLL3 0x0001 /* FLL_TO_PLL3 */
#define WM8962_FLL_TO_PLL3_MASK 0x0001 /* FLL_TO_PLL3 */
#define WM8962_FLL_TO_PLL3_SHIFT 0 /* FLL_TO_PLL3 */
#define WM8962_FLL_TO_PLL3_WIDTH 1 /* FLL_TO_PLL3 */
/*
* R136 (0x88) - PLL 9
*/
#define WM8962_PLL2_FRAC 0x0040 /* PLL2_FRAC */
#define WM8962_PLL2_FRAC_MASK 0x0040 /* PLL2_FRAC */
#define WM8962_PLL2_FRAC_SHIFT 6 /* PLL2_FRAC */
#define WM8962_PLL2_FRAC_WIDTH 1 /* PLL2_FRAC */
#define WM8962_PLL2_N_MASK 0x001F /* PLL2_N - [4:0] */
#define WM8962_PLL2_N_SHIFT 0 /* PLL2_N - [4:0] */
#define WM8962_PLL2_N_WIDTH 5 /* PLL2_N - [4:0] */
/*
* R137 (0x89) - PLL 10
*/
#define WM8962_PLL2_K_MASK 0x00FF /* PLL2_K - [7:0] */
#define WM8962_PLL2_K_SHIFT 0 /* PLL2_K - [7:0] */
#define WM8962_PLL2_K_WIDTH 8 /* PLL2_K - [7:0] */
/*
* R138 (0x8A) - PLL 11
*/
#define WM8962_PLL2_K_MASK 0x00FF /* PLL2_K - [7:0] */
#define WM8962_PLL2_K_SHIFT 0 /* PLL2_K - [7:0] */
#define WM8962_PLL2_K_WIDTH 8 /* PLL2_K - [7:0] */
/*
* R139 (0x8B) - PLL 12
*/
#define WM8962_PLL2_K_MASK 0x00FF /* PLL2_K - [7:0] */
#define WM8962_PLL2_K_SHIFT 0 /* PLL2_K - [7:0] */
#define WM8962_PLL2_K_WIDTH 8 /* PLL2_K - [7:0] */
/*
* R140 (0x8C) - PLL 13
*/
#define WM8962_PLL3_FRAC 0x0040 /* PLL3_FRAC */
#define WM8962_PLL3_FRAC_MASK 0x0040 /* PLL3_FRAC */
#define WM8962_PLL3_FRAC_SHIFT 6 /* PLL3_FRAC */
#define WM8962_PLL3_FRAC_WIDTH 1 /* PLL3_FRAC */
#define WM8962_PLL3_N_MASK 0x001F /* PLL3_N - [4:0] */
#define WM8962_PLL3_N_SHIFT 0 /* PLL3_N - [4:0] */
#define WM8962_PLL3_N_WIDTH 5 /* PLL3_N - [4:0] */
/*
* R141 (0x8D) - PLL 14
*/
#define WM8962_PLL3_K_MASK 0x00FF /* PLL3_K - [7:0] */
#define WM8962_PLL3_K_SHIFT 0 /* PLL3_K - [7:0] */
#define WM8962_PLL3_K_WIDTH 8 /* PLL3_K - [7:0] */
/*
* R142 (0x8E) - PLL 15
*/
#define WM8962_PLL3_K_MASK 0x00FF /* PLL3_K - [7:0] */
#define WM8962_PLL3_K_SHIFT 0 /* PLL3_K - [7:0] */
#define WM8962_PLL3_K_WIDTH 8 /* PLL3_K - [7:0] */
/*
* R143 (0x8F) - PLL 16
*/
#define WM8962_PLL3_K_MASK 0x00FF /* PLL3_K - [7:0] */
#define WM8962_PLL3_K_SHIFT 0 /* PLL3_K - [7:0] */
#define WM8962_PLL3_K_WIDTH 8 /* PLL3_K - [7:0] */
/*
* R155 (0x9B) - FLL Control (1)
*/
#define WM8962_FLL_REFCLK_SRC_MASK 0x0060 /* FLL_REFCLK_SRC - [6:5] */
#define WM8962_FLL_REFCLK_SRC_SHIFT 5 /* FLL_REFCLK_SRC - [6:5] */
#define WM8962_FLL_REFCLK_SRC_WIDTH 2 /* FLL_REFCLK_SRC - [6:5] */
#define WM8962_FLL_FRAC 0x0004 /* FLL_FRAC */
#define WM8962_FLL_FRAC_MASK 0x0004 /* FLL_FRAC */
#define WM8962_FLL_FRAC_SHIFT 2 /* FLL_FRAC */
#define WM8962_FLL_FRAC_WIDTH 1 /* FLL_FRAC */
#define WM8962_FLL_OSC_ENA 0x0002 /* FLL_OSC_ENA */
#define WM8962_FLL_OSC_ENA_MASK 0x0002 /* FLL_OSC_ENA */
#define WM8962_FLL_OSC_ENA_SHIFT 1 /* FLL_OSC_ENA */
#define WM8962_FLL_OSC_ENA_WIDTH 1 /* FLL_OSC_ENA */
#define WM8962_FLL_ENA 0x0001 /* FLL_ENA */
#define WM8962_FLL_ENA_MASK 0x0001 /* FLL_ENA */
#define WM8962_FLL_ENA_SHIFT 0 /* FLL_ENA */
#define WM8962_FLL_ENA_WIDTH 1 /* FLL_ENA */
/*
* R156 (0x9C) - FLL Control (2)
*/
#define WM8962_FLL_OUTDIV_MASK 0x01F8 /* FLL_OUTDIV - [8:3] */
#define WM8962_FLL_OUTDIV_SHIFT 3 /* FLL_OUTDIV - [8:3] */
#define WM8962_FLL_OUTDIV_WIDTH 6 /* FLL_OUTDIV - [8:3] */
#define WM8962_FLL_REFCLK_DIV_MASK 0x0003 /* FLL_REFCLK_DIV - [1:0] */
#define WM8962_FLL_REFCLK_DIV_SHIFT 0 /* FLL_REFCLK_DIV - [1:0] */
#define WM8962_FLL_REFCLK_DIV_WIDTH 2 /* FLL_REFCLK_DIV - [1:0] */
/*
* R157 (0x9D) - FLL Control (3)
*/
#define WM8962_FLL_FRATIO_MASK 0x0007 /* FLL_FRATIO - [2:0] */
#define WM8962_FLL_FRATIO_SHIFT 0 /* FLL_FRATIO - [2:0] */
#define WM8962_FLL_FRATIO_WIDTH 3 /* FLL_FRATIO - [2:0] */
/*
* R159 (0x9F) - FLL Control (5)
*/
#define WM8962_FLL_FRC_NCO_VAL_MASK 0x007E /* FLL_FRC_NCO_VAL - [6:1] */
#define WM8962_FLL_FRC_NCO_VAL_SHIFT 1 /* FLL_FRC_NCO_VAL - [6:1] */
#define WM8962_FLL_FRC_NCO_VAL_WIDTH 6 /* FLL_FRC_NCO_VAL - [6:1] */
#define WM8962_FLL_FRC_NCO 0x0001 /* FLL_FRC_NCO */
#define WM8962_FLL_FRC_NCO_MASK 0x0001 /* FLL_FRC_NCO */
#define WM8962_FLL_FRC_NCO_SHIFT 0 /* FLL_FRC_NCO */
#define WM8962_FLL_FRC_NCO_WIDTH 1 /* FLL_FRC_NCO */
/*
* R160 (0xA0) - FLL Control (6)
*/
#define WM8962_FLL_THETA_MASK 0xFFFF /* FLL_THETA - [15:0] */
#define WM8962_FLL_THETA_SHIFT 0 /* FLL_THETA - [15:0] */
#define WM8962_FLL_THETA_WIDTH 16 /* FLL_THETA - [15:0] */
/*
* R161 (0xA1) - FLL Control (7)
*/
#define WM8962_FLL_LAMBDA_MASK 0xFFFF /* FLL_LAMBDA - [15:0] */
#define WM8962_FLL_LAMBDA_SHIFT 0 /* FLL_LAMBDA - [15:0] */
#define WM8962_FLL_LAMBDA_WIDTH 16 /* FLL_LAMBDA - [15:0] */
/*
* R162 (0xA2) - FLL Control (8)
*/
#define WM8962_FLL_N_MASK 0x03FF /* FLL_N - [9:0] */
#define WM8962_FLL_N_SHIFT 0 /* FLL_N - [9:0] */
#define WM8962_FLL_N_WIDTH 10 /* FLL_N - [9:0] */
/*
* R252 (0xFC) - General test 1
*/
#define WM8962_REG_SYNC 0x0004 /* REG_SYNC */
#define WM8962_REG_SYNC_MASK 0x0004 /* REG_SYNC */
#define WM8962_REG_SYNC_SHIFT 2 /* REG_SYNC */
#define WM8962_REG_SYNC_WIDTH 1 /* REG_SYNC */
#define WM8962_AUTO_INC 0x0001 /* AUTO_INC */
#define WM8962_AUTO_INC_MASK 0x0001 /* AUTO_INC */
#define WM8962_AUTO_INC_SHIFT 0 /* AUTO_INC */
#define WM8962_AUTO_INC_WIDTH 1 /* AUTO_INC */
/*
* R256 (0x100) - DF1
*/
#define WM8962_DRC_DF1_ENA 0x0008 /* DRC_DF1_ENA */
#define WM8962_DRC_DF1_ENA_MASK 0x0008 /* DRC_DF1_ENA */
#define WM8962_DRC_DF1_ENA_SHIFT 3 /* DRC_DF1_ENA */
#define WM8962_DRC_DF1_ENA_WIDTH 1 /* DRC_DF1_ENA */
#define WM8962_DF1_SHARED_COEFF 0x0004 /* DF1_SHARED_COEFF */
#define WM8962_DF1_SHARED_COEFF_MASK 0x0004 /* DF1_SHARED_COEFF */
#define WM8962_DF1_SHARED_COEFF_SHIFT 2 /* DF1_SHARED_COEFF */
#define WM8962_DF1_SHARED_COEFF_WIDTH 1 /* DF1_SHARED_COEFF */
#define WM8962_DF1_SHARED_COEFF_SEL 0x0002 /* DF1_SHARED_COEFF_SEL */
#define WM8962_DF1_SHARED_COEFF_SEL_MASK 0x0002 /* DF1_SHARED_COEFF_SEL */
#define WM8962_DF1_SHARED_COEFF_SEL_SHIFT 1 /* DF1_SHARED_COEFF_SEL */
#define WM8962_DF1_SHARED_COEFF_SEL_WIDTH 1 /* DF1_SHARED_COEFF_SEL */
#define WM8962_DF1_ENA 0x0001 /* DF1_ENA */
#define WM8962_DF1_ENA_MASK 0x0001 /* DF1_ENA */
#define WM8962_DF1_ENA_SHIFT 0 /* DF1_ENA */
#define WM8962_DF1_ENA_WIDTH 1 /* DF1_ENA */
/*
* R257 (0x101) - DF2
*/
#define WM8962_DF1_COEFF_L0_MASK 0xFFFF /* DF1_COEFF_L0 - [15:0] */
#define WM8962_DF1_COEFF_L0_SHIFT 0 /* DF1_COEFF_L0 - [15:0] */
#define WM8962_DF1_COEFF_L0_WIDTH 16 /* DF1_COEFF_L0 - [15:0] */
/*
* R258 (0x102) - DF3
*/
#define WM8962_DF1_COEFF_L1_MASK 0xFFFF /* DF1_COEFF_L1 - [15:0] */
#define WM8962_DF1_COEFF_L1_SHIFT 0 /* DF1_COEFF_L1 - [15:0] */
#define WM8962_DF1_COEFF_L1_WIDTH 16 /* DF1_COEFF_L1 - [15:0] */
/*
* R259 (0x103) - DF4
*/
#define WM8962_DF1_COEFF_L2_MASK 0xFFFF /* DF1_COEFF_L2 - [15:0] */
#define WM8962_DF1_COEFF_L2_SHIFT 0 /* DF1_COEFF_L2 - [15:0] */
#define WM8962_DF1_COEFF_L2_WIDTH 16 /* DF1_COEFF_L2 - [15:0] */
/*
* R260 (0x104) - DF5
*/
#define WM8962_DF1_COEFF_R0_MASK 0xFFFF /* DF1_COEFF_R0 - [15:0] */
#define WM8962_DF1_COEFF_R0_SHIFT 0 /* DF1_COEFF_R0 - [15:0] */
#define WM8962_DF1_COEFF_R0_WIDTH 16 /* DF1_COEFF_R0 - [15:0] */
/*
* R261 (0x105) - DF6
*/
#define WM8962_DF1_COEFF_R1_MASK 0xFFFF /* DF1_COEFF_R1 - [15:0] */
#define WM8962_DF1_COEFF_R1_SHIFT 0 /* DF1_COEFF_R1 - [15:0] */
#define WM8962_DF1_COEFF_R1_WIDTH 16 /* DF1_COEFF_R1 - [15:0] */
/*
* R262 (0x106) - DF7
*/
#define WM8962_DF1_COEFF_R2_MASK 0xFFFF /* DF1_COEFF_R2 - [15:0] */
#define WM8962_DF1_COEFF_R2_SHIFT 0 /* DF1_COEFF_R2 - [15:0] */
#define WM8962_DF1_COEFF_R2_WIDTH 16 /* DF1_COEFF_R2 - [15:0] */
/*
* R264 (0x108) - LHPF1
*/
#define WM8962_LHPF_MODE 0x0002 /* LHPF_MODE */
#define WM8962_LHPF_MODE_MASK 0x0002 /* LHPF_MODE */
#define WM8962_LHPF_MODE_SHIFT 1 /* LHPF_MODE */
#define WM8962_LHPF_MODE_WIDTH 1 /* LHPF_MODE */
#define WM8962_LHPF_ENA 0x0001 /* LHPF_ENA */
#define WM8962_LHPF_ENA_MASK 0x0001 /* LHPF_ENA */
#define WM8962_LHPF_ENA_SHIFT 0 /* LHPF_ENA */
#define WM8962_LHPF_ENA_WIDTH 1 /* LHPF_ENA */
/*
* R265 (0x109) - LHPF2
*/
#define WM8962_LHPF_COEFF_MASK 0xFFFF /* LHPF_COEFF - [15:0] */
#define WM8962_LHPF_COEFF_SHIFT 0 /* LHPF_COEFF - [15:0] */
#define WM8962_LHPF_COEFF_WIDTH 16 /* LHPF_COEFF - [15:0] */
/*
* R268 (0x10C) - THREED1
*/
#define WM8962_ADC_MONOMIX 0x0040 /* ADC_MONOMIX */
#define WM8962_ADC_MONOMIX_MASK 0x0040 /* ADC_MONOMIX */
#define WM8962_ADC_MONOMIX_SHIFT 6 /* ADC_MONOMIX */
#define WM8962_ADC_MONOMIX_WIDTH 1 /* ADC_MONOMIX */
#define WM8962_THREED_SIGN_L 0x0020 /* THREED_SIGN_L */
#define WM8962_THREED_SIGN_L_MASK 0x0020 /* THREED_SIGN_L */
#define WM8962_THREED_SIGN_L_SHIFT 5 /* THREED_SIGN_L */
#define WM8962_THREED_SIGN_L_WIDTH 1 /* THREED_SIGN_L */
#define WM8962_THREED_SIGN_R 0x0010 /* THREED_SIGN_R */
#define WM8962_THREED_SIGN_R_MASK 0x0010 /* THREED_SIGN_R */
#define WM8962_THREED_SIGN_R_SHIFT 4 /* THREED_SIGN_R */
#define WM8962_THREED_SIGN_R_WIDTH 1 /* THREED_SIGN_R */
#define WM8962_THREED_LHPF_MODE 0x0004 /* THREED_LHPF_MODE */
#define WM8962_THREED_LHPF_MODE_MASK 0x0004 /* THREED_LHPF_MODE */
#define WM8962_THREED_LHPF_MODE_SHIFT 2 /* THREED_LHPF_MODE */
#define WM8962_THREED_LHPF_MODE_WIDTH 1 /* THREED_LHPF_MODE */
#define WM8962_THREED_LHPF_ENA 0x0002 /* THREED_LHPF_ENA */
#define WM8962_THREED_LHPF_ENA_MASK 0x0002 /* THREED_LHPF_ENA */
#define WM8962_THREED_LHPF_ENA_SHIFT 1 /* THREED_LHPF_ENA */
#define WM8962_THREED_LHPF_ENA_WIDTH 1 /* THREED_LHPF_ENA */
#define WM8962_THREED_ENA 0x0001 /* THREED_ENA */
#define WM8962_THREED_ENA_MASK 0x0001 /* THREED_ENA */
#define WM8962_THREED_ENA_SHIFT 0 /* THREED_ENA */
#define WM8962_THREED_ENA_WIDTH 1 /* THREED_ENA */
/*
* R269 (0x10D) - THREED2
*/
#define WM8962_THREED_FGAINL_MASK 0xF800 /* THREED_FGAINL - [15:11] */
#define WM8962_THREED_FGAINL_SHIFT 11 /* THREED_FGAINL - [15:11] */
#define WM8962_THREED_FGAINL_WIDTH 5 /* THREED_FGAINL - [15:11] */
#define WM8962_THREED_CGAINL_MASK 0x07C0 /* THREED_CGAINL - [10:6] */
#define WM8962_THREED_CGAINL_SHIFT 6 /* THREED_CGAINL - [10:6] */
#define WM8962_THREED_CGAINL_WIDTH 5 /* THREED_CGAINL - [10:6] */
#define WM8962_THREED_DELAYL_MASK 0x003C /* THREED_DELAYL - [5:2] */
#define WM8962_THREED_DELAYL_SHIFT 2 /* THREED_DELAYL - [5:2] */
#define WM8962_THREED_DELAYL_WIDTH 4 /* THREED_DELAYL - [5:2] */
/*
* R270 (0x10E) - THREED3
*/
#define WM8962_THREED_LHPF_COEFF_MASK 0xFFFF /* THREED_LHPF_COEFF - [15:0] */
#define WM8962_THREED_LHPF_COEFF_SHIFT 0 /* THREED_LHPF_COEFF - [15:0] */
#define WM8962_THREED_LHPF_COEFF_WIDTH 16 /* THREED_LHPF_COEFF - [15:0] */
/*
* R271 (0x10F) - THREED4
*/
#define WM8962_THREED_FGAINR_MASK 0xF800 /* THREED_FGAINR - [15:11] */
#define WM8962_THREED_FGAINR_SHIFT 11 /* THREED_FGAINR - [15:11] */
#define WM8962_THREED_FGAINR_WIDTH 5 /* THREED_FGAINR - [15:11] */
#define WM8962_THREED_CGAINR_MASK 0x07C0 /* THREED_CGAINR - [10:6] */
#define WM8962_THREED_CGAINR_SHIFT 6 /* THREED_CGAINR - [10:6] */
#define WM8962_THREED_CGAINR_WIDTH 5 /* THREED_CGAINR - [10:6] */
#define WM8962_THREED_DELAYR_MASK 0x003C /* THREED_DELAYR - [5:2] */
#define WM8962_THREED_DELAYR_SHIFT 2 /* THREED_DELAYR - [5:2] */
#define WM8962_THREED_DELAYR_WIDTH 4 /* THREED_DELAYR - [5:2] */
/*
* R276 (0x114) - DRC 1
*/
#define WM8962_DRC_SIG_DET_RMS_MASK 0x7C00 /* DRC_SIG_DET_RMS - [14:10] */
#define WM8962_DRC_SIG_DET_RMS_SHIFT 10 /* DRC_SIG_DET_RMS - [14:10] */
#define WM8962_DRC_SIG_DET_RMS_WIDTH 5 /* DRC_SIG_DET_RMS - [14:10] */
#define WM8962_DRC_SIG_DET_PK_MASK 0x0300 /* DRC_SIG_DET_PK - [9:8] */
#define WM8962_DRC_SIG_DET_PK_SHIFT 8 /* DRC_SIG_DET_PK - [9:8] */
#define WM8962_DRC_SIG_DET_PK_WIDTH 2 /* DRC_SIG_DET_PK - [9:8] */
#define WM8962_DRC_NG_ENA 0x0080 /* DRC_NG_ENA */
#define WM8962_DRC_NG_ENA_MASK 0x0080 /* DRC_NG_ENA */
#define WM8962_DRC_NG_ENA_SHIFT 7 /* DRC_NG_ENA */
#define WM8962_DRC_NG_ENA_WIDTH 1 /* DRC_NG_ENA */
#define WM8962_DRC_SIG_DET_MODE 0x0040 /* DRC_SIG_DET_MODE */
#define WM8962_DRC_SIG_DET_MODE_MASK 0x0040 /* DRC_SIG_DET_MODE */
#define WM8962_DRC_SIG_DET_MODE_SHIFT 6 /* DRC_SIG_DET_MODE */
#define WM8962_DRC_SIG_DET_MODE_WIDTH 1 /* DRC_SIG_DET_MODE */
#define WM8962_DRC_SIG_DET 0x0020 /* DRC_SIG_DET */
#define WM8962_DRC_SIG_DET_MASK 0x0020 /* DRC_SIG_DET */
#define WM8962_DRC_SIG_DET_SHIFT 5 /* DRC_SIG_DET */
#define WM8962_DRC_SIG_DET_WIDTH 1 /* DRC_SIG_DET */
#define WM8962_DRC_KNEE2_OP_ENA 0x0010 /* DRC_KNEE2_OP_ENA */
#define WM8962_DRC_KNEE2_OP_ENA_MASK 0x0010 /* DRC_KNEE2_OP_ENA */
#define WM8962_DRC_KNEE2_OP_ENA_SHIFT 4 /* DRC_KNEE2_OP_ENA */
#define WM8962_DRC_KNEE2_OP_ENA_WIDTH 1 /* DRC_KNEE2_OP_ENA */
#define WM8962_DRC_QR 0x0008 /* DRC_QR */
#define WM8962_DRC_QR_MASK 0x0008 /* DRC_QR */
#define WM8962_DRC_QR_SHIFT 3 /* DRC_QR */
#define WM8962_DRC_QR_WIDTH 1 /* DRC_QR */
#define WM8962_DRC_ANTICLIP 0x0004 /* DRC_ANTICLIP */
#define WM8962_DRC_ANTICLIP_MASK 0x0004 /* DRC_ANTICLIP */
#define WM8962_DRC_ANTICLIP_SHIFT 2 /* DRC_ANTICLIP */
#define WM8962_DRC_ANTICLIP_WIDTH 1 /* DRC_ANTICLIP */
#define WM8962_DRC_MODE 0x0002 /* DRC_MODE */
#define WM8962_DRC_MODE_MASK 0x0002 /* DRC_MODE */
#define WM8962_DRC_MODE_SHIFT 1 /* DRC_MODE */
#define WM8962_DRC_MODE_WIDTH 1 /* DRC_MODE */
#define WM8962_DRC_ENA 0x0001 /* DRC_ENA */
#define WM8962_DRC_ENA_MASK 0x0001 /* DRC_ENA */
#define WM8962_DRC_ENA_SHIFT 0 /* DRC_ENA */
#define WM8962_DRC_ENA_WIDTH 1 /* DRC_ENA */
/*
* R277 (0x115) - DRC 2
*/
#define WM8962_DRC_ATK_MASK 0x1E00 /* DRC_ATK - [12:9] */
#define WM8962_DRC_ATK_SHIFT 9 /* DRC_ATK - [12:9] */
#define WM8962_DRC_ATK_WIDTH 4 /* DRC_ATK - [12:9] */
#define WM8962_DRC_DCY_MASK 0x01E0 /* DRC_DCY - [8:5] */
#define WM8962_DRC_DCY_SHIFT 5 /* DRC_DCY - [8:5] */
#define WM8962_DRC_DCY_WIDTH 4 /* DRC_DCY - [8:5] */
#define WM8962_DRC_MINGAIN_MASK 0x001C /* DRC_MINGAIN - [4:2] */
#define WM8962_DRC_MINGAIN_SHIFT 2 /* DRC_MINGAIN - [4:2] */
#define WM8962_DRC_MINGAIN_WIDTH 3 /* DRC_MINGAIN - [4:2] */
#define WM8962_DRC_MAXGAIN_MASK 0x0003 /* DRC_MAXGAIN - [1:0] */
#define WM8962_DRC_MAXGAIN_SHIFT 0 /* DRC_MAXGAIN - [1:0] */
#define WM8962_DRC_MAXGAIN_WIDTH 2 /* DRC_MAXGAIN - [1:0] */
/*
* R278 (0x116) - DRC 3
*/
#define WM8962_DRC_NG_MINGAIN_MASK 0xF000 /* DRC_NG_MINGAIN - [15:12] */
#define WM8962_DRC_NG_MINGAIN_SHIFT 12 /* DRC_NG_MINGAIN - [15:12] */
#define WM8962_DRC_NG_MINGAIN_WIDTH 4 /* DRC_NG_MINGAIN - [15:12] */
#define WM8962_DRC_QR_THR_MASK 0x0C00 /* DRC_QR_THR - [11:10] */
#define WM8962_DRC_QR_THR_SHIFT 10 /* DRC_QR_THR - [11:10] */
#define WM8962_DRC_QR_THR_WIDTH 2 /* DRC_QR_THR - [11:10] */
#define WM8962_DRC_QR_DCY_MASK 0x0300 /* DRC_QR_DCY - [9:8] */
#define WM8962_DRC_QR_DCY_SHIFT 8 /* DRC_QR_DCY - [9:8] */
#define WM8962_DRC_QR_DCY_WIDTH 2 /* DRC_QR_DCY - [9:8] */
#define WM8962_DRC_NG_EXP_MASK 0x00C0 /* DRC_NG_EXP - [7:6] */
#define WM8962_DRC_NG_EXP_SHIFT 6 /* DRC_NG_EXP - [7:6] */
#define WM8962_DRC_NG_EXP_WIDTH 2 /* DRC_NG_EXP - [7:6] */
#define WM8962_DRC_HI_COMP_MASK 0x0038 /* DRC_HI_COMP - [5:3] */
#define WM8962_DRC_HI_COMP_SHIFT 3 /* DRC_HI_COMP - [5:3] */
#define WM8962_DRC_HI_COMP_WIDTH 3 /* DRC_HI_COMP - [5:3] */
#define WM8962_DRC_LO_COMP_MASK 0x0007 /* DRC_LO_COMP - [2:0] */
#define WM8962_DRC_LO_COMP_SHIFT 0 /* DRC_LO_COMP - [2:0] */
#define WM8962_DRC_LO_COMP_WIDTH 3 /* DRC_LO_COMP - [2:0] */
/*
* R279 (0x117) - DRC 4
*/
#define WM8962_DRC_KNEE_IP_MASK 0x07E0 /* DRC_KNEE_IP - [10:5] */
#define WM8962_DRC_KNEE_IP_SHIFT 5 /* DRC_KNEE_IP - [10:5] */
#define WM8962_DRC_KNEE_IP_WIDTH 6 /* DRC_KNEE_IP - [10:5] */
#define WM8962_DRC_KNEE_OP_MASK 0x001F /* DRC_KNEE_OP - [4:0] */
#define WM8962_DRC_KNEE_OP_SHIFT 0 /* DRC_KNEE_OP - [4:0] */
#define WM8962_DRC_KNEE_OP_WIDTH 5 /* DRC_KNEE_OP - [4:0] */
/*
* R280 (0x118) - DRC 5
*/
#define WM8962_DRC_KNEE2_IP_MASK 0x03E0 /* DRC_KNEE2_IP - [9:5] */
#define WM8962_DRC_KNEE2_IP_SHIFT 5 /* DRC_KNEE2_IP - [9:5] */
#define WM8962_DRC_KNEE2_IP_WIDTH 5 /* DRC_KNEE2_IP - [9:5] */
#define WM8962_DRC_KNEE2_OP_MASK 0x001F /* DRC_KNEE2_OP - [4:0] */
#define WM8962_DRC_KNEE2_OP_SHIFT 0 /* DRC_KNEE2_OP - [4:0] */
#define WM8962_DRC_KNEE2_OP_WIDTH 5 /* DRC_KNEE2_OP - [4:0] */
/*
* R285 (0x11D) - Tloopback
*/
#define WM8962_TLB_ENA 0x0002 /* TLB_ENA */
#define WM8962_TLB_ENA_MASK 0x0002 /* TLB_ENA */
#define WM8962_TLB_ENA_SHIFT 1 /* TLB_ENA */
#define WM8962_TLB_ENA_WIDTH 1 /* TLB_ENA */
#define WM8962_TLB_MODE 0x0001 /* TLB_MODE */
#define WM8962_TLB_MODE_MASK 0x0001 /* TLB_MODE */
#define WM8962_TLB_MODE_SHIFT 0 /* TLB_MODE */
#define WM8962_TLB_MODE_WIDTH 1 /* TLB_MODE */
/*
* R335 (0x14F) - EQ1
*/
#define WM8962_EQ_SHARED_COEFF 0x0004 /* EQ_SHARED_COEFF */
#define WM8962_EQ_SHARED_COEFF_MASK 0x0004 /* EQ_SHARED_COEFF */
#define WM8962_EQ_SHARED_COEFF_SHIFT 2 /* EQ_SHARED_COEFF */
#define WM8962_EQ_SHARED_COEFF_WIDTH 1 /* EQ_SHARED_COEFF */
#define WM8962_EQ_SHARED_COEFF_SEL 0x0002 /* EQ_SHARED_COEFF_SEL */
#define WM8962_EQ_SHARED_COEFF_SEL_MASK 0x0002 /* EQ_SHARED_COEFF_SEL */
#define WM8962_EQ_SHARED_COEFF_SEL_SHIFT 1 /* EQ_SHARED_COEFF_SEL */
#define WM8962_EQ_SHARED_COEFF_SEL_WIDTH 1 /* EQ_SHARED_COEFF_SEL */
#define WM8962_EQ_ENA 0x0001 /* EQ_ENA */
#define WM8962_EQ_ENA_MASK 0x0001 /* EQ_ENA */
#define WM8962_EQ_ENA_SHIFT 0 /* EQ_ENA */
#define WM8962_EQ_ENA_WIDTH 1 /* EQ_ENA */
/*
* R336 (0x150) - EQ2
*/
#define WM8962_EQL_B1_GAIN_MASK 0xF800 /* EQL_B1_GAIN - [15:11] */
#define WM8962_EQL_B1_GAIN_SHIFT 11 /* EQL_B1_GAIN - [15:11] */
#define WM8962_EQL_B1_GAIN_WIDTH 5 /* EQL_B1_GAIN - [15:11] */
#define WM8962_EQL_B2_GAIN_MASK 0x07C0 /* EQL_B2_GAIN - [10:6] */
#define WM8962_EQL_B2_GAIN_SHIFT 6 /* EQL_B2_GAIN - [10:6] */
#define WM8962_EQL_B2_GAIN_WIDTH 5 /* EQL_B2_GAIN - [10:6] */
#define WM8962_EQL_B3_GAIN_MASK 0x003E /* EQL_B3_GAIN - [5:1] */
#define WM8962_EQL_B3_GAIN_SHIFT 1 /* EQL_B3_GAIN - [5:1] */
#define WM8962_EQL_B3_GAIN_WIDTH 5 /* EQL_B3_GAIN - [5:1] */
/*
* R337 (0x151) - EQ3
*/
#define WM8962_EQL_B4_GAIN_MASK 0xF800 /* EQL_B4_GAIN - [15:11] */
#define WM8962_EQL_B4_GAIN_SHIFT 11 /* EQL_B4_GAIN - [15:11] */
#define WM8962_EQL_B4_GAIN_WIDTH 5 /* EQL_B4_GAIN - [15:11] */
#define WM8962_EQL_B5_GAIN_MASK 0x07C0 /* EQL_B5_GAIN - [10:6] */
#define WM8962_EQL_B5_GAIN_SHIFT 6 /* EQL_B5_GAIN - [10:6] */
#define WM8962_EQL_B5_GAIN_WIDTH 5 /* EQL_B5_GAIN - [10:6] */
/*
* R338 (0x152) - EQ4
*/
#define WM8962_EQL_B1_A_MASK 0xFFFF /* EQL_B1_A - [15:0] */
#define WM8962_EQL_B1_A_SHIFT 0 /* EQL_B1_A - [15:0] */
#define WM8962_EQL_B1_A_WIDTH 16 /* EQL_B1_A - [15:0] */
/*
* R339 (0x153) - EQ5
*/
#define WM8962_EQL_B1_B_MASK 0xFFFF /* EQL_B1_B - [15:0] */
#define WM8962_EQL_B1_B_SHIFT 0 /* EQL_B1_B - [15:0] */
#define WM8962_EQL_B1_B_WIDTH 16 /* EQL_B1_B - [15:0] */
/*
* R340 (0x154) - EQ6
*/
#define WM8962_EQL_B1_PG_MASK 0xFFFF /* EQL_B1_PG - [15:0] */
#define WM8962_EQL_B1_PG_SHIFT 0 /* EQL_B1_PG - [15:0] */
#define WM8962_EQL_B1_PG_WIDTH 16 /* EQL_B1_PG - [15:0] */
/*
* R341 (0x155) - EQ7
*/
#define WM8962_EQL_B2_A_MASK 0xFFFF /* EQL_B2_A - [15:0] */
#define WM8962_EQL_B2_A_SHIFT 0 /* EQL_B2_A - [15:0] */
#define WM8962_EQL_B2_A_WIDTH 16 /* EQL_B2_A - [15:0] */
/*
* R342 (0x156) - EQ8
*/
#define WM8962_EQL_B2_B_MASK 0xFFFF /* EQL_B2_B - [15:0] */
#define WM8962_EQL_B2_B_SHIFT 0 /* EQL_B2_B - [15:0] */
#define WM8962_EQL_B2_B_WIDTH 16 /* EQL_B2_B - [15:0] */
/*
* R343 (0x157) - EQ9
*/
#define WM8962_EQL_B2_C_MASK 0xFFFF /* EQL_B2_C - [15:0] */
#define WM8962_EQL_B2_C_SHIFT 0 /* EQL_B2_C - [15:0] */
#define WM8962_EQL_B2_C_WIDTH 16 /* EQL_B2_C - [15:0] */
/*
* R344 (0x158) - EQ10
*/
#define WM8962_EQL_B2_PG_MASK 0xFFFF /* EQL_B2_PG - [15:0] */
#define WM8962_EQL_B2_PG_SHIFT 0 /* EQL_B2_PG - [15:0] */
#define WM8962_EQL_B2_PG_WIDTH 16 /* EQL_B2_PG - [15:0] */
/*
* R345 (0x159) - EQ11
*/
#define WM8962_EQL_B3_A_MASK 0xFFFF /* EQL_B3_A - [15:0] */
#define WM8962_EQL_B3_A_SHIFT 0 /* EQL_B3_A - [15:0] */
#define WM8962_EQL_B3_A_WIDTH 16 /* EQL_B3_A - [15:0] */
/*
* R346 (0x15A) - EQ12
*/
#define WM8962_EQL_B3_B_MASK 0xFFFF /* EQL_B3_B - [15:0] */
#define WM8962_EQL_B3_B_SHIFT 0 /* EQL_B3_B - [15:0] */
#define WM8962_EQL_B3_B_WIDTH 16 /* EQL_B3_B - [15:0] */
/*
* R347 (0x15B) - EQ13
*/
#define WM8962_EQL_B3_C_MASK 0xFFFF /* EQL_B3_C - [15:0] */
#define WM8962_EQL_B3_C_SHIFT 0 /* EQL_B3_C - [15:0] */
#define WM8962_EQL_B3_C_WIDTH 16 /* EQL_B3_C - [15:0] */
/*
* R348 (0x15C) - EQ14
*/
#define WM8962_EQL_B3_PG_MASK 0xFFFF /* EQL_B3_PG - [15:0] */
#define WM8962_EQL_B3_PG_SHIFT 0 /* EQL_B3_PG - [15:0] */
#define WM8962_EQL_B3_PG_WIDTH 16 /* EQL_B3_PG - [15:0] */
/*
* R349 (0x15D) - EQ15
*/
#define WM8962_EQL_B4_A_MASK 0xFFFF /* EQL_B4_A - [15:0] */
#define WM8962_EQL_B4_A_SHIFT 0 /* EQL_B4_A - [15:0] */
#define WM8962_EQL_B4_A_WIDTH 16 /* EQL_B4_A - [15:0] */
/*
* R350 (0x15E) - EQ16
*/
#define WM8962_EQL_B4_B_MASK 0xFFFF /* EQL_B4_B - [15:0] */
#define WM8962_EQL_B4_B_SHIFT 0 /* EQL_B4_B - [15:0] */
#define WM8962_EQL_B4_B_WIDTH 16 /* EQL_B4_B - [15:0] */
/*
* R351 (0x15F) - EQ17
*/
#define WM8962_EQL_B4_C_MASK 0xFFFF /* EQL_B4_C - [15:0] */
#define WM8962_EQL_B4_C_SHIFT 0 /* EQL_B4_C - [15:0] */
#define WM8962_EQL_B4_C_WIDTH 16 /* EQL_B4_C - [15:0] */
/*
* R352 (0x160) - EQ18
*/
#define WM8962_EQL_B4_PG_MASK 0xFFFF /* EQL_B4_PG - [15:0] */
#define WM8962_EQL_B4_PG_SHIFT 0 /* EQL_B4_PG - [15:0] */
#define WM8962_EQL_B4_PG_WIDTH 16 /* EQL_B4_PG - [15:0] */
/*
* R353 (0x161) - EQ19
*/
#define WM8962_EQL_B5_A_MASK 0xFFFF /* EQL_B5_A - [15:0] */
#define WM8962_EQL_B5_A_SHIFT 0 /* EQL_B5_A - [15:0] */
#define WM8962_EQL_B5_A_WIDTH 16 /* EQL_B5_A - [15:0] */
/*
* R354 (0x162) - EQ20
*/
#define WM8962_EQL_B5_B_MASK 0xFFFF /* EQL_B5_B - [15:0] */
#define WM8962_EQL_B5_B_SHIFT 0 /* EQL_B5_B - [15:0] */
#define WM8962_EQL_B5_B_WIDTH 16 /* EQL_B5_B - [15:0] */
/*
* R355 (0x163) - EQ21
*/
#define WM8962_EQL_B5_PG_MASK 0xFFFF /* EQL_B5_PG - [15:0] */
#define WM8962_EQL_B5_PG_SHIFT 0 /* EQL_B5_PG - [15:0] */
#define WM8962_EQL_B5_PG_WIDTH 16 /* EQL_B5_PG - [15:0] */
/*
* R356 (0x164) - EQ22
*/
#define WM8962_EQR_B1_GAIN_MASK 0xF800 /* EQR_B1_GAIN - [15:11] */
#define WM8962_EQR_B1_GAIN_SHIFT 11 /* EQR_B1_GAIN - [15:11] */
#define WM8962_EQR_B1_GAIN_WIDTH 5 /* EQR_B1_GAIN - [15:11] */
#define WM8962_EQR_B2_GAIN_MASK 0x07C0 /* EQR_B2_GAIN - [10:6] */
#define WM8962_EQR_B2_GAIN_SHIFT 6 /* EQR_B2_GAIN - [10:6] */
#define WM8962_EQR_B2_GAIN_WIDTH 5 /* EQR_B2_GAIN - [10:6] */
#define WM8962_EQR_B3_GAIN_MASK 0x003E /* EQR_B3_GAIN - [5:1] */
#define WM8962_EQR_B3_GAIN_SHIFT 1 /* EQR_B3_GAIN - [5:1] */
#define WM8962_EQR_B3_GAIN_WIDTH 5 /* EQR_B3_GAIN - [5:1] */
/*
* R357 (0x165) - EQ23
*/
#define WM8962_EQR_B4_GAIN_MASK 0xF800 /* EQR_B4_GAIN - [15:11] */
#define WM8962_EQR_B4_GAIN_SHIFT 11 /* EQR_B4_GAIN - [15:11] */
#define WM8962_EQR_B4_GAIN_WIDTH 5 /* EQR_B4_GAIN - [15:11] */
#define WM8962_EQR_B5_GAIN_MASK 0x07C0 /* EQR_B5_GAIN - [10:6] */
#define WM8962_EQR_B5_GAIN_SHIFT 6 /* EQR_B5_GAIN - [10:6] */
#define WM8962_EQR_B5_GAIN_WIDTH 5 /* EQR_B5_GAIN - [10:6] */
/*
* R358 (0x166) - EQ24
*/
#define WM8962_EQR_B1_A_MASK 0xFFFF /* EQR_B1_A - [15:0] */
#define WM8962_EQR_B1_A_SHIFT 0 /* EQR_B1_A - [15:0] */
#define WM8962_EQR_B1_A_WIDTH 16 /* EQR_B1_A - [15:0] */
/*
* R359 (0x167) - EQ25
*/
#define WM8962_EQR_B1_B_MASK 0xFFFF /* EQR_B1_B - [15:0] */
#define WM8962_EQR_B1_B_SHIFT 0 /* EQR_B1_B - [15:0] */
#define WM8962_EQR_B1_B_WIDTH 16 /* EQR_B1_B - [15:0] */
/*
* R360 (0x168) - EQ26
*/
#define WM8962_EQR_B1_PG_MASK 0xFFFF /* EQR_B1_PG - [15:0] */
#define WM8962_EQR_B1_PG_SHIFT 0 /* EQR_B1_PG - [15:0] */
#define WM8962_EQR_B1_PG_WIDTH 16 /* EQR_B1_PG - [15:0] */
/*
* R361 (0x169) - EQ27
*/
#define WM8962_EQR_B2_A_MASK 0xFFFF /* EQR_B2_A - [15:0] */
#define WM8962_EQR_B2_A_SHIFT 0 /* EQR_B2_A - [15:0] */
#define WM8962_EQR_B2_A_WIDTH 16 /* EQR_B2_A - [15:0] */
/*
* R362 (0x16A) - EQ28
*/
#define WM8962_EQR_B2_B_MASK 0xFFFF /* EQR_B2_B - [15:0] */
#define WM8962_EQR_B2_B_SHIFT 0 /* EQR_B2_B - [15:0] */
#define WM8962_EQR_B2_B_WIDTH 16 /* EQR_B2_B - [15:0] */
/*
* R363 (0x16B) - EQ29
*/
#define WM8962_EQR_B2_C_MASK 0xFFFF /* EQR_B2_C - [15:0] */
#define WM8962_EQR_B2_C_SHIFT 0 /* EQR_B2_C - [15:0] */
#define WM8962_EQR_B2_C_WIDTH 16 /* EQR_B2_C - [15:0] */
/*
* R364 (0x16C) - EQ30
*/
#define WM8962_EQR_B2_PG_MASK 0xFFFF /* EQR_B2_PG - [15:0] */
#define WM8962_EQR_B2_PG_SHIFT 0 /* EQR_B2_PG - [15:0] */
#define WM8962_EQR_B2_PG_WIDTH 16 /* EQR_B2_PG - [15:0] */
/*
* R365 (0x16D) - EQ31
*/
#define WM8962_EQR_B3_A_MASK 0xFFFF /* EQR_B3_A - [15:0] */
#define WM8962_EQR_B3_A_SHIFT 0 /* EQR_B3_A - [15:0] */
#define WM8962_EQR_B3_A_WIDTH 16 /* EQR_B3_A - [15:0] */
/*
* R366 (0x16E) - EQ32
*/
#define WM8962_EQR_B3_B_MASK 0xFFFF /* EQR_B3_B - [15:0] */
#define WM8962_EQR_B3_B_SHIFT 0 /* EQR_B3_B - [15:0] */
#define WM8962_EQR_B3_B_WIDTH 16 /* EQR_B3_B - [15:0] */
/*
* R367 (0x16F) - EQ33
*/
#define WM8962_EQR_B3_C_MASK 0xFFFF /* EQR_B3_C - [15:0] */
#define WM8962_EQR_B3_C_SHIFT 0 /* EQR_B3_C - [15:0] */
#define WM8962_EQR_B3_C_WIDTH 16 /* EQR_B3_C - [15:0] */
/*
* R368 (0x170) - EQ34
*/
#define WM8962_EQR_B3_PG_MASK 0xFFFF /* EQR_B3_PG - [15:0] */
#define WM8962_EQR_B3_PG_SHIFT 0 /* EQR_B3_PG - [15:0] */
#define WM8962_EQR_B3_PG_WIDTH 16 /* EQR_B3_PG - [15:0] */
/*
* R369 (0x171) - EQ35
*/
#define WM8962_EQR_B4_A_MASK 0xFFFF /* EQR_B4_A - [15:0] */
#define WM8962_EQR_B4_A_SHIFT 0 /* EQR_B4_A - [15:0] */
#define WM8962_EQR_B4_A_WIDTH 16 /* EQR_B4_A - [15:0] */
/*
* R370 (0x172) - EQ36
*/
#define WM8962_EQR_B4_B_MASK 0xFFFF /* EQR_B4_B - [15:0] */
#define WM8962_EQR_B4_B_SHIFT 0 /* EQR_B4_B - [15:0] */
#define WM8962_EQR_B4_B_WIDTH 16 /* EQR_B4_B - [15:0] */
/*
* R371 (0x173) - EQ37
*/
#define WM8962_EQR_B4_C_MASK 0xFFFF /* EQR_B4_C - [15:0] */
#define WM8962_EQR_B4_C_SHIFT 0 /* EQR_B4_C - [15:0] */
#define WM8962_EQR_B4_C_WIDTH 16 /* EQR_B4_C - [15:0] */
/*
* R372 (0x174) - EQ38
*/
#define WM8962_EQR_B4_PG_MASK 0xFFFF /* EQR_B4_PG - [15:0] */
#define WM8962_EQR_B4_PG_SHIFT 0 /* EQR_B4_PG - [15:0] */
#define WM8962_EQR_B4_PG_WIDTH 16 /* EQR_B4_PG - [15:0] */
/*
* R373 (0x175) - EQ39
*/
#define WM8962_EQR_B5_A_MASK 0xFFFF /* EQR_B5_A - [15:0] */
#define WM8962_EQR_B5_A_SHIFT 0 /* EQR_B5_A - [15:0] */
#define WM8962_EQR_B5_A_WIDTH 16 /* EQR_B5_A - [15:0] */
/*
* R374 (0x176) - EQ40
*/
#define WM8962_EQR_B5_B_MASK 0xFFFF /* EQR_B5_B - [15:0] */
#define WM8962_EQR_B5_B_SHIFT 0 /* EQR_B5_B - [15:0] */
#define WM8962_EQR_B5_B_WIDTH 16 /* EQR_B5_B - [15:0] */
/*
* R375 (0x177) - EQ41
*/
#define WM8962_EQR_B5_PG_MASK 0xFFFF /* EQR_B5_PG - [15:0] */
#define WM8962_EQR_B5_PG_SHIFT 0 /* EQR_B5_PG - [15:0] */
#define WM8962_EQR_B5_PG_WIDTH 16 /* EQR_B5_PG - [15:0] */
/*
* R513 (0x201) - GPIO 2
*/
#define WM8962_GP2_POL 0x0400 /* GP2_POL */
#define WM8962_GP2_POL_MASK 0x0400 /* GP2_POL */
#define WM8962_GP2_POL_SHIFT 10 /* GP2_POL */
#define WM8962_GP2_POL_WIDTH 1 /* GP2_POL */
#define WM8962_GP2_LVL 0x0040 /* GP2_LVL */
#define WM8962_GP2_LVL_MASK 0x0040 /* GP2_LVL */
#define WM8962_GP2_LVL_SHIFT 6 /* GP2_LVL */
#define WM8962_GP2_LVL_WIDTH 1 /* GP2_LVL */
#define WM8962_GP2_FN_MASK 0x001F /* GP2_FN - [4:0] */
#define WM8962_GP2_FN_SHIFT 0 /* GP2_FN - [4:0] */
#define WM8962_GP2_FN_WIDTH 5 /* GP2_FN - [4:0] */
/*
* R514 (0x202) - GPIO 3
*/
#define WM8962_GP3_POL 0x0400 /* GP3_POL */
#define WM8962_GP3_POL_MASK 0x0400 /* GP3_POL */
#define WM8962_GP3_POL_SHIFT 10 /* GP3_POL */
#define WM8962_GP3_POL_WIDTH 1 /* GP3_POL */
#define WM8962_GP3_LVL 0x0040 /* GP3_LVL */
#define WM8962_GP3_LVL_MASK 0x0040 /* GP3_LVL */
#define WM8962_GP3_LVL_SHIFT 6 /* GP3_LVL */
#define WM8962_GP3_LVL_WIDTH 1 /* GP3_LVL */
#define WM8962_GP3_FN_MASK 0x001F /* GP3_FN - [4:0] */
#define WM8962_GP3_FN_SHIFT 0 /* GP3_FN - [4:0] */
#define WM8962_GP3_FN_WIDTH 5 /* GP3_FN - [4:0] */
/*
* R516 (0x204) - GPIO 5
*/
#define WM8962_GP5_DIR 0x8000 /* GP5_DIR */
#define WM8962_GP5_DIR_MASK 0x8000 /* GP5_DIR */
#define WM8962_GP5_DIR_SHIFT 15 /* GP5_DIR */
#define WM8962_GP5_DIR_WIDTH 1 /* GP5_DIR */
#define WM8962_GP5_PU 0x4000 /* GP5_PU */
#define WM8962_GP5_PU_MASK 0x4000 /* GP5_PU */
#define WM8962_GP5_PU_SHIFT 14 /* GP5_PU */
#define WM8962_GP5_PU_WIDTH 1 /* GP5_PU */
#define WM8962_GP5_PD 0x2000 /* GP5_PD */
#define WM8962_GP5_PD_MASK 0x2000 /* GP5_PD */
#define WM8962_GP5_PD_SHIFT 13 /* GP5_PD */
#define WM8962_GP5_PD_WIDTH 1 /* GP5_PD */
#define WM8962_GP5_POL 0x0400 /* GP5_POL */
#define WM8962_GP5_POL_MASK 0x0400 /* GP5_POL */
#define WM8962_GP5_POL_SHIFT 10 /* GP5_POL */
#define WM8962_GP5_POL_WIDTH 1 /* GP5_POL */
#define WM8962_GP5_OP_CFG 0x0200 /* GP5_OP_CFG */
#define WM8962_GP5_OP_CFG_MASK 0x0200 /* GP5_OP_CFG */
#define WM8962_GP5_OP_CFG_SHIFT 9 /* GP5_OP_CFG */
#define WM8962_GP5_OP_CFG_WIDTH 1 /* GP5_OP_CFG */
#define WM8962_GP5_DB 0x0100 /* GP5_DB */
#define WM8962_GP5_DB_MASK 0x0100 /* GP5_DB */
#define WM8962_GP5_DB_SHIFT 8 /* GP5_DB */
#define WM8962_GP5_DB_WIDTH 1 /* GP5_DB */
#define WM8962_GP5_LVL 0x0040 /* GP5_LVL */
#define WM8962_GP5_LVL_MASK 0x0040 /* GP5_LVL */
#define WM8962_GP5_LVL_SHIFT 6 /* GP5_LVL */
#define WM8962_GP5_LVL_WIDTH 1 /* GP5_LVL */
#define WM8962_GP5_FN_MASK 0x001F /* GP5_FN - [4:0] */
#define WM8962_GP5_FN_SHIFT 0 /* GP5_FN - [4:0] */
#define WM8962_GP5_FN_WIDTH 5 /* GP5_FN - [4:0] */
/*
* R517 (0x205) - GPIO 6
*/
#define WM8962_GP6_DIR 0x8000 /* GP6_DIR */
#define WM8962_GP6_DIR_MASK 0x8000 /* GP6_DIR */
#define WM8962_GP6_DIR_SHIFT 15 /* GP6_DIR */
#define WM8962_GP6_DIR_WIDTH 1 /* GP6_DIR */
#define WM8962_GP6_PU 0x4000 /* GP6_PU */
#define WM8962_GP6_PU_MASK 0x4000 /* GP6_PU */
#define WM8962_GP6_PU_SHIFT 14 /* GP6_PU */
#define WM8962_GP6_PU_WIDTH 1 /* GP6_PU */
#define WM8962_GP6_PD 0x2000 /* GP6_PD */
#define WM8962_GP6_PD_MASK 0x2000 /* GP6_PD */
#define WM8962_GP6_PD_SHIFT 13 /* GP6_PD */
#define WM8962_GP6_PD_WIDTH 1 /* GP6_PD */
#define WM8962_GP6_POL 0x0400 /* GP6_POL */
#define WM8962_GP6_POL_MASK 0x0400 /* GP6_POL */
#define WM8962_GP6_POL_SHIFT 10 /* GP6_POL */
#define WM8962_GP6_POL_WIDTH 1 /* GP6_POL */
#define WM8962_GP6_OP_CFG 0x0200 /* GP6_OP_CFG */
#define WM8962_GP6_OP_CFG_MASK 0x0200 /* GP6_OP_CFG */
#define WM8962_GP6_OP_CFG_SHIFT 9 /* GP6_OP_CFG */
#define WM8962_GP6_OP_CFG_WIDTH 1 /* GP6_OP_CFG */
#define WM8962_GP6_DB 0x0100 /* GP6_DB */
#define WM8962_GP6_DB_MASK 0x0100 /* GP6_DB */
#define WM8962_GP6_DB_SHIFT 8 /* GP6_DB */
#define WM8962_GP6_DB_WIDTH 1 /* GP6_DB */
#define WM8962_GP6_LVL 0x0040 /* GP6_LVL */
#define WM8962_GP6_LVL_MASK 0x0040 /* GP6_LVL */
#define WM8962_GP6_LVL_SHIFT 6 /* GP6_LVL */
#define WM8962_GP6_LVL_WIDTH 1 /* GP6_LVL */
#define WM8962_GP6_FN_MASK 0x001F /* GP6_FN - [4:0] */
#define WM8962_GP6_FN_SHIFT 0 /* GP6_FN - [4:0] */
#define WM8962_GP6_FN_WIDTH 5 /* GP6_FN - [4:0] */
/*
* R560 (0x230) - Interrupt Status 1
*/
#define WM8962_GP6_EINT 0x0020 /* GP6_EINT */
#define WM8962_GP6_EINT_MASK 0x0020 /* GP6_EINT */
#define WM8962_GP6_EINT_SHIFT 5 /* GP6_EINT */
#define WM8962_GP6_EINT_WIDTH 1 /* GP6_EINT */
#define WM8962_GP5_EINT 0x0010 /* GP5_EINT */
#define WM8962_GP5_EINT_MASK 0x0010 /* GP5_EINT */
#define WM8962_GP5_EINT_SHIFT 4 /* GP5_EINT */
#define WM8962_GP5_EINT_WIDTH 1 /* GP5_EINT */
/*
* R561 (0x231) - Interrupt Status 2
*/
#define WM8962_MICSCD_EINT 0x8000 /* MICSCD_EINT */
#define WM8962_MICSCD_EINT_MASK 0x8000 /* MICSCD_EINT */
#define WM8962_MICSCD_EINT_SHIFT 15 /* MICSCD_EINT */
#define WM8962_MICSCD_EINT_WIDTH 1 /* MICSCD_EINT */
#define WM8962_MICD_EINT 0x4000 /* MICD_EINT */
#define WM8962_MICD_EINT_MASK 0x4000 /* MICD_EINT */
#define WM8962_MICD_EINT_SHIFT 14 /* MICD_EINT */
#define WM8962_MICD_EINT_WIDTH 1 /* MICD_EINT */
#define WM8962_FIFOS_ERR_EINT 0x2000 /* FIFOS_ERR_EINT */
#define WM8962_FIFOS_ERR_EINT_MASK 0x2000 /* FIFOS_ERR_EINT */
#define WM8962_FIFOS_ERR_EINT_SHIFT 13 /* FIFOS_ERR_EINT */
#define WM8962_FIFOS_ERR_EINT_WIDTH 1 /* FIFOS_ERR_EINT */
#define WM8962_ALC_LOCK_EINT 0x1000 /* ALC_LOCK_EINT */
#define WM8962_ALC_LOCK_EINT_MASK 0x1000 /* ALC_LOCK_EINT */
#define WM8962_ALC_LOCK_EINT_SHIFT 12 /* ALC_LOCK_EINT */
#define WM8962_ALC_LOCK_EINT_WIDTH 1 /* ALC_LOCK_EINT */
#define WM8962_ALC_THRESH_EINT 0x0800 /* ALC_THRESH_EINT */
#define WM8962_ALC_THRESH_EINT_MASK 0x0800 /* ALC_THRESH_EINT */
#define WM8962_ALC_THRESH_EINT_SHIFT 11 /* ALC_THRESH_EINT */
#define WM8962_ALC_THRESH_EINT_WIDTH 1 /* ALC_THRESH_EINT */
#define WM8962_ALC_SAT_EINT 0x0400 /* ALC_SAT_EINT */
#define WM8962_ALC_SAT_EINT_MASK 0x0400 /* ALC_SAT_EINT */
#define WM8962_ALC_SAT_EINT_SHIFT 10 /* ALC_SAT_EINT */
#define WM8962_ALC_SAT_EINT_WIDTH 1 /* ALC_SAT_EINT */
#define WM8962_ALC_PKOVR_EINT 0x0200 /* ALC_PKOVR_EINT */
#define WM8962_ALC_PKOVR_EINT_MASK 0x0200 /* ALC_PKOVR_EINT */
#define WM8962_ALC_PKOVR_EINT_SHIFT 9 /* ALC_PKOVR_EINT */
#define WM8962_ALC_PKOVR_EINT_WIDTH 1 /* ALC_PKOVR_EINT */
#define WM8962_ALC_NGATE_EINT 0x0100 /* ALC_NGATE_EINT */
#define WM8962_ALC_NGATE_EINT_MASK 0x0100 /* ALC_NGATE_EINT */
#define WM8962_ALC_NGATE_EINT_SHIFT 8 /* ALC_NGATE_EINT */
#define WM8962_ALC_NGATE_EINT_WIDTH 1 /* ALC_NGATE_EINT */
#define WM8962_WSEQ_DONE_EINT 0x0080 /* WSEQ_DONE_EINT */
#define WM8962_WSEQ_DONE_EINT_MASK 0x0080 /* WSEQ_DONE_EINT */
#define WM8962_WSEQ_DONE_EINT_SHIFT 7 /* WSEQ_DONE_EINT */
#define WM8962_WSEQ_DONE_EINT_WIDTH 1 /* WSEQ_DONE_EINT */
#define WM8962_DRC_ACTDET_EINT 0x0040 /* DRC_ACTDET_EINT */
#define WM8962_DRC_ACTDET_EINT_MASK 0x0040 /* DRC_ACTDET_EINT */
#define WM8962_DRC_ACTDET_EINT_SHIFT 6 /* DRC_ACTDET_EINT */
#define WM8962_DRC_ACTDET_EINT_WIDTH 1 /* DRC_ACTDET_EINT */
#define WM8962_FLL_LOCK_EINT 0x0020 /* FLL_LOCK_EINT */
#define WM8962_FLL_LOCK_EINT_MASK 0x0020 /* FLL_LOCK_EINT */
#define WM8962_FLL_LOCK_EINT_SHIFT 5 /* FLL_LOCK_EINT */
#define WM8962_FLL_LOCK_EINT_WIDTH 1 /* FLL_LOCK_EINT */
#define WM8962_PLL3_LOCK_EINT 0x0008 /* PLL3_LOCK_EINT */
#define WM8962_PLL3_LOCK_EINT_MASK 0x0008 /* PLL3_LOCK_EINT */
#define WM8962_PLL3_LOCK_EINT_SHIFT 3 /* PLL3_LOCK_EINT */
#define WM8962_PLL3_LOCK_EINT_WIDTH 1 /* PLL3_LOCK_EINT */
#define WM8962_PLL2_LOCK_EINT 0x0004 /* PLL2_LOCK_EINT */
#define WM8962_PLL2_LOCK_EINT_MASK 0x0004 /* PLL2_LOCK_EINT */
#define WM8962_PLL2_LOCK_EINT_SHIFT 2 /* PLL2_LOCK_EINT */
#define WM8962_PLL2_LOCK_EINT_WIDTH 1 /* PLL2_LOCK_EINT */
#define WM8962_TEMP_SHUT_EINT 0x0001 /* TEMP_SHUT_EINT */
#define WM8962_TEMP_SHUT_EINT_MASK 0x0001 /* TEMP_SHUT_EINT */
#define WM8962_TEMP_SHUT_EINT_SHIFT 0 /* TEMP_SHUT_EINT */
#define WM8962_TEMP_SHUT_EINT_WIDTH 1 /* TEMP_SHUT_EINT */
/*
* R568 (0x238) - Interrupt Status 1 Mask
*/
#define WM8962_IM_GP6_EINT 0x0020 /* IM_GP6_EINT */
#define WM8962_IM_GP6_EINT_MASK 0x0020 /* IM_GP6_EINT */
#define WM8962_IM_GP6_EINT_SHIFT 5 /* IM_GP6_EINT */
#define WM8962_IM_GP6_EINT_WIDTH 1 /* IM_GP6_EINT */
#define WM8962_IM_GP5_EINT 0x0010 /* IM_GP5_EINT */
#define WM8962_IM_GP5_EINT_MASK 0x0010 /* IM_GP5_EINT */
#define WM8962_IM_GP5_EINT_SHIFT 4 /* IM_GP5_EINT */
#define WM8962_IM_GP5_EINT_WIDTH 1 /* IM_GP5_EINT */
/*
* R569 (0x239) - Interrupt Status 2 Mask
*/
#define WM8962_IM_MICSCD_EINT 0x8000 /* IM_MICSCD_EINT */
#define WM8962_IM_MICSCD_EINT_MASK 0x8000 /* IM_MICSCD_EINT */
#define WM8962_IM_MICSCD_EINT_SHIFT 15 /* IM_MICSCD_EINT */
#define WM8962_IM_MICSCD_EINT_WIDTH 1 /* IM_MICSCD_EINT */
#define WM8962_IM_MICD_EINT 0x4000 /* IM_MICD_EINT */
#define WM8962_IM_MICD_EINT_MASK 0x4000 /* IM_MICD_EINT */
#define WM8962_IM_MICD_EINT_SHIFT 14 /* IM_MICD_EINT */
#define WM8962_IM_MICD_EINT_WIDTH 1 /* IM_MICD_EINT */
#define WM8962_IM_FIFOS_ERR_EINT 0x2000 /* IM_FIFOS_ERR_EINT */
#define WM8962_IM_FIFOS_ERR_EINT_MASK 0x2000 /* IM_FIFOS_ERR_EINT */
#define WM8962_IM_FIFOS_ERR_EINT_SHIFT 13 /* IM_FIFOS_ERR_EINT */
#define WM8962_IM_FIFOS_ERR_EINT_WIDTH 1 /* IM_FIFOS_ERR_EINT */
#define WM8962_IM_ALC_LOCK_EINT 0x1000 /* IM_ALC_LOCK_EINT */
#define WM8962_IM_ALC_LOCK_EINT_MASK 0x1000 /* IM_ALC_LOCK_EINT */
#define WM8962_IM_ALC_LOCK_EINT_SHIFT 12 /* IM_ALC_LOCK_EINT */
#define WM8962_IM_ALC_LOCK_EINT_WIDTH 1 /* IM_ALC_LOCK_EINT */
#define WM8962_IM_ALC_THRESH_EINT 0x0800 /* IM_ALC_THRESH_EINT */
#define WM8962_IM_ALC_THRESH_EINT_MASK 0x0800 /* IM_ALC_THRESH_EINT */
#define WM8962_IM_ALC_THRESH_EINT_SHIFT 11 /* IM_ALC_THRESH_EINT */
#define WM8962_IM_ALC_THRESH_EINT_WIDTH 1 /* IM_ALC_THRESH_EINT */
#define WM8962_IM_ALC_SAT_EINT 0x0400 /* IM_ALC_SAT_EINT */
#define WM8962_IM_ALC_SAT_EINT_MASK 0x0400 /* IM_ALC_SAT_EINT */
#define WM8962_IM_ALC_SAT_EINT_SHIFT 10 /* IM_ALC_SAT_EINT */
#define WM8962_IM_ALC_SAT_EINT_WIDTH 1 /* IM_ALC_SAT_EINT */
#define WM8962_IM_ALC_PKOVR_EINT 0x0200 /* IM_ALC_PKOVR_EINT */
#define WM8962_IM_ALC_PKOVR_EINT_MASK 0x0200 /* IM_ALC_PKOVR_EINT */
#define WM8962_IM_ALC_PKOVR_EINT_SHIFT 9 /* IM_ALC_PKOVR_EINT */
#define WM8962_IM_ALC_PKOVR_EINT_WIDTH 1 /* IM_ALC_PKOVR_EINT */
#define WM8962_IM_ALC_NGATE_EINT 0x0100 /* IM_ALC_NGATE_EINT */
#define WM8962_IM_ALC_NGATE_EINT_MASK 0x0100 /* IM_ALC_NGATE_EINT */
#define WM8962_IM_ALC_NGATE_EINT_SHIFT 8 /* IM_ALC_NGATE_EINT */
#define WM8962_IM_ALC_NGATE_EINT_WIDTH 1 /* IM_ALC_NGATE_EINT */
#define WM8962_IM_WSEQ_DONE_EINT 0x0080 /* IM_WSEQ_DONE_EINT */
#define WM8962_IM_WSEQ_DONE_EINT_MASK 0x0080 /* IM_WSEQ_DONE_EINT */
#define WM8962_IM_WSEQ_DONE_EINT_SHIFT 7 /* IM_WSEQ_DONE_EINT */
#define WM8962_IM_WSEQ_DONE_EINT_WIDTH 1 /* IM_WSEQ_DONE_EINT */
#define WM8962_IM_DRC_ACTDET_EINT 0x0040 /* IM_DRC_ACTDET_EINT */
#define WM8962_IM_DRC_ACTDET_EINT_MASK 0x0040 /* IM_DRC_ACTDET_EINT */
#define WM8962_IM_DRC_ACTDET_EINT_SHIFT 6 /* IM_DRC_ACTDET_EINT */
#define WM8962_IM_DRC_ACTDET_EINT_WIDTH 1 /* IM_DRC_ACTDET_EINT */
#define WM8962_IM_FLL_LOCK_EINT 0x0020 /* IM_FLL_LOCK_EINT */
#define WM8962_IM_FLL_LOCK_EINT_MASK 0x0020 /* IM_FLL_LOCK_EINT */
#define WM8962_IM_FLL_LOCK_EINT_SHIFT 5 /* IM_FLL_LOCK_EINT */
#define WM8962_IM_FLL_LOCK_EINT_WIDTH 1 /* IM_FLL_LOCK_EINT */
#define WM8962_IM_PLL3_LOCK_EINT 0x0008 /* IM_PLL3_LOCK_EINT */
#define WM8962_IM_PLL3_LOCK_EINT_MASK 0x0008 /* IM_PLL3_LOCK_EINT */
#define WM8962_IM_PLL3_LOCK_EINT_SHIFT 3 /* IM_PLL3_LOCK_EINT */
#define WM8962_IM_PLL3_LOCK_EINT_WIDTH 1 /* IM_PLL3_LOCK_EINT */
#define WM8962_IM_PLL2_LOCK_EINT 0x0004 /* IM_PLL2_LOCK_EINT */
#define WM8962_IM_PLL2_LOCK_EINT_MASK 0x0004 /* IM_PLL2_LOCK_EINT */
#define WM8962_IM_PLL2_LOCK_EINT_SHIFT 2 /* IM_PLL2_LOCK_EINT */
#define WM8962_IM_PLL2_LOCK_EINT_WIDTH 1 /* IM_PLL2_LOCK_EINT */
#define WM8962_IM_TEMP_SHUT_EINT 0x0001 /* IM_TEMP_SHUT_EINT */
#define WM8962_IM_TEMP_SHUT_EINT_MASK 0x0001 /* IM_TEMP_SHUT_EINT */
#define WM8962_IM_TEMP_SHUT_EINT_SHIFT 0 /* IM_TEMP_SHUT_EINT */
#define WM8962_IM_TEMP_SHUT_EINT_WIDTH 1 /* IM_TEMP_SHUT_EINT */
/*
* R576 (0x240) - Interrupt Control
*/
#define WM8962_IRQ_POL 0x0001 /* IRQ_POL */
#define WM8962_IRQ_POL_MASK 0x0001 /* IRQ_POL */
#define WM8962_IRQ_POL_SHIFT 0 /* IRQ_POL */
#define WM8962_IRQ_POL_WIDTH 1 /* IRQ_POL */
/*
* R584 (0x248) - IRQ Debounce
*/
#define WM8962_FLL_LOCK_DB 0x0020 /* FLL_LOCK_DB */
#define WM8962_FLL_LOCK_DB_MASK 0x0020 /* FLL_LOCK_DB */
#define WM8962_FLL_LOCK_DB_SHIFT 5 /* FLL_LOCK_DB */
#define WM8962_FLL_LOCK_DB_WIDTH 1 /* FLL_LOCK_DB */
#define WM8962_PLL3_LOCK_DB 0x0008 /* PLL3_LOCK_DB */
#define WM8962_PLL3_LOCK_DB_MASK 0x0008 /* PLL3_LOCK_DB */
#define WM8962_PLL3_LOCK_DB_SHIFT 3 /* PLL3_LOCK_DB */
#define WM8962_PLL3_LOCK_DB_WIDTH 1 /* PLL3_LOCK_DB */
#define WM8962_PLL2_LOCK_DB 0x0004 /* PLL2_LOCK_DB */
#define WM8962_PLL2_LOCK_DB_MASK 0x0004 /* PLL2_LOCK_DB */
#define WM8962_PLL2_LOCK_DB_SHIFT 2 /* PLL2_LOCK_DB */
#define WM8962_PLL2_LOCK_DB_WIDTH 1 /* PLL2_LOCK_DB */
#define WM8962_TEMP_SHUT_DB 0x0001 /* TEMP_SHUT_DB */
#define WM8962_TEMP_SHUT_DB_MASK 0x0001 /* TEMP_SHUT_DB */
#define WM8962_TEMP_SHUT_DB_SHIFT 0 /* TEMP_SHUT_DB */
#define WM8962_TEMP_SHUT_DB_WIDTH 1 /* TEMP_SHUT_DB */
/*
* R586 (0x24A) - MICINT Source Pol
*/
#define WM8962_MICSCD_IRQ_POL 0x8000 /* MICSCD_IRQ_POL */
#define WM8962_MICSCD_IRQ_POL_MASK 0x8000 /* MICSCD_IRQ_POL */
#define WM8962_MICSCD_IRQ_POL_SHIFT 15 /* MICSCD_IRQ_POL */
#define WM8962_MICSCD_IRQ_POL_WIDTH 1 /* MICSCD_IRQ_POL */
#define WM8962_MICD_IRQ_POL 0x4000 /* MICD_IRQ_POL */
#define WM8962_MICD_IRQ_POL_MASK 0x4000 /* MICD_IRQ_POL */
#define WM8962_MICD_IRQ_POL_SHIFT 14 /* MICD_IRQ_POL */
#define WM8962_MICD_IRQ_POL_WIDTH 1 /* MICD_IRQ_POL */
/*
* R768 (0x300) - DSP2 Power Management
*/
#define WM8962_DSP2_ENA 0x0001 /* DSP2_ENA */
#define WM8962_DSP2_ENA_MASK 0x0001 /* DSP2_ENA */
#define WM8962_DSP2_ENA_SHIFT 0 /* DSP2_ENA */
#define WM8962_DSP2_ENA_WIDTH 1 /* DSP2_ENA */
/*
* R1037 (0x40D) - DSP2_ExecControl
*/
#define WM8962_DSP2_STOPC 0x0020 /* DSP2_STOPC */
#define WM8962_DSP2_STOPC_MASK 0x0020 /* DSP2_STOPC */
#define WM8962_DSP2_STOPC_SHIFT 5 /* DSP2_STOPC */
#define WM8962_DSP2_STOPC_WIDTH 1 /* DSP2_STOPC */
#define WM8962_DSP2_STOPS 0x0010 /* DSP2_STOPS */
#define WM8962_DSP2_STOPS_MASK 0x0010 /* DSP2_STOPS */
#define WM8962_DSP2_STOPS_SHIFT 4 /* DSP2_STOPS */
#define WM8962_DSP2_STOPS_WIDTH 1 /* DSP2_STOPS */
#define WM8962_DSP2_STOPI 0x0008 /* DSP2_STOPI */
#define WM8962_DSP2_STOPI_MASK 0x0008 /* DSP2_STOPI */
#define WM8962_DSP2_STOPI_SHIFT 3 /* DSP2_STOPI */
#define WM8962_DSP2_STOPI_WIDTH 1 /* DSP2_STOPI */
#define WM8962_DSP2_STOP 0x0004 /* DSP2_STOP */
#define WM8962_DSP2_STOP_MASK 0x0004 /* DSP2_STOP */
#define WM8962_DSP2_STOP_SHIFT 2 /* DSP2_STOP */
#define WM8962_DSP2_STOP_WIDTH 1 /* DSP2_STOP */
#define WM8962_DSP2_RUNR 0x0002 /* DSP2_RUNR */
#define WM8962_DSP2_RUNR_MASK 0x0002 /* DSP2_RUNR */
#define WM8962_DSP2_RUNR_SHIFT 1 /* DSP2_RUNR */
#define WM8962_DSP2_RUNR_WIDTH 1 /* DSP2_RUNR */
#define WM8962_DSP2_RUN 0x0001 /* DSP2_RUN */
#define WM8962_DSP2_RUN_MASK 0x0001 /* DSP2_RUN */
#define WM8962_DSP2_RUN_SHIFT 0 /* DSP2_RUN */
#define WM8962_DSP2_RUN_WIDTH 1 /* DSP2_RUN */
/*
* R8192 (0x2000) - DSP2 Instruction RAM 0
*/
#define WM8962_DSP2_INSTR_RAM_1024_10_9_0_MASK 0x03FF /* DSP2_INSTR_RAM_1024_10_9_0 - [9:0] */
#define WM8962_DSP2_INSTR_RAM_1024_10_9_0_SHIFT 0 /* DSP2_INSTR_RAM_1024_10_9_0 - [9:0] */
#define WM8962_DSP2_INSTR_RAM_1024_10_9_0_WIDTH 10 /* DSP2_INSTR_RAM_1024_10_9_0 - [9:0] */
/*
* R9216 (0x2400) - DSP2 Address RAM 2
*/
#define WM8962_DSP2_ADDR_RAM_1024_38_37_32_MASK 0x003F /* DSP2_ADDR_RAM_1024_38_37_32 - [5:0] */
#define WM8962_DSP2_ADDR_RAM_1024_38_37_32_SHIFT 0 /* DSP2_ADDR_RAM_1024_38_37_32 - [5:0] */
#define WM8962_DSP2_ADDR_RAM_1024_38_37_32_WIDTH 6 /* DSP2_ADDR_RAM_1024_38_37_32 - [5:0] */
/*
* R9217 (0x2401) - DSP2 Address RAM 1
*/
#define WM8962_DSP2_ADDR_RAM_1024_38_31_16_MASK 0xFFFF /* DSP2_ADDR_RAM_1024_38_31_16 - [15:0] */
#define WM8962_DSP2_ADDR_RAM_1024_38_31_16_SHIFT 0 /* DSP2_ADDR_RAM_1024_38_31_16 - [15:0] */
#define WM8962_DSP2_ADDR_RAM_1024_38_31_16_WIDTH 16 /* DSP2_ADDR_RAM_1024_38_31_16 - [15:0] */
/*
* R9218 (0x2402) - DSP2 Address RAM 0
*/
#define WM8962_DSP2_ADDR_RAM_1024_38_15_0_MASK 0xFFFF /* DSP2_ADDR_RAM_1024_38_15_0 - [15:0] */
#define WM8962_DSP2_ADDR_RAM_1024_38_15_0_SHIFT 0 /* DSP2_ADDR_RAM_1024_38_15_0 - [15:0] */
#define WM8962_DSP2_ADDR_RAM_1024_38_15_0_WIDTH 16 /* DSP2_ADDR_RAM_1024_38_15_0 - [15:0] */
/*
* R12288 (0x3000) - DSP2 Data1 RAM 1
*/
#define WM8962_DSP2_DATA1_RAM_384_24_23_16_MASK 0x00FF /* DSP2_DATA1_RAM_384_24_23_16 - [7:0] */
#define WM8962_DSP2_DATA1_RAM_384_24_23_16_SHIFT 0 /* DSP2_DATA1_RAM_384_24_23_16 - [7:0] */
#define WM8962_DSP2_DATA1_RAM_384_24_23_16_WIDTH 8 /* DSP2_DATA1_RAM_384_24_23_16 - [7:0] */
/*
* R12289 (0x3001) - DSP2 Data1 RAM 0
*/
#define WM8962_DSP2_DATA1_RAM_384_24_15_0_MASK 0xFFFF /* DSP2_DATA1_RAM_384_24_15_0 - [15:0] */
#define WM8962_DSP2_DATA1_RAM_384_24_15_0_SHIFT 0 /* DSP2_DATA1_RAM_384_24_15_0 - [15:0] */
#define WM8962_DSP2_DATA1_RAM_384_24_15_0_WIDTH 16 /* DSP2_DATA1_RAM_384_24_15_0 - [15:0] */
/*
* R13312 (0x3400) - DSP2 Data2 RAM 1
*/
#define WM8962_DSP2_DATA2_RAM_384_24_23_16_MASK 0x00FF /* DSP2_DATA2_RAM_384_24_23_16 - [7:0] */
#define WM8962_DSP2_DATA2_RAM_384_24_23_16_SHIFT 0 /* DSP2_DATA2_RAM_384_24_23_16 - [7:0] */
#define WM8962_DSP2_DATA2_RAM_384_24_23_16_WIDTH 8 /* DSP2_DATA2_RAM_384_24_23_16 - [7:0] */
/*
* R13313 (0x3401) - DSP2 Data2 RAM 0
*/
#define WM8962_DSP2_DATA2_RAM_384_24_15_0_MASK 0xFFFF /* DSP2_DATA2_RAM_384_24_15_0 - [15:0] */
#define WM8962_DSP2_DATA2_RAM_384_24_15_0_SHIFT 0 /* DSP2_DATA2_RAM_384_24_15_0 - [15:0] */
#define WM8962_DSP2_DATA2_RAM_384_24_15_0_WIDTH 16 /* DSP2_DATA2_RAM_384_24_15_0 - [15:0] */
/*
* R14336 (0x3800) - DSP2 Data3 RAM 1
*/
#define WM8962_DSP2_DATA3_RAM_384_24_23_16_MASK 0x00FF /* DSP2_DATA3_RAM_384_24_23_16 - [7:0] */
#define WM8962_DSP2_DATA3_RAM_384_24_23_16_SHIFT 0 /* DSP2_DATA3_RAM_384_24_23_16 - [7:0] */
#define WM8962_DSP2_DATA3_RAM_384_24_23_16_WIDTH 8 /* DSP2_DATA3_RAM_384_24_23_16 - [7:0] */
/*
* R14337 (0x3801) - DSP2 Data3 RAM 0
*/
#define WM8962_DSP2_DATA3_RAM_384_24_15_0_MASK 0xFFFF /* DSP2_DATA3_RAM_384_24_15_0 - [15:0] */
#define WM8962_DSP2_DATA3_RAM_384_24_15_0_SHIFT 0 /* DSP2_DATA3_RAM_384_24_15_0 - [15:0] */
#define WM8962_DSP2_DATA3_RAM_384_24_15_0_WIDTH 16 /* DSP2_DATA3_RAM_384_24_15_0 - [15:0] */
/*
* R15360 (0x3C00) - DSP2 Coeff RAM 0
*/
#define WM8962_DSP2_CMAP_RAM_384_11_10_0_MASK 0x07FF /* DSP2_CMAP_RAM_384_11_10_0 - [10:0] */
#define WM8962_DSP2_CMAP_RAM_384_11_10_0_SHIFT 0 /* DSP2_CMAP_RAM_384_11_10_0 - [10:0] */
#define WM8962_DSP2_CMAP_RAM_384_11_10_0_WIDTH 11 /* DSP2_CMAP_RAM_384_11_10_0 - [10:0] */
/*
* R16384 (0x4000) - RETUNEADC_SHARED_COEFF_1
*/
#define WM8962_ADC_RETUNE_SCV 0x0080 /* ADC_RETUNE_SCV */
#define WM8962_ADC_RETUNE_SCV_MASK 0x0080 /* ADC_RETUNE_SCV */
#define WM8962_ADC_RETUNE_SCV_SHIFT 7 /* ADC_RETUNE_SCV */
#define WM8962_ADC_RETUNE_SCV_WIDTH 1 /* ADC_RETUNE_SCV */
#define WM8962_RETUNEADC_SHARED_COEFF_22_16_MASK 0x007F /* RETUNEADC_SHARED_COEFF_22_16 - [6:0] */
#define WM8962_RETUNEADC_SHARED_COEFF_22_16_SHIFT 0 /* RETUNEADC_SHARED_COEFF_22_16 - [6:0] */
#define WM8962_RETUNEADC_SHARED_COEFF_22_16_WIDTH 7 /* RETUNEADC_SHARED_COEFF_22_16 - [6:0] */
/*
* R16385 (0x4001) - RETUNEADC_SHARED_COEFF_0
*/
#define WM8962_RETUNEADC_SHARED_COEFF_15_00_MASK 0xFFFF /* RETUNEADC_SHARED_COEFF_15_00 - [15:0] */
#define WM8962_RETUNEADC_SHARED_COEFF_15_00_SHIFT 0 /* RETUNEADC_SHARED_COEFF_15_00 - [15:0] */
#define WM8962_RETUNEADC_SHARED_COEFF_15_00_WIDTH 16 /* RETUNEADC_SHARED_COEFF_15_00 - [15:0] */
/*
* R16386 (0x4002) - RETUNEDAC_SHARED_COEFF_1
*/
#define WM8962_DAC_RETUNE_SCV 0x0080 /* DAC_RETUNE_SCV */
#define WM8962_DAC_RETUNE_SCV_MASK 0x0080 /* DAC_RETUNE_SCV */
#define WM8962_DAC_RETUNE_SCV_SHIFT 7 /* DAC_RETUNE_SCV */
#define WM8962_DAC_RETUNE_SCV_WIDTH 1 /* DAC_RETUNE_SCV */
#define WM8962_RETUNEDAC_SHARED_COEFF_23_16_MASK 0x007F /* RETUNEDAC_SHARED_COEFF_23_16 - [6:0] */
#define WM8962_RETUNEDAC_SHARED_COEFF_23_16_SHIFT 0 /* RETUNEDAC_SHARED_COEFF_23_16 - [6:0] */
#define WM8962_RETUNEDAC_SHARED_COEFF_23_16_WIDTH 7 /* RETUNEDAC_SHARED_COEFF_23_16 - [6:0] */
/*
* R16387 (0x4003) - RETUNEDAC_SHARED_COEFF_0
*/
#define WM8962_RETUNEDAC_SHARED_COEFF_15_00_MASK 0xFFFF /* RETUNEDAC_SHARED_COEFF_15_00 - [15:0] */
#define WM8962_RETUNEDAC_SHARED_COEFF_15_00_SHIFT 0 /* RETUNEDAC_SHARED_COEFF_15_00 - [15:0] */
#define WM8962_RETUNEDAC_SHARED_COEFF_15_00_WIDTH 16 /* RETUNEDAC_SHARED_COEFF_15_00 - [15:0] */
/*
* R16388 (0x4004) - SOUNDSTAGE_ENABLES_1
*/
#define WM8962_SOUNDSTAGE_ENABLES_23_16_MASK 0x00FF /* SOUNDSTAGE_ENABLES_23_16 - [7:0] */
#define WM8962_SOUNDSTAGE_ENABLES_23_16_SHIFT 0 /* SOUNDSTAGE_ENABLES_23_16 - [7:0] */
#define WM8962_SOUNDSTAGE_ENABLES_23_16_WIDTH 8 /* SOUNDSTAGE_ENABLES_23_16 - [7:0] */
/*
* R16389 (0x4005) - SOUNDSTAGE_ENABLES_0
*/
#define WM8962_SOUNDSTAGE_ENABLES_15_06_MASK 0xFFC0 /* SOUNDSTAGE_ENABLES_15_06 - [15:6] */
#define WM8962_SOUNDSTAGE_ENABLES_15_06_SHIFT 6 /* SOUNDSTAGE_ENABLES_15_06 - [15:6] */
#define WM8962_SOUNDSTAGE_ENABLES_15_06_WIDTH 10 /* SOUNDSTAGE_ENABLES_15_06 - [15:6] */
#define WM8962_RTN_ADC_ENA 0x0020 /* RTN_ADC_ENA */
#define WM8962_RTN_ADC_ENA_MASK 0x0020 /* RTN_ADC_ENA */
#define WM8962_RTN_ADC_ENA_SHIFT 5 /* RTN_ADC_ENA */
#define WM8962_RTN_ADC_ENA_WIDTH 1 /* RTN_ADC_ENA */
#define WM8962_RTN_DAC_ENA 0x0010 /* RTN_DAC_ENA */
#define WM8962_RTN_DAC_ENA_MASK 0x0010 /* RTN_DAC_ENA */
#define WM8962_RTN_DAC_ENA_SHIFT 4 /* RTN_DAC_ENA */
#define WM8962_RTN_DAC_ENA_WIDTH 1 /* RTN_DAC_ENA */
#define WM8962_HDBASS_ENA 0x0008 /* HDBASS_ENA */
#define WM8962_HDBASS_ENA_MASK 0x0008 /* HDBASS_ENA */
#define WM8962_HDBASS_ENA_SHIFT 3 /* HDBASS_ENA */
#define WM8962_HDBASS_ENA_WIDTH 1 /* HDBASS_ENA */
#define WM8962_HPF2_ENA 0x0004 /* HPF2_ENA */
#define WM8962_HPF2_ENA_MASK 0x0004 /* HPF2_ENA */
#define WM8962_HPF2_ENA_SHIFT 2 /* HPF2_ENA */
#define WM8962_HPF2_ENA_WIDTH 1 /* HPF2_ENA */
#define WM8962_HPF1_ENA 0x0002 /* HPF1_ENA */
#define WM8962_HPF1_ENA_MASK 0x0002 /* HPF1_ENA */
#define WM8962_HPF1_ENA_SHIFT 1 /* HPF1_ENA */
#define WM8962_HPF1_ENA_WIDTH 1 /* HPF1_ENA */
#define WM8962_VSS_ENA 0x0001 /* VSS_ENA */
#define WM8962_VSS_ENA_MASK 0x0001 /* VSS_ENA */
#define WM8962_VSS_ENA_SHIFT 0 /* VSS_ENA */
#define WM8962_VSS_ENA_WIDTH 1 /* VSS_ENA */
int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
#endif
|