Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-imx/mx6/
Dclock.c213 u32 div, test_div, pll_num, pll_denom; in decode_pll() local
244 pll_denom = __raw_readl(&imx_ccm->analog_pll_audio_denom); in decode_pll()
254 return infreq * (div + pll_num / pll_denom) / test_div; in decode_pll()
263 pll_denom = __raw_readl(&imx_ccm->analog_pll_video_denom); in decode_pll()
273 return infreq * (div + pll_num / pll_denom) / test_div; in decode_pll()
551 static int enable_pll_video(u32 pll_div, u32 pll_num, u32 pll_denom, in enable_pll_video() argument
558 pll_div, pll_num, pll_denom); in enable_pll_video()
591 writel(BF_ANADIG_PLL_VIDEO_DENOM_B(pll_denom), in enable_pll_video()
626 u32 pll_div, pll_num, pll_denom, post_div = 1; in mxs_set_lcdclk() local
698 pll_denom = 1000000; in mxs_set_lcdclk()
[all …]
/external/u-boot/arch/arm/mach-imx/mx7/
Dclock.c775 static int enable_pll_video(u32 pll_div, u32 pll_num, u32 pll_denom, in enable_pll_video() argument
782 pll_div, pll_num, pll_denom); in enable_pll_video()
831 writel(CCM_ANALOG_PLL_VIDEO_DENOM_B(pll_denom), in enable_pll_video()
898 u32 pll_div, pll_num, pll_denom, post_div = 0; in mxs_set_lcdclk() local
943 pll_denom = 1000000; in mxs_set_lcdclk()
944 pll_num = (best - hck * pll_div) * pll_denom / hck; in mxs_set_lcdclk()
946 if (enable_pll_video(pll_div, pll_num, pll_denom, post_div)) in mxs_set_lcdclk()