Home
last modified time | relevance | path

Searched refs:BUSDIV (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/m68k/cpu/mcf532x/
H A Dspeed.c47 #define BUSDIV 6 /* Divider */ macro
74 return (FREF * in_8(&pll->pfdr)) / (BUSDIV * 4); in get_sys_clock()
161 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
180 mfd = (BUSDIV * temp) / 100; in clock_pll()
183 fout = ((fref * mfd) / BUSDIV); in clock_pll()
186 mfd = (4 * BUSDIV * temp) / 100; in clock_pll()
189 fout = ((fref * mfd) / (BUSDIV * 4)); in clock_pll()
212 PLL_PDR_OUTDIV1((BUSDIV / 3) - 1) | in clock_pll()
213 PLL_PDR_OUTDIV2(BUSDIV - 1) | in clock_pll()
214 PLL_PDR_OUTDIV3((BUSDIV / 2) - 1) | in clock_pll()
[all …]
/openbmc/linux/arch/m68k/coldfire/
H A Dm53xx.c256 #define BUSDIV 6 /* Divider */ macro
481 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
495 mfd = 4 * BUSDIV * temp / 100; in clock_pll()
498 fout = (fref * mfd / (BUSDIV * 4)); in clock_pll()
519 writeb(MCF_PLL_PODR_CPUDIV(BUSDIV/3) | MCF_PLL_PODR_BUSDIV(BUSDIV), in clock_pll()
593 return (FREF * readb(MCF_PLL_PFDR)) / (BUSDIV * 4); in get_sys_clock()