Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/
Dclk_sandbox.c35 ulong old_rate; in sandbox_clk_set_rate() local
46 old_rate = priv->rate[clk->id]; in sandbox_clk_set_rate()
49 return old_rate; in sandbox_clk_set_rate()
/external/u-boot/drivers/clk/mvebu/
Darmada-37xx-periph.c390 ulong rate, old_rate, parent_rate; in armada_37xx_periph_clk_set_rate() local
401 old_rate = periph_clk_get_rate(priv, clk->id); in armada_37xx_periph_clk_set_rate()
402 if (old_rate == -EINVAL) in armada_37xx_periph_clk_set_rate()
405 if (old_rate == req_rate) in armada_37xx_periph_clk_set_rate()
406 return old_rate; in armada_37xx_periph_clk_set_rate()
/external/u-boot/drivers/clk/rockchip/
Dclk_rk3308.c68 ulong old_rate; in rk3308_armclk_set_clk() local
81 old_rate = rockchip_pll_get_rate(&rk3308_pll_clks[APLL], in rk3308_armclk_set_clk()
83 if (old_rate > hz) { in rk3308_armclk_set_clk()
94 } else if (old_rate < hz) { in rk3308_armclk_set_clk()
Dclk_px30.c1116 ulong old_rate; in px30_armclk_set_clk() local
1129 old_rate = px30_clk_get_pll_rate(priv, APLL); in px30_armclk_set_clk()
1130 if (old_rate > hz) { in px30_armclk_set_clk()
1140 } else if (old_rate < hz) { in px30_armclk_set_clk()