Home
last modified time | relevance | path

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

12345678910>>...37

/linux-6.1.9/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.c76 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk), 0); in armada_xp_pmsu_cpufreq_init()
82 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk) / 2, 0); in armada_xp_pmsu_cpufreq_init()
84 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()
/linux-6.1.9/drivers/clk/ !
Dclk_test.c199 rate = clk_get_rate(clk); in clk_test_get_rate()
224 rate = clk_get_rate(clk); in clk_test_set_get_rate()
253 rate = clk_get_rate(clk); in clk_test_set_set_get_rate()
279 set_rate = clk_get_rate(clk); in clk_test_round_set_get_rate()
340 rate = clk_get_rate(clk); in clk_test_uncached_get_rate()
346 rate = clk_get_rate(clk); in clk_test_uncached_get_rate()
370 rate = clk_get_rate(clk); in clk_test_uncached_set_range()
401 rate = clk_get_rate(clk); in clk_test_uncached_updated_rate_set_range()
559 rate = clk_get_rate(clk); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate()
692 parent_rate = clk_get_rate(parent); in clk_test_orphan_transparent_multiple_parent_mux_set_parent_drop_range()
[all …]
/linux-6.1.9/arch/mips/lantiq/ !
Dclk.c66 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
79 EXPORT_SYMBOL(clk_get_rate);
197 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()
199 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); in plat_time_init()
/linux-6.1.9/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()
/linux-6.1.9/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.c347 timer_clk = clk_get_rate(clk); in armada_xp_timer_init()
364 timer_clk = clk_get_rate(clk); in armada_375_timer_init()
383 timer_clk = clk_get_rate(clk) / TIMER_DIVIDER; in armada_375_timer_init()
407 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.c147 rate = clk_get_rate(clk); in orion_timer_init()
174 ticks_per_jiffy = (clk_get_rate(clk) + HZ/2) / HZ; in orion_timer_init()
/linux-6.1.9/arch/mips/ralink/ !
Dclk.c39 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); in plat_time_init()
40 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/linux-6.1.9/drivers/clk/ti/ !
Dclk-2xxx.c234 (clk_get_rate(clk_get_sys(NULL, "sys_ck")) / 1000000), in omap2xxx_dt_clk_init()
235 (clk_get_rate(clk_get_sys(NULL, "sys_ck")) / 100000) % 10, in omap2xxx_dt_clk_init()
236 (clk_get_rate(clk_get_sys(NULL, "dpll_ck")) / 1000000), in omap2xxx_dt_clk_init()
237 (clk_get_rate(clk_get_sys(NULL, "mpu_ck")) / 1000000)); in omap2xxx_dt_clk_init()
Dclk-3xxx.c329 (clk_get_rate(clk_get_sys(NULL, "osc_sys_ck")) / 1000000), in omap3xxx_dt_clk_init()
330 (clk_get_rate(clk_get_sys(NULL, "osc_sys_ck")) / 100000) % 10, in omap3xxx_dt_clk_init()
331 (clk_get_rate(clk_get_sys(NULL, "core_ck")) / 1000000), in omap3xxx_dt_clk_init()
332 (clk_get_rate(clk_get_sys(NULL, "arm_fck")) / 1000000)); in omap3xxx_dt_clk_init()
/linux-6.1.9/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()
423 priv->profile.initial_freq = clk_get_rate(priv->dram_core); in imx8m_ddrc_probe()
/linux-6.1.9/drivers/gpu/ipu-v3/ !
Dipu-di.c426 in_rate = clk_get_rate(clk); in ipu_di_config_clock()
443 clkrate = clk_get_rate(di->clk_ipu); in ipu_di_config_clock()
467 in_rate = clk_get_rate(clk); in ipu_di_config_clock()
496 clk_get_rate(di->clk_ipu), in ipu_di_config_clock()
497 clk_get_rate(di->clk_di), in ipu_di_config_clock()
499 clk_get_rate(di->clk_di_pixel) / (clkgen0 >> 4)); in ipu_di_config_clock()
571 clk_get_rate(di->clk_ipu), in ipu_di_init_sync_panel()
572 clk_get_rate(di->clk_di), in ipu_di_init_sync_panel()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ !
Ddwmac-intel-plat.c37 rate = clk_get_rate(dwmac->tx_clk); in kmb_eth_fix_mac_speed()
121 rate = clk_get_rate(dwmac->tx_clk); in intel_eth_plat_probe()
135 rate = clk_get_rate(plat_dat->clk_ptp_ref); in intel_eth_plat_probe()
/linux-6.1.9/drivers/net/can/mscan/ !
Dmpc5xxx_can.c166 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
185 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
203 freq_calc = clk_get_rate(clk_can); in mpc512x_can_get_clock()
222 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
225 freq_calc = clk_get_rate(clk_can); in mpc512x_can_get_clock()
/linux-6.1.9/drivers/mfd/ !
Dfsl-imx25-tsadc.c113 clk_get_rate(tsadc->clk)); in mx25_tsadc_setup_clk()
115 clk_div = DIV_ROUND_UP(clk_get_rate(tsadc->clk), 1750000); in mx25_tsadc_setup_clk()
129 clk_get_rate(tsadc->clk) / (2 * clk_div + 2)); in mx25_tsadc_setup_clk()
/linux-6.1.9/arch/arm/mach-spear/ !
Dtime.c78 tick_rate = clk_get_rate(gpt_clk); in spear_clocksource_init()
131 period = clk_get_rate(gpt_clk) / HZ; in spear_set_periodic()
188 tick_rate = clk_get_rate(gpt_clk); in spear_clockevent_init()
/linux-6.1.9/drivers/clk/sunxi/ !
Dclk-mod0.c191 mmc_rate = clk_get_rate(mmc); in mmc_get_phase()
201 mmc_parent_rate = clk_get_rate(mmc_parent); in mmc_get_phase()
227 mmc_rate = clk_get_rate(mmc); in mmc_set_phase()
237 mmc_parent_rate = clk_get_rate(mmc_parent); in mmc_set_phase()
/linux-6.1.9/arch/m68k/coldfire/ !
Dclk.c106 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
113 EXPORT_SYMBOL(clk_get_rate);
/linux-6.1.9/drivers/clk/qcom/ !
Dkrait-cc.c365 cur_rate = clk_get_rate(l2_pri_mux_clk); in krait_cc_probe()
374 pr_info("L2 @ %lu KHz\n", clk_get_rate(l2_pri_mux_clk) / 1000); in krait_cc_probe()
377 cur_rate = clk_get_rate(clk); in krait_cc_probe()
386 pr_info("CPU%d @ %lu KHz\n", cpu, clk_get_rate(clk) / 1000); in krait_cc_probe()
/linux-6.1.9/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()

12345678910>>...37