clock.h (59245ce01a2e3ded836172266e3ac2e576a03333) clock.h (ef14db0977547b1982d4f6eaa305e1a22eb95778)
1/*
2 * linux/arch/arm/mach-omap2/clock.h
3 *
4 * Copyright (C) 2005-2009 Texas Instruments, Inc.
5 * Copyright (C) 2004-2011 Nokia Corporation
6 *
7 * Contacts:
8 * Richard Woodruff <r-woodruff2@ti.com>

--- 184 unchanged lines hidden (view full) ---

193u8 omap2_clksel_find_parent_index(struct clk_hw *hw);
194unsigned long omap2_clksel_recalc(struct clk_hw *hw, unsigned long parent_rate);
195long omap2_clksel_round_rate(struct clk_hw *hw, unsigned long target_rate,
196 unsigned long *parent_rate);
197int omap2_clksel_set_rate(struct clk_hw *hw, unsigned long rate,
198 unsigned long parent_rate);
199int omap2_clksel_set_parent(struct clk_hw *hw, u8 field_val);
200
1/*
2 * linux/arch/arm/mach-omap2/clock.h
3 *
4 * Copyright (C) 2005-2009 Texas Instruments, Inc.
5 * Copyright (C) 2004-2011 Nokia Corporation
6 *
7 * Contacts:
8 * Richard Woodruff <r-woodruff2@ti.com>

--- 184 unchanged lines hidden (view full) ---

193u8 omap2_clksel_find_parent_index(struct clk_hw *hw);
194unsigned long omap2_clksel_recalc(struct clk_hw *hw, unsigned long parent_rate);
195long omap2_clksel_round_rate(struct clk_hw *hw, unsigned long target_rate,
196 unsigned long *parent_rate);
197int omap2_clksel_set_rate(struct clk_hw *hw, unsigned long rate,
198 unsigned long parent_rate);
199int omap2_clksel_set_parent(struct clk_hw *hw, u8 field_val);
200
201/* clkt_iclk.c public functions */
202extern void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk);
203extern void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk);
204
205void omap2_clk_dflt_find_companion(struct clk_hw_omap *clk,
206 void __iomem **other_reg,
207 u8 *other_bit);
208void omap2_clk_dflt_find_idlest(struct clk_hw_omap *clk,
209 void __iomem **idlest_reg,
210 u8 *idlest_bit, u8 *idlest_val);
211int omap2_clk_enable_autoidle_all(void);
212int omap2_clk_allow_idle(struct clk *clk);
213int omap2_clk_deny_idle(struct clk *clk);
214int omap2_clk_switch_mpurate_at_boot(const char *mpurate_ck_name);
215void omap2_clk_print_new_rates(const char *hfclkin_ck_name,
216 const char *core_ck_name,
217 const char *mpu_ck_name);
218

--- 7 unchanged lines hidden (view full) ---

226
227extern struct clk_functions omap2_clk_functions;
228
229extern const struct clksel_rate gpt_32k_rates[];
230extern const struct clksel_rate gpt_sys_rates[];
231extern const struct clksel_rate gfx_l3_rates[];
232extern const struct clksel_rate dsp_ick_rates[];
233
201int omap2_clk_enable_autoidle_all(void);
202int omap2_clk_allow_idle(struct clk *clk);
203int omap2_clk_deny_idle(struct clk *clk);
204int omap2_clk_switch_mpurate_at_boot(const char *mpurate_ck_name);
205void omap2_clk_print_new_rates(const char *hfclkin_ck_name,
206 const char *core_ck_name,
207 const char *mpu_ck_name);
208

--- 7 unchanged lines hidden (view full) ---

216
217extern struct clk_functions omap2_clk_functions;
218
219extern const struct clksel_rate gpt_32k_rates[];
220extern const struct clksel_rate gpt_sys_rates[];
221extern const struct clksel_rate gfx_l3_rates[];
222extern const struct clksel_rate dsp_ick_rates[];
223
234extern const struct clk_hw_omap_ops clkhwops_iclk_wait;
235extern const struct clk_hw_omap_ops clkhwops_wait;
236extern const struct clk_hw_omap_ops clkhwops_omap3430es2_ssi_wait;
237extern const struct clk_hw_omap_ops clkhwops_omap3430es2_dss_usbhost_wait;
238extern const struct clk_hw_omap_ops clkhwops_omap3430es2_hsotgusb_wait;
239extern const struct clk_hw_omap_ops clkhwops_am35xx_ipss_module_wait;
240extern const struct clk_hw_omap_ops clkhwops_apll54;
241extern const struct clk_hw_omap_ops clkhwops_apll96;
242

--- 20 unchanged lines hidden ---
224extern const struct clk_hw_omap_ops clkhwops_wait;
225extern const struct clk_hw_omap_ops clkhwops_omap3430es2_ssi_wait;
226extern const struct clk_hw_omap_ops clkhwops_omap3430es2_dss_usbhost_wait;
227extern const struct clk_hw_omap_ops clkhwops_omap3430es2_hsotgusb_wait;
228extern const struct clk_hw_omap_ops clkhwops_am35xx_ipss_module_wait;
229extern const struct clk_hw_omap_ops clkhwops_apll54;
230extern const struct clk_hw_omap_ops clkhwops_apll96;
231

--- 20 unchanged lines hidden ---