4 /* legacy clock implementation */
7 unsigned long shmobile_fixed_ratio_clk_recalc(struct clk
*clk
);
8 extern struct sh_clk_ops shmobile_fixed_ratio_clk_ops
;
16 #define SH_CLK_RATIO(name, m, d) \
17 static struct clk_ratio name ##_ratio = { \
22 #define SH_FIXED_RATIO_CLKg(name, p, r) \
25 .ops = &shmobile_fixed_ratio_clk_ops,\
26 .priv = &r ## _ratio, \
29 #define SH_FIXED_RATIO_CLK(name, p, r) \
30 static SH_FIXED_RATIO_CLKg(name, p, r)
32 #define SH_FIXED_RATIO_CLK_SET(name, p, m, d) \
33 SH_CLK_RATIO(name, m, d); \
34 SH_FIXED_RATIO_CLK(name, p, name)
36 #define SH_CLK_SET_RATIO(p, m, d) \