Home
last modified time | relevance | path

Searched defs:rate (Results 1 – 25 of 141) sorted by relevance

123456

/arch/arm/mach-pnx4008/
Dclock.c194 static int pll160_set_rate(struct clk *clk, u32 rate) in pll160_set_rate()
283 static int per_clk_set_rate(struct clk *clk, u32 rate) in per_clk_set_rate()
296 static int hclk_set_rate(struct clk *clk, u32 rate) in hclk_set_rate()
317 static u32 hclk_round_rate(struct clk *clk, u32 rate) in hclk_round_rate()
327 static u32 per_clk_round_rate(struct clk *clk, u32 rate) in per_clk_round_rate()
332 static int on_off_set_rate(struct clk *clk, u32 rate) in on_off_set_rate()
344 static int on_off_inv_set_rate(struct clk *clk, u32 rate) in on_off_inv_set_rate()
356 static u32 on_off_round_rate(struct clk *clk, u32 rate) in on_off_round_rate()
361 static u32 pll4_round_rate(struct clk *clk, u32 rate) in pll4_round_rate()
370 static u32 pll3_round_rate(struct clk *clk, u32 rate) in pll3_round_rate()
[all …]
/arch/arm/plat-versatile/
Dclock.c38 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
47 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
56 long icst_clk_round(struct clk *clk, unsigned long rate) in icst_clk_round()
64 int icst_clk_set(struct clk *clk, unsigned long rate) in icst_clk_set()
/arch/arm/mach-omap1/
Dclock.c134 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
193 int omap1_select_table_rate(struct clk *clk, unsigned long rate) in omap1_select_table_rate()
229 int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain()
249 long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_round_rate_ckctl_arm()
259 int omap1_clk_set_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_ckctl_arm()
279 long omap1_round_to_table_rate(struct clk *clk, unsigned long rate) in omap1_round_to_table_rate()
307 static unsigned calc_ext_dsor(unsigned long rate) in calc_ext_dsor()
330 int omap1_set_uart_rate(struct clk *clk, unsigned long rate) in omap1_set_uart_rate()
348 int omap1_set_ext_clk_rate(struct clk *clk, unsigned long rate) in omap1_set_ext_clk_rate()
366 int omap1_set_sossi_rate(struct clk *clk, unsigned long rate) in omap1_set_sossi_rate()
[all …]
/arch/arm/mach-picoxcell/
Dtime.c21 void __iomem **base, u32 *rate) in timer_get_base_and_rate()
36 u32 irq, rate; in picoxcell_add_clockevent() local
56 u32 rate; in picoxcell_add_clocksource() local
83 u32 rate; in picoxcell_init_sched_clock() local
/arch/arm/mach-omap2/
Dsdram-nokia.c131 long rate; member
143 static unsigned long sdrc_get_fclk_period(long rate) in sdrc_get_fclk_period()
149 static unsigned int sdrc_ps_to_ticks(unsigned int time_ps, long rate) in sdrc_ps_to_ticks()
161 int ticks, long rate, const char *name) in set_sdrc_timing_regval()
185 #define SDRC_SET_ONE(reg, st, end, field, rate) \ argument
190 #define SDRC_SET_ONE(reg, st, end, field, rate) \ argument
198 int time, long rate, const char *name) in set_sdrc_timing_regval_ps()
223 #define SDRC_SET_ONE_PS(reg, st, end, field, rate) \ argument
230 #define SDRC_SET_ONE_PS(reg, st, end, field, rate) \ argument
236 static int sdrc_timings(int id, long rate, in sdrc_timings()
Dclkt2xxx_virt_prcm_set.c68 long omap2_round_to_table_rate(struct clk *clk, unsigned long rate) in omap2_round_to_table_rate()
91 int omap2_select_table_rate(struct clk *clk, unsigned long rate) in omap2_select_table_rate()
/arch/arm/mach-imx/
Dclock-imx1.c99 _clk_simple_round_rate(struct clk *clk, unsigned long rate, unsigned int limit) in _clk_simple_round_rate()
116 static unsigned long _clk_parent_round_rate(struct clk *clk, unsigned long rate) in _clk_parent_round_rate()
121 static int _clk_parent_set_rate(struct clk *clk, unsigned long rate) in _clk_parent_set_rate()
240 static unsigned long hclk_round_rate(struct clk *clk, unsigned long rate) in hclk_round_rate()
245 static int hclk_set_rate(struct clk *clk, unsigned long rate) in hclk_set_rate()
281 static unsigned long clk48m_round_rate(struct clk *clk, unsigned long rate) in clk48m_round_rate()
286 static int clk48m_set_rate(struct clk *clk, unsigned long rate) in clk48m_set_rate()
325 static unsigned long perclk1_round_rate(struct clk *clk, unsigned long rate) in perclk1_round_rate()
330 static int perclk1_set_rate(struct clk *clk, unsigned long rate) in perclk1_set_rate()
362 static unsigned long perclk2_round_rate(struct clk *clk, unsigned long rate) in perclk2_round_rate()
[all …]
Dclock-imx27.c145 static unsigned long round_rate_cpu(struct clk *clk, unsigned long rate) in round_rate_cpu()
162 static int set_rate_cpu(struct clk *clk, unsigned long rate) in set_rate_cpu()
190 static unsigned long round_rate_per(struct clk *clk, unsigned long rate) in round_rate_per()
207 static int set_rate_per(struct clk *clk, unsigned long rate) in set_rate_per()
299 static unsigned long round_rate_parent(struct clk *clk, unsigned long rate) in round_rate_parent()
309 static int set_rate_parent(struct clk *clk, unsigned long rate) in set_rate_parent()
360 unsigned long rate; in get_rate_spll() local
378 unsigned long rate; in get_rate_cpu() local
391 unsigned long rate, bclk_pdf; in get_rate_ahb() local
404 unsigned long rate, ipg_pdf; in get_rate_ipg() local
/arch/arm/mach-highbank/
Dclock.c23 unsigned long rate; member
39 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
44 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/mach-msm/
Dclock-pcom.c57 int pc_clk_set_rate(unsigned id, unsigned rate) in pc_clk_set_rate()
70 int pc_clk_set_min_rate(unsigned id, unsigned rate) in pc_clk_set_min_rate()
79 int pc_clk_set_max_rate(unsigned id, unsigned rate) in pc_clk_set_max_rate()
113 long pc_clk_round_rate(unsigned id, unsigned rate) in pc_clk_round_rate()
Dclock.c73 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
94 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
100 int clk_set_min_rate(struct clk *clk, unsigned long rate) in clk_set_min_rate()
106 int clk_set_max_rate(struct clk *clk, unsigned long rate) in clk_set_max_rate()
/arch/arm/plat-spear/
Dclock.c222 unsigned long flags, rate; in clk_get_rate() local
285 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
406 round_rate_index(struct clk *clk, unsigned long drate, unsigned long *rate) in round_rate_index()
453 long rate = 0; in clk_round_rate() local
490 unsigned long rate = clk->pclk->rate; in pll_calc_rate() local
548 unsigned long val, rate; in pll_clk_set_rate() local
589 unsigned long rate = clk->pclk->rate; in bus_calc_rate() local
616 unsigned long val, rate; in bus_clk_set_rate() local
642 unsigned long rate = clk->pclk->rate; in aux_calc_rate() local
692 unsigned long val, rate; in aux_clk_set_rate() local
[all …]
/arch/arm/mach-ep93xx/
Dclock.c32 unsigned long rate; member
307 unsigned long rate = clk_get_rate(clk->parent); in get_uart_rate() local
326 static int set_keytchclk_rate(struct clk *clk, unsigned long rate) in set_keytchclk_rate()
354 static int calc_clk_div(struct clk *clk, unsigned long rate, in calc_clk_div()
410 static int set_div_rate(struct clk *clk, unsigned long rate) in set_div_rate()
431 static int set_i2s_sclk_rate(struct clk *clk, unsigned long rate) in set_i2s_sclk_rate()
448 static int set_i2s_lrclk_rate(struct clk *clk, unsigned long rate) in set_i2s_lrclk_rate()
469 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
488 unsigned long long rate; in calc_pll_rate() local
/arch/arm/mach-davinci/
Dclock.c92 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
116 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
247 unsigned long rate = clk->rate; in clk_sysclk_recalc() local
281 int davinci_set_sysclk_rate(struct clk *clk, unsigned long rate) in davinci_set_sysclk_rate()
362 int davinci_simple_set_rate(struct clk *clk, unsigned long rate) in davinci_simple_set_rate()
373 unsigned long rate = clk->rate; in clk_pllclk_recalc() local
521 int davinci_set_refclk_rate(unsigned long rate) in davinci_set_refclk_rate()
/arch/arm/plat-s3c24xx/
Dclock-dclk.c73 static unsigned long s3c24xx_calc_div(struct clk *clk, unsigned long rate) in s3c24xx_calc_div()
90 unsigned long rate) in s3c24xx_round_dclk_rate()
100 static int s3c24xx_set_dclk_rate(struct clk *clk, unsigned long rate) in s3c24xx_set_dclk_rate()
/arch/arm/common/
Dtimer-sp.c35 long rate; in sp804_get_clock_rate() local
82 long rate = sp804_get_clock_rate(name); in __sp804_clocksource_and_sched_clock_init() local
179 long rate = sp804_get_clock_rate(name); in sp804_clockevents_init() local
/arch/arm/mach-s3c24xx/
Dcommon-s3c2443.c154 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_prediv_getrate() local
178 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_hclkdiv_getrate() local
197 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_pclkdiv_getrate() local
220 unsigned long rate) in s3c2443_armclk_roundrate()
246 unsigned long rate = clk_get_rate(clk->parent); in s3c2443_armclk_getrate() local
260 static int s3c2443_armclk_setrate(struct clk *clk, unsigned long rate) in s3c2443_armclk_setrate()
/arch/arm/mach-tegra/
Dclock.c83 u64 rate; in clk_predict_rate_from_parent() local
99 unsigned long rate; in clk_get_rate_locked() local
112 unsigned long rate; in clk_get_rate() local
242 int clk_set_rate_locked(struct clk *c, unsigned long rate) in clk_set_rate_locked()
264 int clk_set_rate(struct clk *c, unsigned long rate) in clk_set_rate()
283 u64 rate; in clk_get_rate_all_locked() local
304 long clk_round_rate(struct clk *c, unsigned long rate) in clk_round_rate()
Dcpu-tegra.c65 unsigned long rate; in tegra_getspeed() local
74 static int tegra_update_cpu_speed(unsigned long rate) in tegra_update_cpu_speed()
119 unsigned long rate = 0; in tegra_cpu_highest_speed() local
/arch/arm/mach-pxa/
Dclock.c46 unsigned long rate; in clk_get_rate() local
56 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/mach-lpc32xx/
Dclock.c452 unsigned long rate) in local_usbpll_round_rate()
475 static int local_usbpll_set_rate(struct clk *clk, unsigned long rate) in local_usbpll_set_rate()
816 u32 div, rate, oldclk; in mmc_get_rate() local
837 static unsigned long mmc_round_rate(struct clk *clk, unsigned long rate) in mmc_round_rate()
854 static int mmc_set_rate(struct clk *clk, unsigned long rate) in mmc_set_rate()
889 u32 tmp, div, rate, oldclk; in clcd_get_rate() local
910 static int clcd_set_rate(struct clk *clk, unsigned long rate) in clcd_set_rate()
941 static unsigned long clcd_round_rate(struct clk *clk, unsigned long rate) in clcd_round_rate()
1049 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
1068 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
/arch/powerpc/platforms/512x/
Dclock.c43 unsigned long rate; member
156 static long mpc5121_clk_round_rate(struct clk *clk, unsigned long rate) in mpc5121_clk_round_rate()
161 static int mpc5121_clk_set_rate(struct clk *clk, unsigned long rate) in mpc5121_clk_set_rate()
211 static unsigned long ref_to_sys(unsigned long rate) in ref_to_sys()
220 static unsigned long sys_to_ref(unsigned long rate) in sys_to_ref()
229 static long ips_to_ref(unsigned long rate) in ips_to_ref()
256 unsigned long rate; in ref_clk_calc() local
286 unsigned long rate; in diu_clk_calc() local
298 unsigned long rate; in viu_clk_calc() local
/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c31 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup()
97 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate()
112 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate) in shoc_clk_set_rate()
/arch/arm/mach-u300/
Dclock.c298 static void syscon_clk_rate_set_mclk(unsigned long rate) in syscon_clk_rate_set_mclk()
345 void syscon_clk_rate_set_cpuclk(unsigned long rate) in syscon_clk_rate_set_cpuclk()
611 static unsigned long clk_round_rate_mclk(struct clk *clk, unsigned long rate) in clk_round_rate_mclk()
632 static unsigned long clk_round_rate_cpuclk(struct clk *clk, unsigned long rate) in clk_round_rate_cpuclk()
650 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
665 static int clk_set_rate_mclk(struct clk *clk, unsigned long rate) in clk_set_rate_mclk()
671 static int clk_set_rate_cpuclk(struct clk *clk, unsigned long rate) in clk_set_rate_cpuclk()
677 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/powerpc/kernel/
Dclock.c52 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
60 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()

123456