Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/plat-spear/
Dclock.c491 struct pll_rate_tbl *tbls = clk->rate_config.tbls; in pll_calc_rate() local
494 mode = tbls[index].mode ? 256 : 1; in pll_calc_rate()
495 return (((2 * rate / 10000) * tbls[index].m) / in pll_calc_rate()
496 (mode * tbls[index].n * (1 << tbls[index].p))) * 10000; in pll_calc_rate()
546 struct pll_rate_tbl *tbls = clk->rate_config.tbls; in pll_clk_set_rate() local
557 val |= (tbls[i].mode & config->masks->mode_mask) << in pll_clk_set_rate()
563 val |= (tbls[i].p & config->masks->div_p_mask) << in pll_clk_set_rate()
566 val |= (tbls[i].n & config->masks->div_n_mask) << in pll_clk_set_rate()
570 if (tbls[i].mode) in pll_clk_set_rate()
571 val |= (tbls[i].m & config->masks->dith_fdbk_m_mask) << in pll_clk_set_rate()
[all …]
/linux-2.6.39/arch/arm/plat-spear/include/plat/
Dclock.h67 void *tbls; member