Home
last modified time | relevance | path

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

/linux-6.6.21/arch/arm/mach-omap1/
Dclock.h84 unsigned long p_rate);
86 unsigned long *p_rate);
96 unsigned long followparent_recalc(struct omap1_clk *clk, unsigned long p_rate);
97 unsigned long omap_fixed_divisor_recalc(struct omap1_clk *clk, unsigned long p_rate);
103 unsigned long omap1_ckctl_recalc(struct omap1_clk *clk, unsigned long p_rate);
104 long omap1_round_sossi_rate(struct omap1_clk *clk, unsigned long rate, unsigned long *p_rate);
105 int omap1_set_sossi_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate);
106 unsigned long omap1_sossi_recalc(struct omap1_clk *clk, unsigned long p_rate);
107 unsigned long omap1_ckctl_recalc_dsp_domain(struct omap1_clk *clk, unsigned long p_rate);
109 unsigned long p_rate);
[all …]
Dclock.c47 unsigned long omap1_uart_recalc(struct omap1_clk *clk, unsigned long p_rate) in omap1_uart_recalc() argument
53 unsigned long omap1_sossi_recalc(struct omap1_clk *clk, unsigned long p_rate) in omap1_sossi_recalc() argument
60 return p_rate / div; in omap1_sossi_recalc()
166 unsigned long omap1_ckctl_recalc(struct omap1_clk *clk, unsigned long p_rate) in omap1_ckctl_recalc() argument
172 clk->rate = p_rate / dsor; in omap1_ckctl_recalc()
207 unsigned long omap1_ckctl_recalc_dsp_domain(struct omap1_clk *clk, unsigned long p_rate) in omap1_ckctl_recalc_dsp_domain() argument
226 return p_rate / dsor; in omap1_ckctl_recalc_dsp_domain()
230 int omap1_select_table_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_select_table_rate() argument
265 int omap1_clk_set_rate_dsp_domain(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_clk_set_rate_dsp_domain() argument
270 dsor_exp = calc_dsor_exp(rate, p_rate); in omap1_clk_set_rate_dsp_domain()
[all …]
/linux-6.6.21/drivers/clk/rockchip/
Dclk.c185 unsigned long p_rate, p_parent_rate; in rockchip_fractional_approximation() local
188 p_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()
189 if ((rate * 20 > p_rate) && (p_rate % rate != 0)) { in rockchip_fractional_approximation()
/linux-6.6.21/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.c129 unsigned long *p_rate) in clk_cpu_div_round_rate() argument
140 *p_rate = clk_hw_get_rate(p_hw); in clk_cpu_div_round_rate()
/linux-6.6.21/drivers/clk/tegra/
Dclk-tegra210.c1485 unsigned long cf, p_rate; in tegra210_pll_fixed_mdiv_cfg() local
1507 p_rate = rate * p; in tegra210_pll_fixed_mdiv_cfg()
1508 if (p_rate > params->vco_max) in tegra210_pll_fixed_mdiv_cfg()
1509 p_rate = params->vco_max; in tegra210_pll_fixed_mdiv_cfg()
1511 cfg->n = p_rate / cf; in tegra210_pll_fixed_mdiv_cfg()
1516 unsigned long rem = p_rate - cf * cfg->n; in tegra210_pll_fixed_mdiv_cfg()
/linux-6.6.21/drivers/clk/
Dclk.c2762 unsigned long p_rate = 0; in clk_core_set_parent_nolock() local
2791 p_rate = parent->rate; in clk_core_set_parent_nolock()
2799 ret = __clk_speculate_rates(core, p_rate); in clk_core_set_parent_nolock()