Lines Matching refs:div1
220 unsigned long div1, div2, rate;
227 div1 = (pdr1 >> 29) & 0x7;
230 return rate / ((div1 + 1) * (div2 + 1));
236 unsigned long div1, div2, rate;
246 div1 = pdr2 & 0x3f;
250 div1 = (pdr2 >> 8) & 0x3f;
255 return rate / ((div1 + 1) * (div2 + 1));
424 unsigned long div1;
426 div1 = (__raw_readl(CCM_BASE + CCM_PDR4) >> 28) + 1;
428 return get_rate_ahb(NULL) / div1;