Home
last modified time | relevance | path

Searched refs:fs_ratios (Results 1 – 4 of 4) sorted by relevance

/linux/sound/soc/codecs/
H A Dwm8983.c107 } fs_ratios[] = { variable
708 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()
H A Dwm8985.c197 } fs_ratios[] = { variable
806 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()
H A Dwm8995.c1534 static const int fs_ratios[] = { variable
1630 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()
H A Dwm8994.c2900 static int fs_ratios[] = { variable
3024 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()