Searched refs:deemph_settings (Results 1 – 5 of 5) sorted by relevance
/sound/soc/codecs/ |
D | ak4641.c | 68 static const int deemph_settings[] = {44100, 0, 48000, 32000}; variable 75 for (i = 0 ; i < ARRAY_SIZE(deemph_settings); i++) { in ak4641_set_deemph() 77 if (ak4641->deemph && deemph_settings[i] != 0 && in ak4641_set_deemph() 78 abs(deemph_settings[i] - ak4641->playback_fs) < in ak4641_set_deemph() 79 abs(deemph_settings[best] - ak4641->playback_fs)) in ak4641_set_deemph() 82 if (!ak4641->deemph && deemph_settings[i] == 0) in ak4641_set_deemph()
|
D | es8328.c | 108 } deemph_settings[] = { variable 126 for (i = 1; i < ARRAY_SIZE(deemph_settings); i++) { in es8328_set_deemph() 127 if (abs(deemph_settings[i].rate - es8328->playback_fs) < in es8328_set_deemph() 128 abs(deemph_settings[best].rate - es8328->playback_fs)) in es8328_set_deemph() 132 val = deemph_settings[best].val; in es8328_set_deemph()
|
D | wm8955.c | 358 static int deemph_settings[] = { 0, 32000, 44100, 48000 }; variable 370 for (i = 2; i < ARRAY_SIZE(deemph_settings); i++) { in wm8955_set_deemph() 371 if (abs(deemph_settings[i] - wm8955->fs) < in wm8955_set_deemph() 372 abs(deemph_settings[best] - wm8955->fs)) in wm8955_set_deemph()
|
D | wm8960.c | 170 static const int deemph_settings[] = { 0, 32000, 44100, 48000 }; variable 182 for (i = 2; i < ARRAY_SIZE(deemph_settings); i++) { in wm8960_set_deemph() 183 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph() 184 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph()
|
D | wm8904.c | 488 static int deemph_settings[] = { 0, 32000, 44100, 48000 }; variable 500 for (i = 2; i < ARRAY_SIZE(deemph_settings); i++) { in wm8904_set_deemph() 501 if (abs(deemph_settings[i] - wm8904->fs) < in wm8904_set_deemph() 502 abs(deemph_settings[best] - wm8904->fs)) in wm8904_set_deemph()
|