Lines Matching refs:clk
24 static void master_clk_init(struct clk *clk)
26 clk->rate *= pll2_mult * pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0007];
33 static unsigned long module_clk_recalc(struct clk *clk)
36 return clk->parent->rate / pfc_divisors[idx];
43 static unsigned long bus_clk_recalc(struct clk *clk)
45 return clk->parent->rate / pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0007];
52 static unsigned long cpu_clk_recalc(struct clk *clk)
55 return clk->parent->rate / ifc_divisors[idx];