Lines Matching refs:clk
22 static void master_clk_init(struct clk *clk)
24 clk->rate *= p0fc_divisors[(__raw_readl(FRQCR) >> 4) & 0x07];
31 static unsigned long module_clk_recalc(struct clk *clk)
34 return clk->parent->rate / p0fc_divisors[idx];
41 static unsigned long bus_clk_recalc(struct clk *clk)
44 return clk->parent->rate / bfc_divisors[idx];
68 static unsigned long shyway_clk_recalc(struct clk *clk)
71 return clk->parent->rate / cfc_divisors[idx];
78 static struct clk sh7763_shyway_clk = {
87 static struct clk *sh7763_onchip_clocks[] = {
98 struct clk *clk;
103 clk = clk_get(NULL, "master_clk");
105 struct clk *clkp = sh7763_onchip_clocks[i];
107 clkp->parent = clk;
111 clk_put(clk);