Lines Matching refs:parent_rate
119 unsigned long parent_rate; \
124 parent_rate = clk_get_rate(clk->parent); \
126 return SH_DIV((parent_rate >> PARENT_RATE_SHIFT) * 18, \
225 unsigned long diff, parent_rate, calc_rate; local
228 parent_rate = clk_get_rate(clk->parent);
233 div = DIV_ROUND_UP(parent_rate, rate);
240 parent_rate >>= PARENT_RATE_SHIFT;
241 diff = parent_rate;
244 f = parent_rate * 18 / d / rate;
245 if ((parent_rate * 18 / d) % rate)
250 calc_rate = parent_rate * 18 / f / d;
264 if (diff == parent_rate)
294 unsigned long parent_rate; \
297 parent_rate = clk_get_rate(clk->parent); \
300 div = DIV_ROUND_UP(parent_rate, rate); \