Home
last modified time | relevance | path

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

12345

/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-omap2/
Dsdram-nokia.c129 long rate; member
141 static unsigned long sdrc_get_fclk_period(long rate) in sdrc_get_fclk_period()
147 static unsigned int sdrc_ps_to_ticks(unsigned int time_ps, long rate) in sdrc_ps_to_ticks()
159 int ticks, long rate, const char *name) in set_sdrc_timing_regval()
183 #define SDRC_SET_ONE(reg, st, end, field, rate) \ argument
188 #define SDRC_SET_ONE(reg, st, end, field, rate) \ argument
196 int time, long rate, const char *name) in set_sdrc_timing_regval_ps()
221 #define SDRC_SET_ONE_PS(reg, st, end, field, rate) \ argument
228 #define SDRC_SET_ONE_PS(reg, st, end, field, rate) \ argument
234 static int sdrc_timings(int id, long rate, in sdrc_timings()
Dclkt2xxx_virt_prcm_set.c74 long omap2_round_to_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_round_to_table_rate()
98 int omap2_select_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_select_table_rate()
188 unsigned long rate; in omap2xxx_clkt_vps_check_bootloader_rates() local
/arch/arm/mach-msm/
Dclock-pcom.c57 static int pc_clk_set_rate(unsigned id, unsigned rate) in pc_clk_set_rate()
70 static int pc_clk_set_min_rate(unsigned id, unsigned rate) in pc_clk_set_min_rate()
79 static int pc_clk_set_max_rate(unsigned id, unsigned rate) in pc_clk_set_max_rate()
113 static 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/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-omap1/
Dclock.c135 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
194 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-davinci/
Dclock.c133 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
157 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
287 unsigned long rate = clk->rate; in clk_sysclk_recalc() local
321 int davinci_set_sysclk_rate(struct clk *clk, unsigned long rate) in davinci_set_sysclk_rate()
402 int davinci_simple_set_rate(struct clk *clk, unsigned long rate) in davinci_simple_set_rate()
413 unsigned long rate = clk->rate; in clk_pllclk_recalc() local
561 int davinci_set_refclk_rate(unsigned long rate) in davinci_set_refclk_rate()
/arch/arm/mach-s3c24xx/
Dclock-dclk.c72 static unsigned long s3c24xx_calc_div(struct clk *clk, unsigned long rate) in s3c24xx_calc_div()
89 unsigned long rate) in s3c24xx_round_dclk_rate()
99 static int s3c24xx_set_dclk_rate(struct clk *clk, unsigned long rate) in s3c24xx_set_dclk_rate()
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()
Ds3c2442.c58 unsigned long rate) in s3c2442_camif_upll_round()
83 static int s3c2442_camif_upll_setrate(struct clk *clk, unsigned long rate) in s3c2442_camif_upll_setrate()
Dclock-s3c2412.c156 unsigned long rate) in s3c2412_roundrate_usbsrc()
179 static int s3c2412_setrate_usbsrc(struct clk *clk, unsigned long rate) in s3c2412_setrate_usbsrc()
274 unsigned long rate) in s3c2412_roundrate_clksrc()
322 static int s3c2412_setrate_uart(struct clk *clk, unsigned long rate) in s3c2412_setrate_uart()
374 static int s3c2412_setrate_i2s(struct clk *clk, unsigned long rate) in s3c2412_setrate_i2s()
425 static int s3c2412_setrate_cam(struct clk *clk, unsigned long rate) in s3c2412_setrate_cam()
/arch/mips/ralink/
Dclk.c21 unsigned long rate; member
24 void ralink_clk_add(const char *dev, unsigned long rate) in ralink_clk_add()
/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()
917 u32 div, rate, oldclk; in mmc_get_rate() local
938 static unsigned long mmc_round_rate(struct clk *clk, unsigned long rate) in mmc_round_rate()
955 static int mmc_set_rate(struct clk *clk, unsigned long rate) in mmc_set_rate()
986 u32 tmp, div, rate, oldclk; in clcd_get_rate() local
1007 static int clcd_set_rate(struct clk *clk, unsigned long rate) in clcd_set_rate()
1038 static unsigned long clcd_round_rate(struct clk *clk, unsigned long rate) in clcd_round_rate()
1146 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
1165 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
/arch/powerpc/platforms/512x/
Dclock.c46 unsigned long rate; member
161 static long mpc5121_clk_round_rate(struct clk *clk, unsigned long rate) in mpc5121_clk_round_rate()
166 static int mpc5121_clk_set_rate(struct clk *clk, unsigned long rate) in mpc5121_clk_set_rate()
216 static unsigned long ref_to_sys(unsigned long rate) in ref_to_sys()
225 static unsigned long sys_to_ref(unsigned long rate) in sys_to_ref()
234 static long ips_to_ref(unsigned long rate) in ips_to_ref()
261 unsigned long rate; in ref_clk_calc() local
291 unsigned long rate; in diu_clk_calc() local
303 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/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()
/arch/arm/mach-mmp/
Dclock.c81 unsigned long rate; in clk_get_rate() local
92 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/plat-samsung/
Dclock-clksrc.c41 unsigned long rate = clk_get_rate(clk->parent); in s3c_getrate_clksrc() local
53 static int s3c_setrate_clksrc(struct clk *clk, unsigned long rate) in s3c_setrate_clksrc()
103 unsigned long rate) in s3c_roundrate_clksrc()
/arch/unicore32/kernel/
Dclock.c32 unsigned long rate; member
100 unsigned long rate; member
136 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
238 unsigned long rate; member
/arch/arm/mach-imx/
Dclk-pllv3.c115 static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_round_rate()
124 static int clk_pllv3_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_set_rate()
164 static long clk_pllv3_sys_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_round_rate()
181 static int clk_pllv3_sys_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_set_rate()
222 static long clk_pllv3_av_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_round_rate()
246 static int clk_pllv3_av_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_set_rate()
/arch/blackfin/mach-bf609/
Dclock.c132 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
141 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
169 unsigned long pll_round_rate(struct clk *clk, unsigned long rate) in pll_round_rate()
176 int pll_set_rate(struct clk *clk, unsigned long rate) in pll_set_rate()
223 unsigned long sys_clk_round_rate(struct clk *clk, unsigned long rate) in sys_clk_round_rate()
247 int sys_clk_set_rate(struct clk *clk, unsigned long rate) in sys_clk_set_rate()
/arch/arm/common/
Dtimer-sp.c38 long rate; in sp804_get_clock_rate() local
79 long rate; in __sp804_clocksource_and_sched_clock_init() local
185 long rate; in __sp804_clockevents_init() local
/arch/c6x/platforms/
Dpll.c85 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
109 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
213 unsigned long rate = clk->rate; in clk_sysclk_recalc() local
274 unsigned long rate = clk->rate; in clk_pllclk_recalc() local

12345