Home
last modified time | relevance | path

Searched refs:clk_round_rate (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/cpufreq/
Dsh-cpufreq.c59 freq = clk_round_rate(cpuclk, target->freq * 1000); in __sh_cpufreq_target()
101 policy->min = (clk_round_rate(cpuclk, 1) + 500) / 1000; in sh_cpufreq_verify()
102 policy->max = (clk_round_rate(cpuclk, ~0UL) + 500) / 1000; in sh_cpufreq_verify()
131 (clk_round_rate(cpuclk, 1) + 500) / 1000; in sh_cpufreq_cpu_init()
133 (clk_round_rate(cpuclk, ~0UL) + 500) / 1000; in sh_cpufreq_cpu_init()
Draspberrypi-cpufreq.c43 min = roundup(clk_round_rate(clk, 0), RASPBERRYPI_FREQ_INTERVAL); in raspberrypi_cpufreq_probe()
44 max = roundup(clk_round_rate(clk, ULONG_MAX), RASPBERRYPI_FREQ_INTERVAL); in raspberrypi_cpufreq_probe()
Ds3c64xx-cpufreq.c172 r = clk_round_rate(policy->clk, freq->frequency * 1000); in s3c64xx_cpufreq_driver_init()
Domap-cpufreq.c53 ret = clk_round_rate(policy->clk, freq); in omap_target()
Dspear-cpufreq.c136 newfreq = clk_round_rate(srcclk, newfreq * mult); in spear_cpufreq_target()
/kernel/linux/linux-5.10/arch/mips/ralink/
Dclk.c67 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
71 EXPORT_SYMBOL_GPL(clk_round_rate);
/kernel/linux/linux-5.10/arch/m68k/coldfire/
Dclk.c133 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
138 EXPORT_SYMBOL(clk_round_rate);
/kernel/linux/linux-5.10/arch/mips/lantiq/
Dclk.c100 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
115 EXPORT_SYMBOL(clk_round_rate);
/kernel/linux/linux-5.10/drivers/devfreq/
Dtegra20-devfreq.c152 max_rate = clk_round_rate(tegra->emc_clock, ULONG_MAX); in tegra_devfreq_probe()
155 rate = clk_round_rate(tegra->emc_clock, rate); in tegra_devfreq_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cmd_encoder.c40 vsync_clk_speed = clk_round_rate(mdp5_kms->vsync_clk, VSYNC_CLK_RATE); in pingpong_tearcheck_setup()
82 clk_round_rate(mdp5_kms->vsync_clk, VSYNC_CLK_RATE)); in pingpong_tearcheck_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c415 return clk_round_rate(mdev->aclk, min_aclk); in komeda_crtc_get_aclk()
433 if (min_pxlclk != clk_round_rate(master->pxlclk, min_pxlclk)) { in komeda_crtc_mode_valid()
440 if (clk_round_rate(mdev->aclk, min_aclk) < min_aclk) { in komeda_crtc_mode_valid()
469 adjusted_mode->crtc_clock = clk_round_rate(kcrtc->master->pxlclk, in komeda_crtc_mode_fixup()
/kernel/linux/linux-5.10/drivers/clk/imx/
Dclk-cpu.c38 return clk_round_rate(cpu->pll, rate); in clk_cpu_round_rate()
/kernel/linux/linux-5.10/include/linux/
Dclk.h623 long clk_round_rate(struct clk *clk, unsigned long rate);
855 static inline long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
/kernel/linux/linux-5.10/arch/c6x/platforms/
Dpll.c81 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
91 EXPORT_SYMBOL(clk_round_rate);
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-s3c.c193 rate = clk_round_rate(clksrc, wanted); in sdhci_s3c_consider_clock()
336 rate = clk_round_rate(clk, ULONG_MAX); in sdhci_cmu_get_max_clock()
358 rate = clk_round_rate(clk, 0); in sdhci_cmu_get_min_clock()
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
Dclk.c412 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
416 EXPORT_SYMBOL_GPL(clk_round_rate);
/kernel/linux/linux-5.10/arch/mips/ar7/
Dclock.c468 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
473 EXPORT_SYMBOL(clk_round_rate);
/kernel/linux/linux-5.10/drivers/clk/at91/
Dclk-audio-pll.c341 best_parent_rate = clk_round_rate(pclk->clk, 1); in clk_audio_pll_pmc_round_rate()
344 best_parent_rate = clk_round_rate(pclk->clk, rate * div); in clk_audio_pll_pmc_round_rate()
/kernel/linux/linux-5.10/sound/soc/img/
Dimg-spdif-out.c254 pre_div_a = clk_round_rate(spdif->clk_ref, rate * 256); in img_spdif_out_hw_params()
257 pre_div_b = clk_round_rate(spdif->clk_ref, rate * 384); in img_spdif_out_hw_params()
/kernel/linux/linux-5.10/drivers/watchdog/
Djz4740_wdt.c157 rate = clk_round_rate(drvdata->clk, 1); in jz4740_wdt_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_rgb.c123 rounded_rate = clk_round_rate(tcon->dclk, rate); in sun4i_rgb_mode_valid()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dclock.h165 long (*clk_round_rate)(struct clk *clk, unsigned long rate); member
/kernel/linux/linux-5.10/sound/soc/rockchip/
Drockchip_pdm.c92 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk()
102 clk = clk_round_rate(pdm->clk, PDM_SIGNOFF_CLK_RATE); in get_pdm_clk()
/kernel/linux/linux-5.10/drivers/sh/clk/
Dcore.c552 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
569 EXPORT_SYMBOL_GPL(clk_round_rate);
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Dclock.c483 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() function
488 EXPORT_SYMBOL(clk_round_rate);

12345