Home
last modified time | relevance | path

Searched refs:sysclk_rate (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/sound/soc/codecs/
Dwm9081.c163 int sysclk_rate; member
604 wm9081->sysclk_rate = wm9081->mclk_rate / 2; in configure_clock()
606 wm9081->sysclk_rate = wm9081->mclk_rate; in configure_clock()
652 wm9081->sysclk_rate = new_sysclk; in configure_clock()
657 wm9081->sysclk_rate = wm9081->mclk_rate; in configure_clock()
679 dev_dbg(codec->dev, "CLK_SYS is %dHz\n", wm9081->sysclk_rate); in configure_clock()
1011 best_val = abs((wm9081->sysclk_rate / clk_sys_rates[0].ratio) in wm9081_hw_params()
1014 cur_val = abs((wm9081->sysclk_rate / in wm9081_hw_params()
1046 cur_val = ((wm9081->sysclk_rate * 10) / bclk_divs[i].div) in wm9081_hw_params()
1055 wm9081->bclk = (wm9081->sysclk_rate * 10) / bclk_divs[best].div; in wm9081_hw_params()
Dwm8993.c236 unsigned int sysclk_rate; member
476 wm8993->sysclk_rate = wm8993->mclk_rate / 2; in configure_clock()
479 wm8993->sysclk_rate = wm8993->mclk_rate; in configure_clock()
492 wm8993->sysclk_rate = wm8993->fll_fout / 2; in configure_clock()
495 wm8993->sysclk_rate = wm8993->fll_fout; in configure_clock()
505 dev_dbg(codec->dev, "CLK_SYS is %dHz\n", wm8993->sysclk_rate); in configure_clock()
1230 best_val = abs((wm8993->sysclk_rate / clk_sys_rates[0].ratio) in wm8993_hw_params()
1233 cur_val = abs((wm8993->sysclk_rate / in wm8993_hw_params()
1265 cur_val = ((wm8993->sysclk_rate * 10) / bclk_divs[i].div) in wm8993_hw_params()
1274 wm8993->bclk = (wm8993->sysclk_rate * 10) / bclk_divs[best].div; in wm8993_hw_params()
Dwm8904.c80 unsigned int sysclk_rate; member
648 wm8904->sysclk_rate = rate / 2; in wm8904_configure_clocking()
651 wm8904->sysclk_rate = rate; in wm8904_configure_clocking()
660 dev_dbg(codec->dev, "CLK_SYS is %dHz\n", wm8904->sysclk_rate); in wm8904_configure_clocking()
1588 best_val = abs((wm8904->sysclk_rate / clk_sys_rates[0].ratio) in wm8904_hw_params()
1591 cur_val = abs((wm8904->sysclk_rate / in wm8904_hw_params()
1627 cur_val = ((wm8904->sysclk_rate * 10) / bclk_divs[i].div) in wm8904_hw_params()
1636 wm8904->bclk = (wm8904->sysclk_rate * 10) / bclk_divs[best].div; in wm8904_hw_params()
Dwm8962.c56 int sysclk_rate; member
2769 dspclk = wm8962->sysclk_rate; in wm8962_configure_bclk()
2772 dspclk = wm8962->sysclk_rate / 2; in wm8962_configure_bclk()
2775 dspclk = wm8962->sysclk_rate / 4; in wm8962_configure_bclk()
2938 if (sysclk_rates[i] == wm8962->sysclk_rate / rate) { in wm8962_hw_params()
2945 wm8962->sysclk_rate / rate); in wm8962_hw_params()
3002 wm8962->sysclk_rate = freq; in wm8962_set_dai_sysclk()
Dwm8994.c75 int sysclk_rate[2]; member