Lines Matching refs:clockdiv
140 u32 sys_freq, val, clockdiv = 1, freq = 0;
178 clockdiv = *pval;
179 if (!clockdiv)
180 clockdiv = 1;
196 clockdiv = sys_freq / 16000000;
197 freq = sys_freq / clockdiv;
201 freq = sys_freq / clockdiv;
212 freq = clk_get_rate(ref_clk) / clockdiv;
220 val = (clocksrc << 14) | ((clockdiv - 1) << 17);
233 clocksrc == 1 ? "ref_clk" : "sys_clk", clockdiv);