Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/clk/
H A Dclk_zynqmp.c374 unsigned long pllrate; in zynqmp_clk_get_cpu_rate() local
385 pllrate = zynqmp_clk_get_pll_rate(priv, pll); in zynqmp_clk_get_cpu_rate()
386 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_cpu_rate()
387 return pllrate; in zynqmp_clk_get_cpu_rate()
389 return DIV_ROUND_CLOSEST(pllrate, div); in zynqmp_clk_get_cpu_rate()
397 ulong pllrate; in zynqmp_clk_get_ddr_rate() local
408 pllrate = zynqmp_clk_get_pll_rate(priv, pll); in zynqmp_clk_get_ddr_rate()
409 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_ddr_rate()
410 return pllrate; in zynqmp_clk_get_ddr_rate()
412 return DIV_ROUND_CLOSEST(pllrate, div); in zynqmp_clk_get_ddr_rate()
[all …]