Path: blob/master/sound/pci/au88x0/au88x0_eqdata.c
10817 views
/* Data structs */12static u16 asEqCoefsZeros[50] = {30x0000, 0x0000, 0x0000, 0x0000, 0x0000,40x0000, 0x0000, 0x0000, 0x0000, 0x0000,50x0000, 0x0000, 0x0000, 0x0000, 0x0000,60x0000, 0x0000, 0x0000, 0x0000, 0x0000,70x0000, 0x0000, 0x0000, 0x0000, 0x0000,80x0000, 0x0000, 0x0000, 0x0000, 0x0000,90x0000, 0x0000, 0x0000, 0x0000, 0x0000,100x0000, 0x0000, 0x0000, 0x0000, 0x0000,110x0000, 0x0000, 0x0000, 0x0000, 0x0000,120x0000, 0x0000, 0x0000, 0x0000, 0x0000,13};1415static u16 asEqCoefsPipes[64] = {160x0000, 0x0000,170x0000, 0x0666, 0x0000, 0x0000, 0x0666,180x0000, 0x0000, 0x0000, 0x0000, 0x0000,190x0000, 0x0666, 0x0000, 0x0000, 0x0666,200x0000, 0x0000, 0x0000, 0x0000, 0x0000,210x0000, 0x0666, 0x0000, 0x0000, 0x0666,220x0000, 0x0000, 0x0000, 0x0000, 0x0000,230x0000, 0x0666, 0x0000, 0x0000, 0x0666,240x0000, 0x0000, 0x0000, 0x0000, 0x0000,250x0000, 0x0666, 0x0000, 0x0000, 0x066a,260x0000, 0x0000, 0x0000, 0x0000, 0x0000,27280x0000, 0x0000, 0x0000, 0x0000, 0x0000,290x0000, 0x0000, 0x0000, 0x0000, 0x0000,300x0000, 0x000031};3233/* More coef sets can be found in the win2k "inf" file. */34static auxxEqCoeffSet_t asEqCoefsNormal = {35.LeftCoefs = {360x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,370x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,380x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,390x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,400x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,410x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,420x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,430x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,440x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,450xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},4647.RightCoefs = {480x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,490x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,500x7f3f, 0xc0bc, 0x00c2, 0x0000, 0xff3e,510x7e78, 0xc177, 0x011f, 0x0000, 0xfee1,520x7cd6, 0xc2e5, 0x025c, 0x0000, 0xfda4,530x7949, 0xc5aa, 0x0467, 0x0000, 0xfb99,540x7120, 0xcadf, 0x0864, 0x0000, 0xf79c,550x5d33, 0xd430, 0x0f7e, 0x0000, 0xf082,560x2beb, 0xe3ca, 0x1bd3, 0x0000, 0xe42d,570xd740, 0xf01d, 0x2ac5, 0x0000, 0xd53b},5859.LeftGains = {600x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,610x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96},62.RightGains = {630x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,640x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}65};6667static u16 eq_gains_normal[20] = {680x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,690x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,700x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,710x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e9672};7374/* _rodatab60 */75static u16 eq_gains_zero[10] = {760x0000, 0x0000, 0x0000, 0x0000, 0x0000,770x0000, 0x0000, 0x0000, 0x0000, 0x000078};7980/* _rodatab7c: ProgramPipe */81static u16 eq_gains_current[12] = {820x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,830x7fff,840x7fff, 0x7fff, 0x7fff85};8687/* _rodatab78 */88static u16 eq_states_zero[2] = { 0x0000, 0x0000 };8990static u16 asEqOutStateZeros[48] = {910x0000, 0x0000, 0x0000, 0x0000,920x0000, 0x0000, 0x0000, 0x0000,930x0000, 0x0000, 0x0000, 0x0000,940x0000, 0x0000, 0x0000, 0x0000,950x0000, 0x0000, 0x0000, 0x0000,960x0000, 0x0000, 0x0000, 0x0000,970x0000, 0x0000, 0x0000, 0x0000,980x0000, 0x0000, 0x0000, 0x0000,990x0000, 0x0000, 0x0000, 0x0000,1000x0000, 0x0000, 0x0000, 0x0000,1010x0000, 0x0000, 0x0000, 0x0000,1020x0000, 0x0000, 0x0000, 0x0000103};104105/*_rodataba0:*/106static u16 eq_levels[64] = {1070x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,1080x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,1090x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,1100x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,1110x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,1120x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,1130x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,1140x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000115};116117118