Lines Matching refs:cs42xx8_ratios
179 struct cs42xx8_ratios { struct
195 static const struct cs42xx8_ratios cs42xx8_ratios[] = { argument
301 for (i = 0; i < ARRAY_SIZE(cs42xx8_ratios); i++) { in cs42xx8_hw_params()
304 (cs42xx8_ratios[i].ratio[0] == ratio[tx] || in cs42xx8_hw_params()
305 cs42xx8_ratios[i].ratio[1] == ratio[tx] || in cs42xx8_hw_params()
306 cs42xx8_ratios[i].ratio[2] == ratio[tx]) : in cs42xx8_hw_params()
307 (cs42xx8_ratios[i].ratio[fm[tx]] == ratio[tx])) && in cs42xx8_hw_params()
308 cs42xx8->sysclk >= cs42xx8_ratios[i].min_mclk && in cs42xx8_hw_params()
309 cs42xx8->sysclk <= cs42xx8_ratios[i].max_mclk; in cs42xx8_hw_params()
316 (cs42xx8_ratios[i].ratio[0] == ratio[!tx] || in cs42xx8_hw_params()
317 cs42xx8_ratios[i].ratio[1] == ratio[!tx] || in cs42xx8_hw_params()
318 cs42xx8_ratios[i].ratio[2] == ratio[!tx]) : in cs42xx8_hw_params()
319 (cs42xx8_ratios[i].ratio[fm[!tx]] == ratio[!tx])); in cs42xx8_hw_params()
332 if (i == ARRAY_SIZE(cs42xx8_ratios)) { in cs42xx8_hw_params()
340 val = cs42xx8_ratios[i].mfreq; in cs42xx8_hw_params()