162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/* Data structs */
362306a36Sopenharmony_ci
462306a36Sopenharmony_cistatic const u16 asEqCoefsZeros[50] = {
562306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
662306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
762306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
862306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
962306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
1062306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
1162306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
1262306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
1362306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
1462306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
1562306a36Sopenharmony_ci};
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_cistatic const u16 asEqCoefsPipes[64] = {
1862306a36Sopenharmony_ci	0x0000, 0x0000,
1962306a36Sopenharmony_ci	0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
2062306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
2162306a36Sopenharmony_ci	0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
2262306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
2362306a36Sopenharmony_ci	0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
2462306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
2562306a36Sopenharmony_ci	0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
2662306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
2762306a36Sopenharmony_ci	0x0000, 0x0666, 0x0000, 0x0000, 0x066a,
2862306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
3162306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
3262306a36Sopenharmony_ci	0x0000, 0x0000
3362306a36Sopenharmony_ci};
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci/* More coef sets can be found in the win2k "inf" file. */
3662306a36Sopenharmony_cistatic const auxxEqCoeffSet_t asEqCoefsNormal = {
3762306a36Sopenharmony_ci	.LeftCoefs = {
3862306a36Sopenharmony_ci		      0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
3962306a36Sopenharmony_ci		      0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
4062306a36Sopenharmony_ci		      0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
4162306a36Sopenharmony_ci		      0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
4262306a36Sopenharmony_ci		      0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
4362306a36Sopenharmony_ci		      0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
4462306a36Sopenharmony_ci		      0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
4562306a36Sopenharmony_ci		      0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
4662306a36Sopenharmony_ci		      0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
4762306a36Sopenharmony_ci		      0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ci	.RightCoefs = {
5062306a36Sopenharmony_ci		       0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
5162306a36Sopenharmony_ci		       0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
5262306a36Sopenharmony_ci		       0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,
5362306a36Sopenharmony_ci		       0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,
5462306a36Sopenharmony_ci		       0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,
5562306a36Sopenharmony_ci		       0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,
5662306a36Sopenharmony_ci		       0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,
5762306a36Sopenharmony_ci		       0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,
5862306a36Sopenharmony_ci		       0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,
5962306a36Sopenharmony_ci		       0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci	.LeftGains = {
6262306a36Sopenharmony_ci		      0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
6362306a36Sopenharmony_ci		      0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96},
6462306a36Sopenharmony_ci	.RightGains = {
6562306a36Sopenharmony_ci		       0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
6662306a36Sopenharmony_ci		       0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}
6762306a36Sopenharmony_ci};
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_cistatic const u16 eq_gains_normal[20] = {
7062306a36Sopenharmony_ci	0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
7162306a36Sopenharmony_ci	0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
7262306a36Sopenharmony_ci	0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
7362306a36Sopenharmony_ci	0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96
7462306a36Sopenharmony_ci};
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci/* _rodatab60 */
7762306a36Sopenharmony_cistatic const u16 eq_gains_zero[10] = {
7862306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7962306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000
8062306a36Sopenharmony_ci};
8162306a36Sopenharmony_ci
8262306a36Sopenharmony_ci/* _rodatab7c:  ProgramPipe */
8362306a36Sopenharmony_cistatic const u16 eq_gains_current[12] = {
8462306a36Sopenharmony_ci	0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
8562306a36Sopenharmony_ci	0x7fff,
8662306a36Sopenharmony_ci	0x7fff, 0x7fff, 0x7fff
8762306a36Sopenharmony_ci};
8862306a36Sopenharmony_ci
8962306a36Sopenharmony_ci/* _rodatab78 */
9062306a36Sopenharmony_cistatic const u16 eq_states_zero[2] = { 0x0000, 0x0000 };
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_cistatic const u16 asEqOutStateZeros[48] = {
9362306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
9462306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
9562306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
9662306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
9762306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
9862306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
9962306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
10062306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
10162306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
10262306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
10362306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000,
10462306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000
10562306a36Sopenharmony_ci};
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ci/*_rodataba0:*/
10862306a36Sopenharmony_cistatic const u16 eq_levels[64] = {
10962306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11062306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11162306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11262306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11362306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11462306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11562306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
11662306a36Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
11762306a36Sopenharmony_ci};
118