/Linux-v5.4/drivers/cpufreq/ |
D | s3c2416-cpufreq.c | 98 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() 356 rate = clk_get_rate(msysclk); in s3c2416_cpufreq_driver_init() [all …]
|
D | s3c24xx-cpufreq.c | 66 cfg->freq.fclk = fclk = clk_get_rate(clk_fclk); in s3c_cpufreq_getcur() 67 cfg->freq.hclk = hclk = clk_get_rate(clk_hclk); in s3c_cpufreq_getcur() 68 cfg->freq.pclk = pclk = clk_get_rate(clk_pclk); in s3c_cpufreq_getcur() 69 cfg->freq.armclk = armclk = clk_get_rate(clk_arm); in s3c_cpufreq_getcur() 374 clk_get_rate(clk_fclk) / 1000, in s3c_cpufreq_initclks() 375 clk_get_rate(clk_hclk) / 1000, in s3c_cpufreq_initclks() 376 clk_get_rate(clk_pclk) / 1000, in s3c_cpufreq_initclks() 377 clk_get_rate(clk_arm) / 1000); in s3c_cpufreq_initclks() 388 suspend_pll.frequency = clk_get_rate(_clk_mpll); in s3c_cpufreq_suspend() 390 suspend_freq = clk_get_rate(clk_arm); in s3c_cpufreq_suspend() [all …]
|
D | mvebu-cpufreq.c | 79 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()
|
D | s3c64xx-cpufreq.c | 60 old_freq = clk_get_rate(policy->clk) / 1000; in s3c64xx_cpufreq_set_target() 101 clk_get_rate(policy->clk) / 1000); in s3c64xx_cpufreq_set_target() 189 if (!vddarm && freq->frequency > clk_get_rate(policy->clk) / 1000) in s3c64xx_cpufreq_driver_init()
|
D | kirkwood-cpufreq.c | 47 return clk_get_rate(priv.powersave_clk) / 1000; in kirkwood_cpufreq_get_cpu_frequency() 134 kirkwood_freq_table[0].frequency = clk_get_rate(priv.cpu_clk) / 1000; in kirkwood_cpufreq_probe() 148 kirkwood_freq_table[1].frequency = clk_get_rate(priv.ddr_clk) / 1000; in kirkwood_cpufreq_probe()
|
/Linux-v5.4/arch/mips/ralink/ |
D | clk.c | 52 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()
|
/Linux-v5.4/arch/mips/lantiq/ |
D | clk.c | 65 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function 78 EXPORT_SYMBOL(clk_get_rate); 184 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init() 186 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); in plat_time_init()
|
/Linux-v5.4/drivers/watchdog/ |
D | digicolor_wdt.c | 64 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()
|
/Linux-v5.4/drivers/clocksource/ |
D | clksrc_st_lpc.c | 50 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()
|
D | timer-armada-370-xp.c | 350 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()
|
D | clps711x-timer.c | 32 unsigned long rate = clk_get_rate(clock); in clps711x_clksrc_init() 61 rate = clk_get_rate(clock); in _clps711x_clkevt_init()
|
D | timer-orion.c | 155 rate = clk_get_rate(clk); in orion_timer_init() 181 ticks_per_jiffy = (clk_get_rate(clk) + HZ/2) / HZ; in orion_timer_init()
|
/Linux-v5.4/drivers/clk/ti/ |
D | clk-2xxx.c | 242 (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()
|
D | clk-3xxx.c | 337 (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()
|
/Linux-v5.4/drivers/gpu/ipu-v3/ |
D | ipu-di.c | 430 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()
|
/Linux-v5.4/drivers/net/can/mscan/ |
D | mpc5xxx_can.c | 164 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()
|
/Linux-v5.4/arch/arm/mach-spear/ |
D | time.c | 81 tick_rate = clk_get_rate(gpt_clk); in spear_clocksource_init() 134 period = clk_get_rate(gpt_clk) / HZ; in spear_set_periodic() 197 tick_rate = clk_get_rate(gpt_clk); in spear_clockevent_init()
|
/Linux-v5.4/drivers/mfd/ |
D | fsl-imx25-tsadc.c | 100 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()
|
/Linux-v5.4/arch/arm/mach-mmp/ |
D | clock.c | 79 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function 90 EXPORT_SYMBOL(clk_get_rate);
|
/Linux-v5.4/drivers/clk/sunxi/ |
D | clk-mod0.c | 193 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()
|
/Linux-v5.4/drivers/clk/qcom/ |
D | krait-cc.c | 357 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()
|
/Linux-v5.4/sound/soc/ti/ |
D | osk5912.c | 140 curRate = (uint) clk_get_rate(tlv320aic23_mclk); in osk_soc_init() 150 (uint) clk_get_rate(tlv320aic23_mclk), CODEC_CLOCK); in osk_soc_init()
|
/Linux-v5.4/arch/m68k/coldfire/ |
D | clk.c | 123 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function 130 EXPORT_SYMBOL(clk_get_rate);
|
/Linux-v5.4/arch/mips/loongson64/lemote-2f/ |
D | clock.c | 81 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function 88 EXPORT_SYMBOL(clk_get_rate);
|
/Linux-v5.4/drivers/sh/clk/ |
D | core.c | 158 return clk_get_rate(rounder->arg) / pos; in clk_rate_div_range_iter() 178 return clk_get_rate(rounder->arg) * pos; in clk_rate_mult_range_iter() 471 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function 478 EXPORT_SYMBOL_GPL(clk_get_rate); 567 return clk_get_rate(clk); in clk_round_rate()
|