1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* Data structs */ 2 /* Data structs */ 3 3 4 static const u16 asEqCoefsZeros[50] = { 4 static const u16 asEqCoefsZeros[50] = { 5 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 5 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 6 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 6 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 7 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 7 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 8 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 8 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 9 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 9 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 10 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 10 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 11 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 11 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 12 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 12 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 13 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 13 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 14 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 14 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 15 }; 15 }; 16 16 17 static const u16 asEqCoefsPipes[64] = { 17 static const u16 asEqCoefsPipes[64] = { 18 0x0000, 0x0000, 18 0x0000, 0x0000, 19 0x0000, 0x0666, 0x0000, 0x0000, 0x0666 19 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 20 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 20 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 21 0x0000, 0x0666, 0x0000, 0x0000, 0x0666 21 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 22 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 22 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 23 0x0000, 0x0666, 0x0000, 0x0000, 0x0666 23 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 24 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 24 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 25 0x0000, 0x0666, 0x0000, 0x0000, 0x0666 25 0x0000, 0x0666, 0x0000, 0x0000, 0x0666, 26 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 26 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 27 0x0000, 0x0666, 0x0000, 0x0000, 0x066a 27 0x0000, 0x0666, 0x0000, 0x0000, 0x066a, 28 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 28 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 29 29 30 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 30 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 31 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 31 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 32 0x0000, 0x0000 32 0x0000, 0x0000 33 }; 33 }; 34 34 35 /* More coef sets can be found in the win2k "i 35 /* More coef sets can be found in the win2k "inf" file. */ 36 static const auxxEqCoeffSet_t asEqCoefsNormal 36 static const auxxEqCoeffSet_t asEqCoefsNormal = { 37 .LeftCoefs = { 37 .LeftCoefs = { 38 0x7e60, 0xc19e, 0x0001, 38 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001, 39 0x7fa0, 0xc05f, 0x004f, 39 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1, 40 0x7f3f, 0xc0bc, 0x00c2, 40 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e, 41 0x7e78, 0xc177, 0x011f, 41 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1, 42 0x7cd6, 0xc2e5, 0x025c, 42 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4, 43 0x7949, 0xc5aa, 0x0467, 43 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99, 44 0x7120, 0xcadf, 0x0864, 44 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c, 45 0x5d33, 0xd430, 0x0f7e, 45 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082, 46 0x2beb, 0xe3ca, 0x1bd3, 46 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d, 47 0xd740, 0xf01d, 0x2ac5, 47 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b}, 48 48 49 .RightCoefs = { 49 .RightCoefs = { 50 0x7e60, 0xc19e, 0x0001, 50 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001, 51 0x7fa0, 0xc05f, 0x004f, 51 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1, 52 0x7f3f, 0xc0bc, 0x00c2, 52 0x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e, 53 0x7e78, 0xc177, 0x011f, 53 0x7e78, 0xc177, 0x011f, 0x0000, 0xfee1, 54 0x7cd6, 0xc2e5, 0x025c, 54 0x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4, 55 0x7949, 0xc5aa, 0x0467, 55 0x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99, 56 0x7120, 0xcadf, 0x0864, 56 0x7120, 0xcadf, 0x0864, 0x0000, 0xf79c, 57 0x5d33, 0xd430, 0x0f7e, 57 0x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082, 58 0x2beb, 0xe3ca, 0x1bd3, 58 0x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d, 59 0xd740, 0xf01d, 0x2ac5, 59 0xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b}, 60 60 61 .LeftGains = { 61 .LeftGains = { 62 0x3e96, 0x3e96, 0x3e96, 62 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 63 0x3e96, 0x3e96, 0x3e96, 63 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}, 64 .RightGains = { 64 .RightGains = { 65 0x3e96, 0x3e96, 0x3e96, 65 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 66 0x3e96, 0x3e96, 0x3e96, 66 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96} 67 }; 67 }; 68 68 69 static const u16 eq_gains_normal[20] = { 69 static const u16 eq_gains_normal[20] = { 70 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96 70 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 71 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96 71 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 72 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96 72 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96, 73 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96 73 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96 74 }; 74 }; 75 75 76 /* _rodatab60 */ 76 /* _rodatab60 */ 77 static const u16 eq_gains_zero[10] = { 77 static const u16 eq_gains_zero[10] = { 78 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 78 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 79 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 80 }; 80 }; 81 81 82 /* _rodatab7c: ProgramPipe */ 82 /* _rodatab7c: ProgramPipe */ 83 static const u16 eq_gains_current[12] = { 83 static const u16 eq_gains_current[12] = { 84 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff 84 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 85 0x7fff, 85 0x7fff, 86 0x7fff, 0x7fff, 0x7fff 86 0x7fff, 0x7fff, 0x7fff 87 }; 87 }; 88 88 89 /* _rodatab78 */ 89 /* _rodatab78 */ 90 static const u16 eq_states_zero[2] = { 0x0000, 90 static const u16 eq_states_zero[2] = { 0x0000, 0x0000 }; 91 91 92 static const u16 asEqOutStateZeros[48] = { 92 static const u16 asEqOutStateZeros[48] = { 93 0x0000, 0x0000, 0x0000, 0x0000, 93 0x0000, 0x0000, 0x0000, 0x0000, 94 0x0000, 0x0000, 0x0000, 0x0000, 94 0x0000, 0x0000, 0x0000, 0x0000, 95 0x0000, 0x0000, 0x0000, 0x0000, 95 0x0000, 0x0000, 0x0000, 0x0000, 96 0x0000, 0x0000, 0x0000, 0x0000, 96 0x0000, 0x0000, 0x0000, 0x0000, 97 0x0000, 0x0000, 0x0000, 0x0000, 97 0x0000, 0x0000, 0x0000, 0x0000, 98 0x0000, 0x0000, 0x0000, 0x0000, 98 0x0000, 0x0000, 0x0000, 0x0000, 99 0x0000, 0x0000, 0x0000, 0x0000, 99 0x0000, 0x0000, 0x0000, 0x0000, 100 0x0000, 0x0000, 0x0000, 0x0000, 100 0x0000, 0x0000, 0x0000, 0x0000, 101 0x0000, 0x0000, 0x0000, 0x0000, 101 0x0000, 0x0000, 0x0000, 0x0000, 102 0x0000, 0x0000, 0x0000, 0x0000, 102 0x0000, 0x0000, 0x0000, 0x0000, 103 0x0000, 0x0000, 0x0000, 0x0000, 103 0x0000, 0x0000, 0x0000, 0x0000, 104 0x0000, 0x0000, 0x0000, 0x0000 104 0x0000, 0x0000, 0x0000, 0x0000 105 }; 105 }; 106 106 107 /*_rodataba0:*/ 107 /*_rodataba0:*/ 108 static const u16 eq_levels[64] = { 108 static const u16 eq_levels[64] = { 109 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 109 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 110 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 110 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 111 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 111 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 112 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 112 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 113 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 113 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 114 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 114 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 115 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 115 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 116 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 116 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 117 }; 117 }; 118 118
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.