/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 | 118 req->best_parent_rate = parent_rate; in clk_generated_best_diff() 198 req->best_parent_rate); in clk_generated_determine_rate()
|
D | clk-master.c | 193 req->best_parent_rate = parent_rate; in clk_sama7g5_master_best_diff() 258 req->best_parent_rate); in clk_sama7g5_master_determine_rate()
|
D | clk-peripheral.c | 254 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/ |
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()
|
/drivers/clk/imx/ |
D | clk-pfdv2.c | 107 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/ |
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()
|
/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()
|
/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 | 615 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/ |
D | divider.c | 177 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()
|
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()
|
/drivers/clk/qcom/ |
D | clk-rcg2.c | 237 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 …]
|
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()
|
/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()
|
/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()
|
/drivers/clk/tegra/ |
D | clk-tegra-super-cclk.c | 81 req->best_parent_rate = pllp_rate; in cclk_super_determine_rate() 86 req->best_parent_rate = rate; in cclk_super_determine_rate()
|
D | clk-tegra20-emc.c | 186 parent_rate = req->best_parent_rate; in emc_determine_rate() 199 req->best_parent_rate = parent_rate; in emc_determine_rate()
|
/drivers/clk/microchip/ |
D | clk-core.c | 392 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/ |
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()
|
/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()
|
/drivers/clk/sunxi/ |
D | clk-sun9i-cpus.c | 146 req->best_parent_rate = best; in sun9i_a80_cpus_clk_determine_rate()
|