Home
last modified time | relevance | path

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

1234

/arch/mips/ralink/
Dclk.c53 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
57 EXPORT_SYMBOL_GPL(clk_get_rate);
69 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); in plat_time_init()
70 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/arch/mips/lantiq/
Dclk.c67 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
80 EXPORT_SYMBOL(clk_get_rate);
174 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()
176 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); in plat_time_init()
/arch/arm/mach-w90x900/
Dclock.c58 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
62 EXPORT_SYMBOL(clk_get_rate);
Dtime.c128 rate = clk_get_rate(clk) / (PRESCALE + 1); in nuc900_clockevents_init()
152 rate = clk_get_rate(clk) / (PRESCALE + 1); in nuc900_clocksource_init()
/arch/arm/plat-versatile/
Dclock.c32 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
36 EXPORT_SYMBOL(clk_get_rate);
/arch/blackfin/mach-bf609/
Dclock.c106 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
113 EXPORT_SYMBOL(clk_get_rate);
148 clk->parent->rate = clk_get_rate(clk->parent); in pll_get_rate()
201 clk->parent->rate = clk_get_rate(clk->parent); in sys_clk_get_rate()
208 clk->parent->rate = clk_get_rate(clk->parent); in dummy_get_rate()
246 div = (clk_get_rate(clk) * div) / rate; in sys_clk_set_rate()
394 clk_get_rate(clkp); in clk_init()
/arch/arm/mach-pxa/
Dclock.c44 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
54 EXPORT_SYMBOL(clk_get_rate);
/arch/arm/mach-sa1100/
Dclock.c37 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
41 EXPORT_SYMBOL(clk_get_rate);
/arch/arm/mach-mmp/
Dclock.c79 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
90 EXPORT_SYMBOL(clk_get_rate);
/arch/mips/jz4740/
Dclock.c219 return clk_get_rate(clk->parent); in jz_clk_pll_get_rate()
225 return ((clk_get_rate(clk->parent) / n) * m) / pllno[od]; in jz_clk_pll_get_rate()
454 div = clk_get_rate(clk->parent) / rate - 1; in jz_clk_udc_set_rate()
471 return clk_get_rate(clk->parent); in jz_clk_udc_get_rate()
477 return clk_get_rate(clk->parent) / div; in jz_clk_udc_get_rate()
486 return clk_get_rate(clk->parent); in jz_clk_divided_get_rate()
490 return clk_get_rate(clk->parent) / div; in jz_clk_divided_get_rate()
501 div = clk_get_rate(clk->parent) / rate - 1; in jz_clk_divided_set_rate()
752 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
757 return clk_get_rate(clk->parent); in clk_get_rate()
[all …]
Dclock-debugfs.c57 *value = clk_get_rate(clk); in jz4740_clock_debugfs_show_rate()
/arch/mips/ar7/
Dtime.c42 mips_hpt_frequency = clk_get_rate(cpu_clk) / 2; in plat_time_init()
/arch/mips/loongson1/common/
Dclock.c27 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/arch/m68k/coldfire/
Dclk.c118 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
122 EXPORT_SYMBOL(clk_get_rate);
/arch/arm/mach-spear/
Dtime.c83 tick_rate = clk_get_rate(gpt_clk); in spear_clocksource_init()
119 period = clk_get_rate(gpt_clk) / HZ; in clockevent_set_mode()
186 tick_rate = clk_get_rate(gpt_clk); in spear_clockevent_init()
/arch/arm/mach-omap2/
Domap2-restart.c38 rate = clk_get_rate(reset_sys_ck); in omap2xxx_restart()
/arch/arm/mach-at91/
Dat91x40.c40 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
/arch/arm/mach-imx/
Depit.c89 unsigned int c = clk_get_rate(timer_clk); in epit_clocksource_init()
190 clk_get_rate(timer_clk), in epit_clockevent_init()
Dtime.c137 unsigned int c = clk_get_rate(timer_clk); in mxc_clocksource_init()
292 clk_get_rate(timer_clk), in mxc_clockevent_init()
322 if (clk_get_rate(clk_per) == V2_TIMER_RATE_OSC_DIV8) { in _mxc_timer_init()
Dclk-vf610.c375 clk_set_rate(clk[VF610_CLK_QSPI0_X4_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_SEL]) / 2); in vf610_clocks_init()
376 clk_set_rate(clk[VF610_CLK_QSPI0_X2_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_X4_DIV]) / 2); in vf610_clocks_init()
377 clk_set_rate(clk[VF610_CLK_QSPI0_X1_DIV], clk_get_rate(clk[VF610_CLK_QSPI0_X2_DIV]) / 2); in vf610_clocks_init()
380 clk_set_rate(clk[VF610_CLK_QSPI1_X4_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_SEL]) / 2); in vf610_clocks_init()
381 clk_set_rate(clk[VF610_CLK_QSPI1_X2_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_X4_DIV]) / 2); in vf610_clocks_init()
382 clk_set_rate(clk[VF610_CLK_QSPI1_X1_DIV], clk_get_rate(clk[VF610_CLK_QSPI1_X2_DIV]) / 2); in vf610_clocks_init()
/arch/mips/loongson/lemote-2f/
Dclock.c81 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
85 EXPORT_SYMBOL(clk_get_rate);
/arch/metag/kernel/
Dclock.c44 return clk_get_rate(clk_core); in get_core_freq_clk()
/arch/microblaze/kernel/cpu/
Dcpuinfo.c117 cpuinfo.cpu_clock_freq = clk_get_rate(clk); in setup_cpuinfo_clk()
/arch/avr32/mach-at32ap/
Dclock.c121 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
135 EXPORT_SYMBOL(clk_get_rate);
242 clk_get_rate(parent)); in dump_clock()
/arch/arm/mach-s3c64xx/
Dsetup-usb-phy.c36 switch (clk_get_rate(xusbxti)) { in s3c_usb_otgphy_init()

1234