Lines Matching refs:ratio
182 unsigned int ratio[3]; member
266 u32 ratio[2]; in cs42xx8_hw_params() local
278 ratio[tx] = rate[tx] > 0 ? cs42xx8->sysclk / rate[tx] : 0; in cs42xx8_hw_params()
279 ratio[!tx] = rate[!tx] > 0 ? cs42xx8->sysclk / rate[!tx] : 0; in cs42xx8_hw_params()
303 (cs42xx8_ratios[i].ratio[0] == ratio[tx] || in cs42xx8_hw_params()
304 cs42xx8_ratios[i].ratio[1] == ratio[tx] || in cs42xx8_hw_params()
305 cs42xx8_ratios[i].ratio[2] == ratio[tx]) : in cs42xx8_hw_params()
306 (cs42xx8_ratios[i].ratio[fm[tx]] == ratio[tx])) && in cs42xx8_hw_params()
310 if (!ratio[tx]) in cs42xx8_hw_params()
315 (cs42xx8_ratios[i].ratio[0] == ratio[!tx] || in cs42xx8_hw_params()
316 cs42xx8_ratios[i].ratio[1] == ratio[!tx] || in cs42xx8_hw_params()
317 cs42xx8_ratios[i].ratio[2] == ratio[!tx]) : in cs42xx8_hw_params()
318 (cs42xx8_ratios[i].ratio[fm[!tx]] == ratio[!tx])); in cs42xx8_hw_params()
320 if (!ratio[!tx]) in cs42xx8_hw_params()