Lines Matching refs:new_rate
701 ulong new_rate, gclk_rate; in rk3288_clk_get_rate() local
706 new_rate = rkclk_pll_get_rate(priv->cru, clk->id); in rk3288_clk_get_rate()
714 new_rate = rockchip_mmc_get_clk(priv->cru, gclk_rate, clk->id); in rk3288_clk_get_rate()
719 new_rate = rockchip_spi_get_clk(priv->cru, gclk_rate, clk->id); in rk3288_clk_get_rate()
731 new_rate = rockchip_saradc_get_clk(priv->cru); in rk3288_clk_get_rate()
737 return new_rate; in rk3288_clk_get_rate()
744 ulong new_rate, gclk_rate; in rk3288_clk_set_rate() local
753 new_rate = rate; in rk3288_clk_set_rate()
756 new_rate = rkclk_configure_ddr(priv->cru, priv->grf, rate); in rk3288_clk_set_rate()
764 new_rate = rockchip_mmc_set_clk(cru, gclk_rate, clk->id, rate); in rk3288_clk_set_rate()
769 new_rate = rockchip_spi_set_clk(cru, gclk_rate, clk->id, rate); in rk3288_clk_set_rate()
773 new_rate = rockchip_mac_set_clk(priv->cru, rate); in rk3288_clk_set_rate()
777 new_rate = rockchip_vop_set_clk(cru, priv->grf, clk->id, rate); in rk3288_clk_set_rate()
787 new_rate = rate; in rk3288_clk_set_rate()
809 new_rate = rate; in rk3288_clk_set_rate()
820 new_rate = rate; in rk3288_clk_set_rate()
824 new_rate = rockchip_saradc_set_clk(priv->cru, rate); in rk3288_clk_set_rate()
841 return new_rate; in rk3288_clk_set_rate()