Home
last modified time | relevance | path

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

123

/arch/arm/mach-pnx4008/
Dclock.c193 static int pll160_set_rate(struct clk *clk, u32 rate) in pll160_set_rate()
282 static int per_clk_set_rate(struct clk *clk, u32 rate) in per_clk_set_rate()
295 static int hclk_set_rate(struct clk *clk, u32 rate) in hclk_set_rate()
316 static u32 hclk_round_rate(struct clk *clk, u32 rate) in hclk_round_rate()
326 static u32 per_clk_round_rate(struct clk *clk, u32 rate) in per_clk_round_rate()
331 static int on_off_set_rate(struct clk *clk, u32 rate) in on_off_set_rate()
343 static int on_off_inv_set_rate(struct clk *clk, u32 rate) in on_off_inv_set_rate()
355 static u32 on_off_round_rate(struct clk *clk, u32 rate) in on_off_round_rate()
360 static u32 pll4_round_rate(struct clk *clk, u32 rate) in pll4_round_rate()
369 static u32 pll3_round_rate(struct clk *clk, u32 rate) in pll3_round_rate()
[all …]
/arch/arm/mach-mx1/
Dclock.c63 _clk_simple_round_rate(struct clk *clk, unsigned long rate, unsigned int limit) in _clk_simple_round_rate()
80 static unsigned long _clk_parent_round_rate(struct clk *clk, unsigned long rate) in _clk_parent_round_rate()
85 static int _clk_parent_set_rate(struct clk *clk, unsigned long rate) in _clk_parent_set_rate()
238 static unsigned long hclk_round_rate(struct clk *clk, unsigned long rate) in hclk_round_rate()
243 static int hclk_set_rate(struct clk *clk, unsigned long rate) in hclk_set_rate()
280 static unsigned long clk48m_round_rate(struct clk *clk, unsigned long rate) in clk48m_round_rate()
285 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 …]
/arch/arm/mach-omap1/
Dclock.c183 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
257 static int omap1_select_table_rate(struct clk * clk, unsigned long rate) in omap1_select_table_rate()
296 static int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain()
323 static long omap1_round_to_table_rate(struct clk * clk, unsigned long rate) in omap1_round_to_table_rate()
348 static unsigned calc_ext_dsor(unsigned long rate) in calc_ext_dsor()
371 static int omap1_set_uart_rate(struct clk * clk, unsigned long rate) in omap1_set_uart_rate()
389 static int omap1_set_ext_clk_rate(struct clk * clk, unsigned long rate) in omap1_set_ext_clk_rate()
407 static int omap1_set_sossi_rate(struct clk *clk, unsigned long rate) in omap1_set_sossi_rate()
432 static long omap1_round_ext_clk_rate(struct clk * clk, unsigned long rate) in omap1_round_ext_clk_rate()
564 static long omap1_clk_round_rate(struct clk *clk, unsigned long rate) in omap1_clk_round_rate()
[all …]
Dtime.c164 static __init void omap_init_mpu_timer(unsigned long rate) in omap_init_mpu_timer()
215 static void __init omap_init_clocksource(unsigned long rate) in omap_init_clocksource()
238 unsigned long rate; in omap_timer_init() local
/arch/arm/mach-s3c2443/
Dclock.c108 unsigned long rate, in s3c2443_roundrate_clksrc()
130 unsigned long rate) in s3c2443_roundrate_clksrc4()
136 unsigned long rate) in s3c2443_roundrate_clksrc16()
142 unsigned long rate) in s3c2443_roundrate_clksrc256()
325 static int s3c2443_setrate_uart(struct clk *clk, unsigned long rate) in s3c2443_setrate_uart()
366 static int s3c2443_setrate_hsspi(struct clk *clk, unsigned long rate) in s3c2443_setrate_hsspi()
408 static int s3c2443_setrate_usbhost(struct clk *clk, unsigned long rate) in s3c2443_setrate_usbhost()
452 static int s3c2443_setrate_hsmmc_div(struct clk *clk, unsigned long rate) in s3c2443_setrate_hsmmc_div()
527 static int s3c2443_setrate_i2s_eplldiv(struct clk *clk, unsigned long rate) in s3c2443_setrate_i2s_eplldiv()
600 static int s3c2443_setrate_cam(struct clk *clk, unsigned long rate) in s3c2443_setrate_cam()
[all …]
/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/mach-realview/
Dclock.c42 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
50 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/mach-versatile/
Dclock.c43 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
51 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/mach-integrator/
Dclock.c37 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
45 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/mach-imx/
Dtime.c90 static int __init imx_clocksource_init(unsigned long rate) in imx_clocksource_init()
178 static int __init imx_clockevent_init(unsigned long rate) in imx_clockevent_init()
199 unsigned long rate; in imx_timer_init() local
/arch/arm/mach-msm/
Dclock.c46 static inline int pc_clk_set_rate(unsigned id, unsigned rate) in pc_clk_set_rate()
51 static inline int pc_clk_set_min_rate(unsigned id, unsigned rate) in pc_clk_set_min_rate()
56 static inline int pc_clk_set_max_rate(unsigned id, unsigned rate) in pc_clk_set_max_rate()
147 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/mach-s3c2442/
Dclock.c50 unsigned long rate) in s3c2442_camif_upll_round()
75 static int s3c2442_camif_upll_setrate(struct clk *clk, unsigned long rate) in s3c2442_camif_upll_setrate()
/arch/arm/mach-s3c2440/
Dclock.c50 unsigned long rate) in s3c2440_camif_upll_round()
70 static int s3c2440_camif_upll_setrate(struct clk *clk, unsigned long rate) in s3c2440_camif_upll_setrate()
/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c30 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup()
99 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate()
114 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate, int algo_id) 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-s3c2412/
Dclock.c160 unsigned long rate) in s3c2412_roundrate_usbsrc()
183 static int s3c2412_setrate_usbsrc(struct clk *clk, unsigned long rate) in s3c2412_setrate_usbsrc()
275 unsigned long rate) in s3c2412_roundrate_clksrc()
323 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()
424 static int s3c2412_setrate_cam(struct clk *clk, unsigned long rate) in s3c2412_setrate_cam()
/arch/arm/plat-s3c/
Dclock.c162 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
170 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
227 static int clk_default_setrate(struct clk *clk, unsigned long rate) in clk_default_setrate()
Dpwm-clock.c93 unsigned long rate) in clk_pwm_scaler_round_rate()
106 static int clk_pwm_scaler_set_rate(struct clk *clk, unsigned long rate) in clk_pwm_scaler_set_rate()
188 unsigned long rate) in clk_pwm_tdiv_round_rate()
232 static int clk_pwm_tdiv_set_rate(struct clk *clk, unsigned long rate) in clk_pwm_tdiv_set_rate()
/arch/powerpc/platforms/512x/
Dclock.c42 unsigned long rate; member
155 static long mpc5121_clk_round_rate(struct clk *clk, unsigned long rate) in mpc5121_clk_round_rate()
160 static int mpc5121_clk_set_rate(struct clk *clk, unsigned long rate) in mpc5121_clk_set_rate()
210 static unsigned long ref_to_sys(unsigned long rate) in ref_to_sys()
219 static unsigned long sys_to_ref(unsigned long rate) in sys_to_ref()
228 static long ips_to_ref(unsigned long rate) in ips_to_ref()
255 unsigned long rate; in ref_clk_calc() local
285 unsigned long rate; in diu_clk_calc() local
/arch/sh/kernel/cpu/
Dclock.c202 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
208 int clk_set_rate_ex(struct clk *clk, unsigned long rate, int algo_id) in clk_set_rate_ex()
242 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
320 unsigned long rate = clk_get_rate(clk); in show_clocks() local
/arch/arm/mach-lh7a40x/
Dclocks.c20 unsigned long rate; member
104 long clk_round_rate (struct clk *clk, unsigned long rate) in clk_round_rate()
110 int clk_set_rate (struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/mach-mx2/
Dclock_imx27.c264 static unsigned long _clk_cpu_round_rate(struct clk *clk, unsigned long rate) in _clk_cpu_round_rate()
281 static int _clk_cpu_set_rate(struct clk *clk, unsigned long rate) in _clk_cpu_set_rate()
310 unsigned long rate) in _clk_perclkx_round_rate()
327 static int _clk_perclkx_set_rate(struct clk *clk, unsigned long rate) in _clk_perclkx_set_rate()
441 static unsigned long _clk_parent_round_rate(struct clk *clk, unsigned long rate) in _clk_parent_round_rate()
446 static int _clk_parent_set_rate(struct clk *clk, unsigned long rate) in _clk_parent_set_rate()
593 unsigned long rate; in get_cpu_clk() local
615 unsigned long rate; in get_ahb_clk() local
637 unsigned long rate; in get_ipg_clk() local
1317 static unsigned long _clk_clko_round_rate(struct clk *clk, unsigned long rate) in _clk_clko_round_rate()
[all …]
/arch/powerpc/sysdev/qe_lib/
Dusb.c22 int qe_usb_clock_set(enum qe_clock clk, int rate) in qe_usb_clock_set()
/arch/arm/mach-omap2/
Dclock24xx.c192 static int omap2_reprogram_dpllcore(struct clk *clk, unsigned long rate) in omap2_reprogram_dpllcore()
284 static long omap2_round_to_table_rate(struct clk *clk, unsigned long rate) in omap2_round_to_table_rate()
310 static int omap2_select_table_rate(struct clk *clk, unsigned long rate) in omap2_select_table_rate()
445 u32 rate; in omap2_clk_prepare_for_reboot() local
/arch/avr32/mach-at32ap/
Dclock.c109 unsigned long rate; in clk_get_rate() local
119 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
134 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()

123