Home
last modified time | relevance | path

Searched refs:best_parent_rate (Results 1 – 25 of 42) sorted by relevance

12

/drivers/clk/at91/
Dclk-audio-pll.c251 req->rate, req->best_parent_rate); in clk_audio_pll_frac_determine_rate()
258 ret = clk_audio_pll_frac_compute_frac(req->rate, req->best_parent_rate, in clk_audio_pll_frac_determine_rate()
263 req->rate = clk_audio_pll_fout(req->best_parent_rate, nd, fracr); in clk_audio_pll_frac_determine_rate()
278 unsigned long best_parent_rate; in clk_audio_pll_pad_round_rate() local
306 best_parent_rate = clk_hw_round_rate(pclk, in clk_audio_pll_pad_round_rate()
308 tmp_rate = best_parent_rate / (div * tmp_qd); in clk_audio_pll_pad_round_rate()
312 *parent_rate = best_parent_rate; in clk_audio_pll_pad_round_rate()
319 __func__, best_rate, best_parent_rate); in clk_audio_pll_pad_round_rate()
329 unsigned long best_parent_rate = 0; in clk_audio_pll_pmc_round_rate() local
341 best_parent_rate = clk_round_rate(pclk->clk, 1); in clk_audio_pll_pmc_round_rate()
[all …]
Dclk-generated.c118 req->best_parent_rate = parent_rate; in clk_generated_best_diff()
198 req->best_parent_rate); in clk_generated_determine_rate()
Dclk-master.c193 req->best_parent_rate = parent_rate; in clk_sama7g5_master_best_diff()
258 req->best_parent_rate); in clk_sama7g5_master_determine_rate()
Dclk-peripheral.c254 req->best_parent_rate = parent_rate; in clk_sam9x5_peripheral_best_diff()
316 req->best_parent_rate); in clk_sam9x5_peripheral_determine_rate()
/drivers/clk/sunxi-ng/
Dccu_mux.c86 unsigned long best_parent_rate = 0, best_rate = 0; in ccu_mux_helper_determine_rate() local
94 best_parent_rate = clk_hw_get_rate(best_parent); in ccu_mux_helper_determine_rate()
96 best_parent_rate); in ccu_mux_helper_determine_rate()
106 best_parent_rate = ccu_mux_helper_unapply_prediv(common, cm, -1, in ccu_mux_helper_determine_rate()
134 best_parent_rate = parent_rate; in ccu_mux_helper_determine_rate()
141 best_parent_rate = parent_rate; in ccu_mux_helper_determine_rate()
151 req->best_parent_rate = best_parent_rate; in ccu_mux_helper_determine_rate()
/drivers/clk/imx/
Dclk-pfdv2.c107 req->best_parent_rate in clk_pfdv2_determine_rate()
110 unsigned long best_parent_rate = req->best_parent_rate; in clk_pfdv2_determine_rate() local
132 best_parent_rate = parent_rates[i]; in clk_pfdv2_determine_rate()
136 req->best_parent_rate = best_parent_rate; in clk_pfdv2_determine_rate()
/drivers/clk/actions/
Dowl-factor.c69 unsigned long *best_parent_rate) in owl_clk_val_best() argument
73 unsigned long parent_rate_saved = *best_parent_rate; in owl_clk_val_best()
80 parent_rate = *best_parent_rate; in owl_clk_val_best()
97 *best_parent_rate = parent_rate_saved; in owl_clk_val_best()
107 *best_parent_rate = parent_rate; in owl_clk_val_best()
113 *best_parent_rate = clk_hw_round_rate( in owl_clk_val_best()
/drivers/clk/rockchip/
Dclk-half-divider.c36 unsigned long *best_parent_rate, u8 width, in clk_half_divider_bestdiv() argument
41 unsigned long parent_rate_saved = *best_parent_rate; in clk_half_divider_bestdiv()
49 parent_rate = *best_parent_rate; in clk_half_divider_bestdiv()
72 *best_parent_rate = parent_rate_saved; in clk_half_divider_bestdiv()
83 *best_parent_rate = parent_rate; in clk_half_divider_bestdiv()
89 *best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), 1); in clk_half_divider_bestdiv()
/drivers/clk/
Dclk-multiplier.c66 unsigned long *best_parent_rate, in __bestmult() argument
70 unsigned long orig_parent_rate = *best_parent_rate; in __bestmult()
97 *best_parent_rate = orig_parent_rate; in __bestmult()
108 *best_parent_rate = parent_rate; in __bestmult()
Dclk-divider.c290 unsigned long *best_parent_rate, in clk_divider_bestdiv() argument
296 unsigned long parent_rate_saved = *best_parent_rate; in clk_divider_bestdiv()
304 parent_rate = *best_parent_rate; in clk_divider_bestdiv()
325 *best_parent_rate = parent_rate_saved; in clk_divider_bestdiv()
333 *best_parent_rate = parent_rate; in clk_divider_bestdiv()
339 *best_parent_rate = clk_hw_round_rate(parent, 1); in clk_divider_bestdiv()
Dclk-composite.c70 req->best_parent_rate = clk_hw_get_rate(parent); in clk_composite_determine_rate()
73 &req->best_parent_rate); in clk_composite_determine_rate()
98 req->best_parent_rate = parent_rate; in clk_composite_determine_rate()
Dclk.c615 req->best_parent_rate = best; in clk_mux_determine_rate_flags()
1393 &req->best_parent_rate); in clk_core_determine_round_nolock()
1416 req->best_parent_rate = parent->rate; in clk_core_init_rate_req()
1419 req->best_parent_rate = 0; in clk_core_init_rate_req()
2013 unsigned long best_parent_rate = 0; in clk_calc_new_rates() local
2027 best_parent_rate = parent->rate; in clk_calc_new_rates()
2045 best_parent_rate = req.best_parent_rate; in clk_calc_new_rates()
2081 best_parent_rate != parent->rate) in clk_calc_new_rates()
2082 top = clk_calc_new_rates(parent, best_parent_rate); in clk_calc_new_rates()
2145 unsigned long best_parent_rate = 0; in clk_change_rate() local
[all …]
/drivers/clk/ti/
Ddivider.c177 unsigned long *best_parent_rate) in ti_clk_divider_bestdiv() argument
182 unsigned long parent_rate_saved = *best_parent_rate; in ti_clk_divider_bestdiv()
190 parent_rate = *best_parent_rate; in ti_clk_divider_bestdiv()
212 *best_parent_rate = parent_rate_saved; in ti_clk_divider_bestdiv()
221 *best_parent_rate = parent_rate; in ti_clk_divider_bestdiv()
227 *best_parent_rate = in ti_clk_divider_bestdiv()
Ddpll44xx.c217 &req->best_parent_rate); in omap4_dpll_regm4xen_determine_rate()
221 req->best_parent_rate = req->rate; in omap4_dpll_regm4xen_determine_rate()
/drivers/clk/qcom/
Dclk-rcg2.c237 req->best_parent_rate = rate; in _freq_tbl_determine_rate()
472 req->best_parent_rate = clk_hw_get_rate(req->best_parent_hw); in clk_edp_pixel_determine_rate()
474 if (req->best_parent_rate == 810000000) in clk_edp_pixel_determine_rate()
483 if ((req->best_parent_rate < (request - delta)) || in clk_edp_pixel_determine_rate()
484 (req->best_parent_rate > (request + delta))) in clk_edp_pixel_determine_rate()
492 req->rate = calc_rate(req->best_parent_rate, in clk_edp_pixel_determine_rate()
526 req->best_parent_rate = parent_rate = clk_hw_round_rate(p, req->rate); in clk_byte_determine_rate()
583 req->best_parent_rate = parent_rate = clk_hw_round_rate(p, rate); in clk_byte2_determine_rate()
664 req->best_parent_rate = src_rate; in clk_pixel_determine_rate()
754 req->rate = req->best_parent_rate = p9_rate; in clk_gfx3d_determine_rate()
[all …]
Dclk-rcg.c429 req->best_parent_rate = rate; in _freq_tbl_determine_rate()
468 req->best_parent_rate = clk_hw_round_rate(p, req->rate); in clk_rcg_bypass_determine_rate()
469 req->rate = req->best_parent_rate; in clk_rcg_bypass_determine_rate()
543 req->best_parent_rate = clk_hw_round_rate(p, req->rate); in clk_rcg_bypass2_determine_rate()
544 req->rate = req->best_parent_rate; in clk_rcg_bypass2_determine_rate()
609 req->best_parent_rate = src_rate; in clk_rcg_pixel_determine_rate()
683 req->best_parent_rate = src_rate; in clk_rcg_esc_determine_rate()
/drivers/clk/mmp/
Dclk-mix.c266 req->best_parent_rate = parent_rate_best; in mmp_clk_mix_determine_rate()
377 unsigned long best_parent_rate) in mmp_clk_set_rate() argument
386 best_divisor = best_parent_rate / rate; in mmp_clk_set_rate()
396 if (parent_rate == best_parent_rate in mmp_clk_set_rate()
411 if (parent_rate == best_parent_rate) in mmp_clk_set_rate()
/drivers/clk/hisilicon/
Dclk-hi3620.c288 req->best_parent_rate = 26000000; in mmc_clk_determine_rate()
291 req->best_parent_rate = 180000000; in mmc_clk_determine_rate()
294 req->best_parent_rate = 360000000; in mmc_clk_determine_rate()
297 req->best_parent_rate = 720000000; in mmc_clk_determine_rate()
301 req->best_parent_rate = 1440000000; in mmc_clk_determine_rate()
/drivers/clk/tegra/
Dclk-tegra-super-cclk.c81 req->best_parent_rate = pllp_rate; in cclk_super_determine_rate()
86 req->best_parent_rate = rate; in cclk_super_determine_rate()
Dclk-tegra20-emc.c186 parent_rate = req->best_parent_rate; in emc_determine_rate()
199 req->best_parent_rate = parent_rate; in emc_determine_rate()
/drivers/clk/microchip/
Dclk-core.c392 unsigned long parent_rate, best_parent_rate = 0; in roclk_determine_rate() local
411 best_parent_rate = parent_rate; in roclk_determine_rate()
429 clk_hw_get_name(best_parent_clk), best_parent_rate, in roclk_determine_rate()
432 if (req->best_parent_rate) in roclk_determine_rate()
433 req->best_parent_rate = best_parent_rate; in roclk_determine_rate()
/drivers/clk/bcm/
Dclk-iproc-pll.c517 if (req->rate == 0 || req->best_parent_rate == 0) in iproc_pll_determine_rate()
523 ret = pll_calc_param(req->rate, req->best_parent_rate, in iproc_pll_determine_rate()
653 if (req->rate == req->best_parent_rate) in iproc_clk_determine_rate()
656 bestdiv = DIV_ROUND_CLOSEST(req->best_parent_rate, req->rate); in iproc_clk_determine_rate()
658 req->rate = req->best_parent_rate; in iproc_clk_determine_rate()
663 req->rate = req->best_parent_rate / bestdiv; in iproc_clk_determine_rate()
/drivers/gpu/drm/sun4i/
Dsun8i_hdmi_phy_clk.c62 req->best_parent_rate = best_rate; in sun8i_phy_clk_determine_rate()
Dsun4i_hdmi_tmds_clk.c119 req->best_parent_rate = best_parent; in sun4i_tmds_determine_rate()
/drivers/clk/sunxi/
Dclk-sun9i-cpus.c146 req->best_parent_rate = best; in sun9i_a80_cpus_clk_determine_rate()

12