Home
last modified time | relevance | path

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

/u-boot/drivers/clk/rockchip/
A Dclk_pll.c80 static int rockchip_pll_clk_set_postdiv(ulong fout_hz, in rockchip_pll_clk_set_postdiv() argument
87 if (fout_hz < MIN_FOUTVCO_FREQ) { in rockchip_pll_clk_set_postdiv()
90 freq = fout_hz * (*postdiv1) * (*postdiv2); in rockchip_pll_clk_set_postdiv()
99 fout_hz); in rockchip_pll_clk_set_postdiv()
109 ulong fout_hz) in rockchip_pll_clk_set_by_auto() argument
113 u32 foutvco = fout_hz; in rockchip_pll_clk_set_by_auto()
118 if (fin_hz == 0 || fout_hz == 0 || fout_hz == fin_hz) in rockchip_pll_clk_set_by_auto()
121 rockchip_pll_clk_set_postdiv(fout_hz, &postdiv1, &postdiv2, &foutvco); in rockchip_pll_clk_set_by_auto()
126 if (fin_hz / MHZ * MHZ == fin_hz && fout_hz / MHZ * MHZ == fout_hz) { in rockchip_pll_clk_set_by_auto()
136 fin_hz, fout_hz, clk_gcd); in rockchip_pll_clk_set_by_auto()
[all …]

Completed in 2 milliseconds