Searched refs:tbls (Results 1 – 2 of 2) sorted by relevance
491 struct pll_rate_tbl *tbls = clk->rate_config.tbls; in pll_calc_rate() local494 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() local557 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 …]
67 void *tbls; member