Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / sound / pci / au88x0 / au88x0_eqdata.c
blob49a52d298b1af8ec88cb37494fe748c297ddaa7a
1 // SPDX-License-Identifier: GPL-2.0
2 /* Data structs */
4 static u16 asEqCoefsZeros[50] = {
5 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
6 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
8 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
12 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
13 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
14 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
17 static u16 asEqCoefsPipes[64] = {
18 0x0000, 0x0000,
19 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
20 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
21 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
22 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
23 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
24 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
25 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
26 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
27 0x0000, 0x0666, 0x0000, 0x0000, 0x066a,
28 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
30 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
31 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
32 0x0000, 0x0000
35 /* More coef sets can be found in the win2k "inf" file. */
36 static auxxEqCoeffSet_t asEqCoefsNormal = {
37 .LeftCoefs = {
38 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
39 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
40 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
41 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
42 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
43 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
44 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
45 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
46 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
47 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
49 .RightCoefs = {
50 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
51 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
52 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
53 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
54 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
55 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
56 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
57 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
58 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
59 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
61 .LeftGains = {
62 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
63 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96},
64 .RightGains = {
65 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
66 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}
69 static u16 eq_gains_normal[20] = {
70 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
71 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
72 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
73 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96
76 /* _rodatab60 */
77 static u16 eq_gains_zero[10] = {
78 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
79 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
82 /* _rodatab7c: ProgramPipe */
83 static u16 eq_gains_current[12] = {
84 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
85 0x7fff,
86 0x7fff, 0x7fff, 0x7fff
89 /* _rodatab78 */
90 static u16 eq_states_zero[2] = { 0x0000, 0x0000 };
92 static u16 asEqOutStateZeros[48] = {
93 0x0000, 0x0000, 0x0000, 0x0000,
94 0x0000, 0x0000, 0x0000, 0x0000,
95 0x0000, 0x0000, 0x0000, 0x0000,
96 0x0000, 0x0000, 0x0000, 0x0000,
97 0x0000, 0x0000, 0x0000, 0x0000,
98 0x0000, 0x0000, 0x0000, 0x0000,
99 0x0000, 0x0000, 0x0000, 0x0000,
100 0x0000, 0x0000, 0x0000, 0x0000,
101 0x0000, 0x0000, 0x0000, 0x0000,
102 0x0000, 0x0000, 0x0000, 0x0000,
103 0x0000, 0x0000, 0x0000, 0x0000,
104 0x0000, 0x0000, 0x0000, 0x0000
107 /*_rodataba0:*/
108 static u16 eq_levels[64] = {
109 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
110 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
111 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
112 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
113 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
114 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
115 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
116 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000