Home
last modified time | relevance | path

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

12345678910>>...13

/linux-3.4.99/drivers/cpufreq/
Ds3c2416-cpufreq.c111 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed()
119 if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) { in s3c2416_cpufreq_set_armdiv()
144 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_enter_dvs()
202 if (clk_get_rate(s3c_freq->armdiv) > clk_get_rate(s3c_freq->hclk)) { in s3c2416_cpufreq_leave_dvs()
204 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_leave_dvs()
206 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_leave_dvs()
209 clk_get_rate(s3c_freq->hclk) / 1000, ret); in s3c2416_cpufreq_leave_dvs()
215 clk_get_rate(s3c_freq->armdiv) / 1000); in s3c2416_cpufreq_leave_dvs()
262 : clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_set_target()
269 ? clk_get_rate(s3c_freq->hclk) / 1000 in s3c2416_cpufreq_set_target()
[all …]
Ds3c64xx-cpufreq.c70 return clk_get_rate(armclk) / 1000; in s3c64xx_cpufreq_get_speed()
88 freqs.old = clk_get_rate(armclk) / 1000; in s3c64xx_cpufreq_set_target()
136 clk_get_rate(armclk) / 1000); in s3c64xx_cpufreq_set_target()
243 policy->cur = clk_get_rate(armclk) / 1000; in s3c64xx_cpufreq_driver_init()
/linux-3.4.99/arch/arm/mach-imx/
Dclock-imx31.c117 return clk_get_rate(&ckih_clk); in pll_ref_get_rate()
145 return clk_get_rate(&ckih_clk); in mcu_pll_get_rate()
207 return clk_get_rate(&serial_pll_clk); in mcu_main_get_rate()
209 return clk_get_rate(&mcu_pll_clk); in mcu_main_get_rate()
218 return clk_get_rate(clk->parent) / (max_pdf + 1); in ahb_get_rate()
227 return clk_get_rate(clk->parent) / (ipg_pdf + 1); in ipg_get_rate()
236 return clk_get_rate(clk->parent) / (nfc_pdf + 1); in nfc_get_rate()
245 return clk_get_rate(clk->parent) / (hsp_pdf + 1); in hsp_get_rate()
256 return clk_get_rate(clk->parent) / (usb_prepdf + 1) / (usb_pdf + 1); in usb_get_rate()
270 return clk_get_rate(clk->parent) / (pre * post); in csi_get_rate()
[all …]
Dclock-imx1.c104 parent_rate = clk_get_rate(clk->parent); in _clk_simple_round_rate()
153 return clk_get_rate(clk->parent) * 512; in clk32_premult_get_rate()
197 clk_get_rate(clk->parent)); in system_clk_get_rate()
208 clk_get_rate(clk->parent)); in mcu_clk_get_rate()
218 unsigned long fclk = clk_get_rate(clk->parent); in fclk_get_rate()
236 return clk_get_rate(clk->parent) / (((__raw_readl(CCM_CSCR) & in hclk_get_rate()
251 parent_rate = clk_get_rate(clk->parent); in hclk_set_rate()
277 return clk_get_rate(clk->parent) / (((__raw_readl(CCM_CSCR) & in clk48m_get_rate()
292 parent_rate = clk_get_rate(clk->parent); in clk48m_set_rate()
321 return clk_get_rate(clk->parent) / (((__raw_readl(CCM_PCDR) & in perclk1_get_rate()
[all …]
Dclock-imx27.c150 parent_rate = clk_get_rate(clk->parent); in round_rate_cpu()
168 parent_rate = clk_get_rate(clk->parent); in set_rate_cpu()
195 parent_rate = clk_get_rate(clk->parent); in round_rate_per()
213 parent_rate = clk_get_rate(clk->parent); in set_rate_per()
235 parent_rate = clk_get_rate(clk->parent); in get_rate_usb()
246 parent_rate = clk_get_rate(clk->parent); in get_rate_ssix()
271 parent_rate = clk_get_rate(clk->parent); in get_rate_nfc()
286 parent_rate = clk_get_rate(clk->parent); in get_rate_vpu()
306 return clk_get_rate(clk->parent); in get_rate_parent()
332 return clk_get_rate(clk->parent) * 1024; in get_rate_fpm()
[all …]
Dclock-imx21.c289 parent_rate = clk_get_rate(clk->parent); in _clk_generic_round_rate()
340 parent_rate = clk_get_rate(clk->parent); in _clk_perclkx_set_rate()
364 parent_rate = clk_get_rate(clk->parent); in _clk_usb_recalc()
383 parent_rate = clk_get_rate(clk->parent); in _clk_usb_set_rate()
401 parent_rate = clk_get_rate(clk->parent); in _clk_ssix_recalc()
427 parent_rate = clk_get_rate(clk->parent); in _clk_nfc_recalc()
478 return clk_get_rate(clk->parent) * 512; in _clk_fpm_recalc()
494 ref_clk = clk_get_rate(clk->parent); in get_mpll_clk()
522 parent_rate = clk_get_rate(clk->parent); in _clk_fclk_get_rate()
539 ref_clk = clk_get_rate(clk->parent); in get_spll_clk()
[all …]
/linux-3.4.99/arch/arm/mach-s3c24xx/
Dcommon-s3c2443.c111 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2443_getrate_mdivclk()
154 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_prediv_getrate()
178 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_hclkdiv_getrate()
197 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_pclkdiv_getrate()
222 unsigned long parent = clk_get_rate(clk->parent); in s3c2443_armclk_roundrate()
246 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_armclk_getrate()
262 unsigned long parent = clk_get_rate(clk->parent); in s3c2443_armclk_setrate()
577 xtal = clk_get_rate(xtal_clk); in s3c2443_common_setup_clocks()
586 print_mhz(pll), print_mhz(clk_get_rate(&clk_armdiv)), in s3c2443_common_setup_clocks()
587 print_mhz(clk_get_rate(&clk_h)), in s3c2443_common_setup_clocks()
[all …]
Dclock-s3c2412.c159 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_roundrate_usbsrc()
174 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_getrate_usbsrc()
182 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_setrate_usbsrc()
277 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_roundrate_clksrc()
314 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_getrate_uart()
325 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_setrate_uart()
366 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_getrate_i2s()
377 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_setrate_i2s()
417 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_getrate_cam()
428 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2412_setrate_cam()
[all …]
Dclock-s3c2440.c53 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2440_camif_upll_round()
73 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c2440_camif_upll_setrate()
135 return clk_get_rate(clk->parent) / divisor; in s3c2440_fclk_n_getrate()
/linux-3.4.99/arch/powerpc/kernel/
Dclock.c44 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
46 if (clk_functions.clk_get_rate) in clk_get_rate()
47 return clk_functions.clk_get_rate(clk); in clk_get_rate()
50 EXPORT_SYMBOL(clk_get_rate);
/linux-3.4.99/arch/arm/plat-s3c24xx/
Dcpu-freq.c69 cfg->freq.fclk = fclk = clk_get_rate(clk_fclk); in s3c_cpufreq_getcur()
70 cfg->freq.hclk = hclk = clk_get_rate(clk_hclk); in s3c_cpufreq_getcur()
71 cfg->freq.pclk = pclk = clk_get_rate(clk_pclk); in s3c_cpufreq_getcur()
72 cfg->freq.armclk = armclk = clk_get_rate(clk_arm); in s3c_cpufreq_getcur()
365 return clk_get_rate(clk_arm) / 1000; in s3c_cpufreq_get()
416 clk_get_rate(clk_fclk) / 1000, in s3c_cpufreq_initclks()
417 clk_get_rate(clk_hclk) / 1000, in s3c_cpufreq_initclks()
418 clk_get_rate(clk_pclk) / 1000, in s3c_cpufreq_initclks()
419 clk_get_rate(clk_arm) / 1000); in s3c_cpufreq_initclks()
438 suspend_pll.frequency = clk_get_rate(_clk_mpll); in s3c_cpufreq_suspend()
[all …]
Dclock-dclk.c80 div = clk_get_rate(clk->parent) / rate; in s3c24xx_calc_div()
97 return clk_get_rate(clk->parent) / div; in s3c24xx_round_dclk_rate()
120 clk->rate = clk_get_rate(clk->parent) / div; in s3c24xx_set_dclk_rate()
/linux-3.4.99/drivers/video/omap2/dss/
Ddss.c251 fclk_rate = clk_get_rate(dss.dss_clk); in dss_dump_clocks()
254 dpll4_ck_rate = clk_get_rate(clk_get_parent(dss.dpll4_m4_ck)); in dss_dump_clocks()
255 dpll4_m4_ck_rate = clk_get_rate(dss.dpll4_m4_ck); in dss_dump_clocks()
436 prate = clk_get_rate(clk_get_parent(dss.dpll4_m4_ck)); in dss_calc_clock_rates()
442 cinfo->fck = clk_get_rate(dss.dss_clk); in dss_calc_clock_rates()
454 prate = clk_get_rate(clk_get_parent(dss.dpll4_m4_ck)); in dss_set_clock_div()
472 cinfo->fck = clk_get_rate(dss.dss_clk); in dss_get_clock_div()
477 prate = clk_get_rate(clk_get_parent(dss.dpll4_m4_ck)); in dss_get_clock_div()
493 return clk_get_rate(clk_get_parent(dss.dpll4_m4_ck)); in dss_get_dpll4_rate()
517 fck = clk_get_rate(dss.dss_clk); in dss_calc_clock_div()
[all …]
/linux-3.4.99/arch/mips/lantiq/
Dclk.c70 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
83 EXPORT_SYMBOL(clk_get_rate);
150 mips_hpt_frequency = clk_get_rate(clk) / ltq_get_counter_resolution(); in plat_time_init()
/linux-3.4.99/arch/arm/plat-mxc/
Dcpufreq.c47 org_cpu_rate = clk_get_rate(cpu_clk); in set_cpu_freq()
73 return clk_get_rate(cpu_clk) / 1000; in mxc_get_speed()
88 freqs.old = clk_get_rate(cpu_clk) / 1000; in mxc_set_target()
147 policy->cur = clk_get_rate(cpu_clk) / 1000; in mxc_cpufreq_init()
/linux-3.4.99/arch/arm/plat-samsung/
Dpwm-clock.c89 return clk_get_rate(clk->parent) / (tcfg0 + 1); in clk_pwm_scaler_get_rate()
95 unsigned long parent_rate = clk_get_rate(clk->parent); in clk_pwm_scaler_round_rate()
113 divisor = clk_get_rate(clk->parent) / round; in clk_pwm_scaler_set_rate()
186 return clk_get_rate(clk->parent) / divisor; in clk_pwm_tdiv_get_rate()
195 parent_rate = clk_get_rate(clk->parent); in clk_pwm_tdiv_round_rate()
238 unsigned long parent_rate = clk_get_rate(clk->parent); in clk_pwm_tdiv_set_rate()
Dclock-clksrc.c41 unsigned long rate = clk_get_rate(clk->parent); in s3c_getrate_clksrc()
62 div = clk_get_rate(clk->parent) / rate; in s3c_setrate_clksrc()
106 unsigned long parent_rate = clk_get_rate(clk->parent); in s3c_roundrate_clksrc()
158 clk_get_rate(&clk->clk)); in s3c_set_clksrc()
Dpwm.c148 tin_parent_rate = clk_get_rate(clk_get_parent(pwm->clk_div)); in pwm_calc_tin()
203 tin_rate = clk_get_rate(pwm->clk); in pwm_config()
212 tin_ns = NS_IN_HZ / clk_get_rate(pwm->clk); in pwm_config()
324 clk_get_rate(pwm->clk), in s3c_pwm_probe()
325 clk_get_rate(pwm->clk_div), in s3c_pwm_probe()
/linux-3.4.99/arch/m68k/platform/coldfire/
Dclk.c40 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
44 EXPORT_SYMBOL(clk_get_rate);
/linux-3.4.99/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 …]
/linux-3.4.99/arch/arm/mach-nomadik/
Dclock.c17 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
21 EXPORT_SYMBOL(clk_get_rate);
/linux-3.4.99/arch/arm/mach-prima2/
Dclock.c98 unsigned long fin = clk_get_rate(clk->parent); in std_pll_get_rate()
131 fin = clk_get_rate(clk->parent); in std_pll_set_rate()
214 unsigned long fin = clk_get_rate(clk->parent); in dmn_get_rate()
238 fin = clk_get_rate(clk->parent); in dmn_set_rate()
397 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
408 return clk_get_rate(clk->parent); in clk_get_rate()
410 EXPORT_SYMBOL(clk_get_rate);
/linux-3.4.99/arch/arm/mach-mxs/
Dclock.c128 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() function
136 return clk_get_rate(clk->parent); in clk_get_rate()
138 EXPORT_SYMBOL(clk_get_rate);
Dclock-mx28.c193 parent_rate = clk_get_rate(clk->parent); \
230 return clk_get_rate(clk->parent) / 16; in lradc_clk_get_rate()
236 return clk_get_rate(clk->parent) / 768; in rtc_clk_get_rate()
246 return clk_get_rate(clk->parent) / 4; in spdif_clk_get_rate()
266 return clk_get_rate(clk->parent) / div; \
284 return clk_get_rate(clk->parent) >> 16 * div; \
286 return clk_get_rate(clk->parent) / div; \
303 return clk_get_rate(clk->parent); \
330 parent_rate = clk_get_rate(clk->parent); \
344 parent_rate = clk_get_rate(clk->parent->parent); \
[all …]
/linux-3.4.99/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);

12345678910>>...13