/Linux-v5.4/drivers/clk/at91/ |
D | clk-audio-pll.c | 251 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 …]
|
D | clk-generated.c | 115 req->best_parent_rate = parent_rate; in clk_generated_best_diff() 185 req->best_parent_rate); in clk_generated_determine_rate()
|
D | clk-programmable.c | 86 req->best_parent_rate = parent_rate; in clk_programmable_determine_rate()
|
/Linux-v5.4/drivers/clk/sunxi-ng/ |
D | ccu_mux.c | 86 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()
|
/Linux-v5.4/drivers/clk/actions/ |
D | owl-factor.c | 69 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()
|
/Linux-v5.4/drivers/clk/rockchip/ |
D | clk-half-divider.c | 36 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()
|
/Linux-v5.4/drivers/clk/ |
D | clk-multiplier.c | 66 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()
|
D | clk-divider.c | 290 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()
|
D | clk-composite.c | 70 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()
|
D | clk.c | 604 req->best_parent_rate = best; in clk_mux_determine_rate_flags() 1325 &req->best_parent_rate); in clk_core_determine_round_nolock() 1348 req->best_parent_rate = parent->rate; in clk_core_init_rate_req() 1351 req->best_parent_rate = 0; in clk_core_init_rate_req() 1886 unsigned long best_parent_rate = 0; in clk_calc_new_rates() local 1900 best_parent_rate = parent->rate; in clk_calc_new_rates() 1918 best_parent_rate = req.best_parent_rate; in clk_calc_new_rates() 1954 best_parent_rate != parent->rate) in clk_calc_new_rates() 1955 top = clk_calc_new_rates(parent, best_parent_rate); in clk_calc_new_rates() 2011 unsigned long best_parent_rate = 0; in clk_change_rate() local [all …]
|
/Linux-v5.4/drivers/clk/ti/ |
D | divider.c | 173 unsigned long *best_parent_rate) in ti_clk_divider_bestdiv() argument 178 unsigned long parent_rate_saved = *best_parent_rate; in ti_clk_divider_bestdiv() 186 parent_rate = *best_parent_rate; in ti_clk_divider_bestdiv() 208 *best_parent_rate = parent_rate_saved; in ti_clk_divider_bestdiv() 217 *best_parent_rate = parent_rate; in ti_clk_divider_bestdiv() 223 *best_parent_rate = in ti_clk_divider_bestdiv()
|
D | dpll44xx.c | 217 &req->best_parent_rate); in omap4_dpll_regm4xen_determine_rate() 221 req->best_parent_rate = req->rate; in omap4_dpll_regm4xen_determine_rate()
|
D | dpll3xxx.c | 517 &req->best_parent_rate); in omap3_noncore_dpll_determine_rate() 521 req->best_parent_rate = req->rate; in omap3_noncore_dpll_determine_rate()
|
/Linux-v5.4/drivers/clk/qcom/ |
D | clk-rcg2.c | 237 req->best_parent_rate = rate; in _freq_tbl_determine_rate() 463 req->best_parent_rate = clk_hw_get_rate(req->best_parent_hw); in clk_edp_pixel_determine_rate() 465 if (req->best_parent_rate == 810000000) in clk_edp_pixel_determine_rate() 474 if ((req->best_parent_rate < (request - delta)) || in clk_edp_pixel_determine_rate() 475 (req->best_parent_rate > (request + delta))) in clk_edp_pixel_determine_rate() 483 req->rate = calc_rate(req->best_parent_rate, in clk_edp_pixel_determine_rate() 517 req->best_parent_rate = parent_rate = clk_hw_round_rate(p, req->rate); in clk_byte_determine_rate() 574 req->best_parent_rate = parent_rate = clk_hw_round_rate(p, rate); in clk_byte2_determine_rate() 654 req->best_parent_rate = src_rate; in clk_pixel_determine_rate() 744 req->rate = req->best_parent_rate = p9_rate; in clk_gfx3d_determine_rate() [all …]
|
D | clk-rcg.c | 429 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()
|
D | clk-regmap-mux-div.c | 109 req->best_parent_rate = parent_rate; in mux_div_determine_rate()
|
/Linux-v5.4/drivers/clk/hisilicon/ |
D | clk-hi3620.c | 288 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()
|
/Linux-v5.4/drivers/clk/mmp/ |
D | clk-mix.c | 266 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()
|
/Linux-v5.4/drivers/clk/bcm/ |
D | clk-raspberrypi.c | 156 do_div(div, req->best_parent_rate); in raspberrypi_pll_determine_rate() 161 final_rate = ((u64)req->best_parent_rate * in raspberrypi_pll_determine_rate()
|
D | clk-iproc-pll.c | 517 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()
|
/Linux-v5.4/drivers/clk/microchip/ |
D | clk-core.c | 390 unsigned long parent_rate, best_parent_rate = 0; in roclk_determine_rate() local 409 best_parent_rate = parent_rate; in roclk_determine_rate() 427 clk_hw_get_name(best_parent_clk), best_parent_rate, in roclk_determine_rate() 430 if (req->best_parent_rate) in roclk_determine_rate() 431 req->best_parent_rate = best_parent_rate; in roclk_determine_rate()
|
/Linux-v5.4/drivers/gpu/drm/sun4i/ |
D | sun8i_hdmi_phy_clk.c | 62 req->best_parent_rate = best_rate; in sun8i_phy_clk_determine_rate()
|
D | sun4i_hdmi_tmds_clk.c | 119 req->best_parent_rate = best_parent; in sun4i_tmds_determine_rate()
|
/Linux-v5.4/drivers/clk/sunxi/ |
D | clk-sun9i-cpus.c | 146 req->best_parent_rate = best; in sun9i_a80_cpus_clk_determine_rate()
|
/Linux-v5.4/drivers/clk/tegra/ |
D | clk-sdmmc-mux.c | 112 unsigned long output_rate = req->best_parent_rate; in clk_sdmmc_mux_determine_rate()
|