Home
last modified time | relevance | path

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

/drivers/clk/rockchip/
Dclk.c182 unsigned long p_rate, p_parent_rate; in rockchip_fractional_approximation() local
186 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()
/drivers/clk/qcom/
Dclk-pll.c141 clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long p_rate) in clk_pll_set_rate() argument
Dgcc-ipq4019.c1252 unsigned long *p_rate) in clk_cpu_div_round_rate() argument
1263 *p_rate = clk_hw_get_rate(p_hw); in clk_cpu_div_round_rate()
/drivers/clk/tegra/
Dclk-tegra210.c1434 unsigned long cf, p_rate; in tegra210_pll_fixed_mdiv_cfg() local
1456 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()
/drivers/clk/
Dclk.c2604 unsigned long p_rate = 0; in clk_core_set_parent_nolock() local
2633 p_rate = parent->rate; in clk_core_set_parent_nolock()
2641 ret = __clk_speculate_rates(core, p_rate); in clk_core_set_parent_nolock()