Searched refs:p_rate (Results 1 – 5 of 5) sorted by relevance
182 unsigned long p_rate, p_parent_rate; in rockchip_fractional_approximation() local186 p_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()187 if ((rate * 20 > p_rate) && (p_rate % rate != 0)) { in rockchip_fractional_approximation()
141 clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long p_rate) in clk_pll_set_rate() argument
1252 unsigned long *p_rate) in clk_cpu_div_round_rate() argument1263 *p_rate = clk_hw_get_rate(p_hw); in clk_cpu_div_round_rate()
1434 unsigned long cf, p_rate; in tegra210_pll_fixed_mdiv_cfg() local1456 p_rate = rate * p; in tegra210_pll_fixed_mdiv_cfg()1457 if (p_rate > params->vco_max) in tegra210_pll_fixed_mdiv_cfg()1458 p_rate = params->vco_max; in tegra210_pll_fixed_mdiv_cfg()1460 cfg->n = p_rate / cf; in tegra210_pll_fixed_mdiv_cfg()1465 unsigned long rem = p_rate - cf * cfg->n; in tegra210_pll_fixed_mdiv_cfg()
2604 unsigned long p_rate = 0; in clk_core_set_parent_nolock() local2633 p_rate = parent->rate; in clk_core_set_parent_nolock()2641 ret = __clk_speculate_rates(core, p_rate); in clk_core_set_parent_nolock()