Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx6/
H A Dclock.c214 u32 div, test_div, pll_num, pll_denom; in decode_pll() local
246 test_div = (div & BM_ANADIG_PLL_AUDIO_TEST_DIV_SELECT) >> in decode_pll()
249 if (test_div == 3) { in decode_pll()
253 test_div = 1 << (2 - test_div); in decode_pll()
255 return infreq * (div + pll_num / pll_denom) / test_div; in decode_pll()
265 test_div = (div & BM_ANADIG_PLL_VIDEO_POST_DIV_SELECT) >> in decode_pll()
268 if (test_div == 3) { in decode_pll()
272 test_div = 1 << (2 - test_div); in decode_pll()
274 return infreq * (div + pll_num / pll_denom) / test_div; in decode_pll()