Home
last modified time | relevance | path

Searched refs:bclk_rate (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c100 unsigned long bclk_rate = clk_get_rate(bclk); in shoc_clk_verify_rate() local
104 if (rate > bclk_rate) in shoc_clk_verify_rate()
/linux-2.6.39/sound/soc/codecs/
Dwm8995.c1113 int bclk_rate; in wm8995_hw_params() local
1150 bclk_rate = snd_soc_params_to_bclk(params); in wm8995_hw_params()
1151 if (bclk_rate < 0) in wm8995_hw_params()
1152 return bclk_rate; in wm8995_hw_params()
1186 dai->id + 1, wm8995->aifclk[dai->id], bclk_rate); in wm8995_hw_params()
1214 cur_val = (wm8995->aifclk[dai->id] * 10 / bclk_divs[i]) - bclk_rate; in wm8995_hw_params()
1221 bclk_rate = wm8995->aifclk[dai->id] * 10 / bclk_divs[best]; in wm8995_hw_params()
1223 bclk_divs[best], bclk_rate); in wm8995_hw_params()
1225 lrclk = bclk_rate / params_rate(params); in wm8995_hw_params()
1227 lrclk, bclk_rate / lrclk); in wm8995_hw_params()
Dwm8994.c2340 int i, cur_val, best_val, bclk_rate, best; in wm8994_hw_params() local
2381 bclk_rate = params_rate(params) * 2; in wm8994_hw_params()
2384 bclk_rate *= 16; in wm8994_hw_params()
2387 bclk_rate *= 20; in wm8994_hw_params()
2391 bclk_rate *= 24; in wm8994_hw_params()
2395 bclk_rate *= 32; in wm8994_hw_params()
2412 dai->id, wm8994->aifclk[id], bclk_rate); in wm8994_hw_params()
2446 cur_val = (wm8994->aifclk[id] * 10 / bclk_divs[i]) - bclk_rate; in wm8994_hw_params()
2451 bclk_rate = wm8994->aifclk[id] * 10 / bclk_divs[best]; in wm8994_hw_params()
2453 bclk_divs[best], bclk_rate); in wm8994_hw_params()
[all …]