Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A 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()
H A 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()