Lines Matching refs:ratio
183 unsigned int ratio[3]; member
267 u32 ratio[2]; in cs42xx8_hw_params() local
279 ratio[tx] = rate[tx] > 0 ? cs42xx8->sysclk / rate[tx] : 0; in cs42xx8_hw_params()
280 ratio[!tx] = rate[!tx] > 0 ? cs42xx8->sysclk / rate[!tx] : 0; 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()
311 if (!ratio[tx]) 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()
321 if (!ratio[!tx]) in cs42xx8_hw_params()