Searched refs:clk_gcd (Results 1 – 1 of 1) sorted by relevance
116 ulong clk_gcd = 0; in rockchip_pll_clk_set_by_auto() local129 clk_gcd = gcd(fin_hz, foutvco); in rockchip_pll_clk_set_by_auto()130 rate_table->refdiv = fin_hz / clk_gcd; in rockchip_pll_clk_set_by_auto()131 rate_table->fbdiv = foutvco / clk_gcd; in rockchip_pll_clk_set_by_auto()136 fin_hz, fout_hz, clk_gcd); in rockchip_pll_clk_set_by_auto()146 clk_gcd = gcd(fin_hz / MHZ, foutvco / MHZ); in rockchip_pll_clk_set_by_auto()147 rate_table->refdiv = fin_hz / MHZ / clk_gcd; in rockchip_pll_clk_set_by_auto()148 rate_table->fbdiv = foutvco / MHZ / clk_gcd; in rockchip_pll_clk_set_by_auto()
Completed in 3 milliseconds