Home
last modified time | relevance | path

Searched refs:clk_get_rate (Results 1 – 25 of 856) sorted by relevance

12345678910>>...35

/kernel/linux/linux-5.10/drivers/cpufreq/
Ds3c2416-cpufreq.c98 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed()
106 if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) { in s3c2416_cpufreq_set_armdiv()
131 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_enter_dvs()
189 if (clk_get_rate(s3c_freq->armdiv) > clk_get_rate(s3c_freq->hclk)) { in s3c2416_cpufreq_leave_dvs()
191 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_leave_dvs()
193 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_leave_dvs()
196 clk_get_rate(s3c_freq->hclk) / 1000, ret); in s3c2416_cpufreq_leave_dvs()
202 clk_get_rate(s3c_freq->armdiv) / 1000); in s3c2416_cpufreq_leave_dvs()
242 ? clk_get_rate(s3c_freq->hclk) / 1000 in s3c2416_cpufreq_set_target()
366 rate = clk_get_rate(msysclk); in s3c2416_cpufreq_driver_init()
[all …]
Ds3c24xx-cpufreq.c62 cfg->freq.fclk = fclk = clk_get_rate(clk_fclk); in s3c_cpufreq_getcur()
63 cfg->freq.hclk = hclk = clk_get_rate(clk_hclk); in s3c_cpufreq_getcur()
64 cfg->freq.pclk = pclk = clk_get_rate(clk_pclk); in s3c_cpufreq_getcur()
65 cfg->freq.armclk = armclk = clk_get_rate(clk_arm); in s3c_cpufreq_getcur()
370 clk_get_rate(clk_fclk) / 1000, in s3c_cpufreq_initclks()
371 clk_get_rate(clk_hclk) / 1000, in s3c_cpufreq_initclks()
372 clk_get_rate(clk_pclk) / 1000, in s3c_cpufreq_initclks()
373 clk_get_rate(clk_arm) / 1000); in s3c_cpufreq_initclks()
384 suspend_pll.frequency = clk_get_rate(_clk_mpll); in s3c_cpufreq_suspend()
386 suspend_freq = clk_get_rate(clk_arm); in s3c_cpufreq_suspend()
[all …]
Dmvebu-cpufreq.c79 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk), 0); in armada_xp_pmsu_cpufreq_init()
85 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk) / 2, 0); in armada_xp_pmsu_cpufreq_init()
87 dev_pm_opp_remove(cpu_dev, clk_get_rate(clk)); in armada_xp_pmsu_cpufreq_init()
Ds3c64xx-cpufreq.c58 old_freq = clk_get_rate(policy->clk) / 1000; in s3c64xx_cpufreq_set_target()
99 clk_get_rate(policy->clk) / 1000); in s3c64xx_cpufreq_set_target()
182 if (!vddarm && freq->frequency > clk_get_rate(policy->clk) / 1000) in s3c64xx_cpufreq_driver_init()
Dkirkwood-cpufreq.c47 return clk_get_rate(priv.powersave_clk) / 1000; in kirkwood_cpufreq_get_cpu_frequency()
132 kirkwood_freq_table[0].frequency = clk_get_rate(priv.cpu_clk) / 1000; in kirkwood_cpufreq_probe()
146 kirkwood_freq_table[1].frequency = clk_get_rate(priv.ddr_clk) / 1000; in kirkwood_cpufreq_probe()
/kernel/linux/linux-5.10/arch/mips/ralink/
Dclk.c52 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
59 EXPORT_SYMBOL_GPL(clk_get_rate);
83 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); in plat_time_init()
84 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/kernel/linux/linux-5.10/arch/mips/lantiq/
Dclk.c65 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
78 EXPORT_SYMBOL(clk_get_rate);
196 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()
198 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); in plat_time_init()
/kernel/linux/linux-5.10/drivers/watchdog/
Ddigicolor_wdt.c64 dc_wdt_set(wdt, wdog->timeout * clk_get_rate(wdt->clk)); in dc_wdt_start()
82 dc_wdt_set(wdt, t * clk_get_rate(wdt->clk)); in dc_wdt_set_timeout()
93 return count / clk_get_rate(wdt->clk); in dc_wdt_get_timeleft()
133 dc_wdt_wdd.max_timeout = U32_MAX / clk_get_rate(wdt->clk); in dc_wdt_probe()
/kernel/linux/linux-5.10/drivers/clocksource/
Dclksrc_st_lpc.c50 rate = clk_get_rate(ddata.clk); in st_clksrc_init()
80 if (!clk_get_rate(clk)) { in st_clksrc_setup_clk()
127 clk_get_rate(ddata.clk)); in st_clksrc_of_register()
Dtimer-armada-370-xp.c350 timer_clk = clk_get_rate(clk); in armada_xp_timer_init()
367 timer_clk = clk_get_rate(clk); in armada_375_timer_init()
386 timer_clk = clk_get_rate(clk) / TIMER_DIVIDER; in armada_375_timer_init()
410 timer_clk = clk_get_rate(clk) / TIMER_DIVIDER; in armada_370_timer_init()
Dclps711x-timer.c32 unsigned long rate = clk_get_rate(clock); in clps711x_clksrc_init()
61 rate = clk_get_rate(clock); in _clps711x_clkevt_init()
Dtimer-orion.c150 rate = clk_get_rate(clk); in orion_timer_init()
177 ticks_per_jiffy = (clk_get_rate(clk) + HZ/2) / HZ; in orion_timer_init()
/kernel/linux/linux-5.10/drivers/devfreq/
Dimx8m-ddrc.c215 clk_get_rate(priv->dram_pll); in imx8m_ddrc_set_freq()
246 old_freq = clk_get_rate(priv->dram_core); in imx8m_ddrc_target()
260 new_freq = clk_get_rate(priv->dram_core); in imx8m_ddrc_target()
278 *freq = clk_get_rate(priv->dram_core); in imx8m_ddrc_get_cur_freq()
290 stat->current_frequency = clk_get_rate(priv->dram_core); in imx8m_ddrc_get_dev_status()
437 priv->profile.initial_freq = clk_get_rate(priv->dram_core); in imx8m_ddrc_probe()
Dimx-bus.c43 *freq = clk_get_rate(priv->clk); in imx_bus_get_cur_freq()
55 stat->current_frequency = clk_get_rate(priv->clk); in imx_bus_get_dev_status()
137 priv->profile.initial_freq = clk_get_rate(priv->clk); in imx_bus_probe()
/kernel/linux/linux-5.10/drivers/clk/ti/
Dclk-3xxx.c337 (clk_get_rate(clk_get_sys(NULL, "osc_sys_ck")) / 1000000), in omap3xxx_dt_clk_init()
338 (clk_get_rate(clk_get_sys(NULL, "osc_sys_ck")) / 100000) % 10, in omap3xxx_dt_clk_init()
339 (clk_get_rate(clk_get_sys(NULL, "core_ck")) / 1000000), in omap3xxx_dt_clk_init()
340 (clk_get_rate(clk_get_sys(NULL, "arm_fck")) / 1000000)); in omap3xxx_dt_clk_init()
Dclk-2xxx.c242 (clk_get_rate(clk_get_sys(NULL, "sys_ck")) / 1000000), in omap2xxx_dt_clk_init()
243 (clk_get_rate(clk_get_sys(NULL, "sys_ck")) / 100000) % 10, in omap2xxx_dt_clk_init()
244 (clk_get_rate(clk_get_sys(NULL, "dpll_ck")) / 1000000), in omap2xxx_dt_clk_init()
245 (clk_get_rate(clk_get_sys(NULL, "mpu_ck")) / 1000000)); in omap2xxx_dt_clk_init()
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
Dipu-di.c430 in_rate = clk_get_rate(clk); in ipu_di_config_clock()
447 clkrate = clk_get_rate(di->clk_ipu); in ipu_di_config_clock()
470 in_rate = clk_get_rate(clk); in ipu_di_config_clock()
499 clk_get_rate(di->clk_ipu), in ipu_di_config_clock()
500 clk_get_rate(di->clk_di), in ipu_di_config_clock()
502 clk_get_rate(di->clk_di_pixel) / (clkgen0 >> 4)); in ipu_di_config_clock()
567 clk_get_rate(di->clk_ipu), in ipu_di_init_sync_panel()
568 clk_get_rate(di->clk_di), in ipu_di_init_sync_panel()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-intel-plat.c37 rate = clk_get_rate(dwmac->tx_clk); in kmb_eth_fix_mac_speed()
124 rate = clk_get_rate(dwmac->tx_clk); in intel_eth_plat_probe()
138 rate = clk_get_rate(plat_dat->clk_ptp_ref); in intel_eth_plat_probe()
/kernel/linux/linux-5.10/drivers/net/can/mscan/
Dmpc5xxx_can.c164 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
183 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
201 freq_calc = clk_get_rate(clk_can); in mpc512x_can_get_clock()
220 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
223 freq_calc = clk_get_rate(clk_can); in mpc512x_can_get_clock()
/kernel/linux/linux-5.10/arch/arm/mach-spear/
Dtime.c81 tick_rate = clk_get_rate(gpt_clk); in spear_clocksource_init()
134 period = clk_get_rate(gpt_clk) / HZ; in spear_set_periodic()
191 tick_rate = clk_get_rate(gpt_clk); in spear_clockevent_init()
/kernel/linux/linux-5.10/drivers/mfd/
Dfsl-imx25-tsadc.c100 clk_get_rate(tsadc->clk)); in mx25_tsadc_setup_clk()
102 clk_div = DIV_ROUND_UP(clk_get_rate(tsadc->clk), 1750000); in mx25_tsadc_setup_clk()
116 clk_get_rate(tsadc->clk) / (2 * clk_div + 2)); in mx25_tsadc_setup_clk()
/kernel/linux/linux-5.10/drivers/clk/sunxi/
Dclk-mod0.c193 mmc_rate = clk_get_rate(mmc); in mmc_get_phase()
203 mmc_parent_rate = clk_get_rate(mmc_parent); in mmc_get_phase()
229 mmc_rate = clk_get_rate(mmc); in mmc_set_phase()
239 mmc_parent_rate = clk_get_rate(mmc_parent); in mmc_set_phase()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dkrait-cc.c357 cur_rate = clk_get_rate(l2_pri_mux_clk); in krait_cc_probe()
366 pr_info("L2 @ %lu KHz\n", clk_get_rate(l2_pri_mux_clk) / 1000); in krait_cc_probe()
369 cur_rate = clk_get_rate(clk); in krait_cc_probe()
378 pr_info("CPU%d @ %lu KHz\n", cpu, clk_get_rate(clk) / 1000); in krait_cc_probe()
/kernel/linux/linux-5.10/sound/soc/ti/
Dosk5912.c140 curRate = (uint) clk_get_rate(tlv320aic23_mclk); in osk_soc_init()
150 (uint) clk_get_rate(tlv320aic23_mclk), CODEC_CLOCK); in osk_soc_init()
/kernel/linux/linux-5.10/arch/m68k/coldfire/
Dclk.c123 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
130 EXPORT_SYMBOL(clk_get_rate);

12345678910>>...35