Home
last modified time | relevance | path

Searched refs:srate_best (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/sound/soc/codecs/
Dwm8983.c655 int srate_best; in wm8983_hw_params() local
693 srate_best = abs(srates[0] - params_rate(params)); in wm8983_hw_params()
695 if (abs(srates[i] - params_rate(params)) >= srate_best) in wm8983_hw_params()
698 srate_best = abs(srates[i] - params_rate(params)); in wm8983_hw_params()
Dwm8985.c755 int srate_best; in wm8985_hw_params() local
791 srate_best = abs(srates[0] - params_rate(params)); in wm8985_hw_params()
793 if (abs(srates[i] - params_rate(params)) >= srate_best) in wm8985_hw_params()
796 srate_best = abs(srates[i] - params_rate(params)); in wm8985_hw_params()