Lines Matching refs:clk
19 struct clk;
32 .clk = ck, \
45 #define __clk_get_name(clk) (clk->name) argument
46 #define __clk_get_parent(clk) (clk->parent) argument
47 #define __clk_get_rate(clk) (clk->rate) argument
68 int (*enable)(struct clk *);
69 void (*disable)(struct clk *);
70 void (*find_idlest)(struct clk *, void __iomem **,
72 void (*find_companion)(struct clk *, void __iomem **,
74 void (*allow_idle)(struct clk *);
75 void (*deny_idle)(struct clk *);
138 struct clk { struct
142 struct clk *parent; argument
147 unsigned long (*recalc)(struct clk *); argument
148 int (*set_rate)(struct clk *, unsigned long); argument
149 long (*round_rate)(struct clk *, unsigned long); argument
150 void (*init)(struct clk *); argument
163 int (*clk_enable)(struct clk *clk); argument
164 void (*clk_disable)(struct clk *clk);
165 long (*clk_round_rate)(struct clk *clk, unsigned long rate);
166 int (*clk_set_rate)(struct clk *clk, unsigned long rate);
167 int (*clk_set_parent)(struct clk *clk, struct clk *parent);
168 void (*clk_allow_idle)(struct clk *clk);
169 void (*clk_deny_idle)(struct clk *clk);
170 void (*clk_disable_unused)(struct clk *clk);
174 extern void clk_preinit(struct clk *clk);
175 extern int clk_register(struct clk *clk);
176 extern void clk_reparent(struct clk *child, struct clk *parent);
177 extern void clk_unregister(struct clk *clk);
178 extern void propagate_rate(struct clk *clk);
180 extern unsigned long followparent_recalc(struct clk *clk);
182 unsigned long omap_fixed_divisor_recalc(struct clk *clk);
183 extern struct clk *omap_clk_get_by_name(const char *name);
189 extern struct clk dummy_ck;
193 extern int omap1_clk_enable(struct clk *clk);
194 extern void omap1_clk_disable(struct clk *clk);
195 extern long omap1_clk_round_rate(struct clk *clk, unsigned long rate);
196 extern int omap1_clk_set_rate(struct clk *clk, unsigned long rate);
197 extern unsigned long omap1_ckctl_recalc(struct clk *clk);
198 extern int omap1_set_sossi_rate(struct clk *clk, unsigned long rate);
199 extern unsigned long omap1_sossi_recalc(struct clk *clk);
200 extern unsigned long omap1_ckctl_recalc_dsp_domain(struct clk *clk);
201 extern int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate);
202 extern int omap1_set_uart_rate(struct clk *clk, unsigned long rate);
203 extern unsigned long omap1_uart_recalc(struct clk *clk);
204 extern int omap1_set_ext_clk_rate(struct clk *clk, unsigned long rate);
205 extern long omap1_round_ext_clk_rate(struct clk *clk, unsigned long rate);
206 extern void omap1_init_ext_clk(struct clk *clk);
207 extern int omap1_select_table_rate(struct clk *clk, unsigned long rate);
208 extern long omap1_round_to_table_rate(struct clk *clk, unsigned long rate);
209 extern int omap1_clk_set_rate_ckctl_arm(struct clk *clk, unsigned long rate);
210 extern long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate);
211 extern unsigned long omap1_watchdog_recalc(struct clk *clk);
214 extern void omap1_clk_disable_unused(struct clk *clk);
220 struct clk clk; member
226 struct clk clk; member
278 extern struct clk *api_ck_p, *ck_dpll1_p, *ck_ref_p;