Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-omap1/
Dclock.c146 unsigned dsor_exp; in calc_dsor_exp() local
153 for (dsor_exp=0; dsor_exp<4; dsor_exp++) { in calc_dsor_exp()
160 return dsor_exp; in calc_dsor_exp()
233 int dsor_exp; in omap1_clk_set_rate_dsp_domain() local
236 dsor_exp = calc_dsor_exp(clk, rate); in omap1_clk_set_rate_dsp_domain()
237 if (dsor_exp > 3) in omap1_clk_set_rate_dsp_domain()
238 dsor_exp = -EINVAL; in omap1_clk_set_rate_dsp_domain()
239 if (dsor_exp < 0) in omap1_clk_set_rate_dsp_domain()
240 return dsor_exp; in omap1_clk_set_rate_dsp_domain()
244 regval |= dsor_exp << clk->rate_offset; in omap1_clk_set_rate_dsp_domain()
[all …]