Searched refs:fs_ratios (Results 1 – 4 of 4) sorted by relevance
107 } fs_ratios[] = { variable708 for (i = 0; i < ARRAY_SIZE(fs_ratios); ++i) { in wm8983_hw_params()710 == fs_ratios[i].ratio) in wm8983_hw_params()714 if (i == ARRAY_SIZE(fs_ratios)) { in wm8983_hw_params()720 dev_dbg(dai->dev, "MCLK ratio = %dfs\n", fs_ratios[i].ratio); in wm8983_hw_params()725 tmp = (wm8983->sysclk / fs_ratios[i].div) * 10; in wm8983_hw_params()
197 } fs_ratios[] = { variable806 for (i = 0; i < ARRAY_SIZE(fs_ratios); ++i) { in wm8985_hw_params()808 == fs_ratios[i].ratio) in wm8985_hw_params()812 if (i == ARRAY_SIZE(fs_ratios)) { in wm8985_hw_params()818 dev_dbg(dai->dev, "MCLK ratio = %dfs\n", fs_ratios[i].ratio); in wm8985_hw_params()823 tmp = (wm8985->sysclk / fs_ratios[i].div) * 10; in wm8985_hw_params()
1534 static const int fs_ratios[] = { variable1630 best_val = abs((fs_ratios[1] * params_rate(params)) in wm8995_hw_params()1632 for (i = 2; i < ARRAY_SIZE(fs_ratios); i++) { in wm8995_hw_params()1633 cur_val = abs((fs_ratios[i] * params_rate(params)) in wm8995_hw_params()1643 dai->id + 1, fs_ratios[best]); in wm8995_hw_params()
2900 static int fs_ratios[] = { variable3024 best_val = abs((fs_ratios[0] * params_rate(params)) in wm8994_hw_params()3026 for (i = 1; i < ARRAY_SIZE(fs_ratios); i++) { in wm8994_hw_params()3027 cur_val = abs((fs_ratios[i] * params_rate(params)) in wm8994_hw_params()3035 dai->id, fs_ratios[best]); in wm8994_hw_params()