Searched refs:pre_pdf (Results 1 – 2 of 2) sorted by relevance
274 pre_pdf = (mpdr2 >> 24) & 0x7; in mxc_get_peri_clock()279 ((pre_pdf + 1) * (pdf + 1)); in mxc_get_peri_clock()282 pre_pdf = (mpdr2 >> 27) & 0x7; in mxc_get_peri_clock()287 ((pre_pdf + 1) * (pdf + 1)); in mxc_get_peri_clock()296 pre_pdf = readl(&ccm->pdr1); in mxc_get_peri_clock()297 clk_sel = (pre_pdf & 0x80); in mxc_get_peri_clock()298 pdf = (pre_pdf >> 22) & 0x3F; in mxc_get_peri_clock()299 pre_pdf = (pre_pdf >> 28) & 0x7; in mxc_get_peri_clock()302 ((pre_pdf + 1) * (pdf + 1)); in mxc_get_peri_clock()324 pre_pdf = (mpdr3 >> 29) & 0x7; in mxc_get_peri_clock()[all …]
370 u32 ret_val = 0, pdf, pre_pdf, clk_sel, freq; in imx_get_cspiclk() local374 pre_pdf = MXC_CCM_CSCDR2_CSPI_CLK_PRED_RD(cscdr2); in imx_get_cspiclk()378 ret_val = freq / ((pre_pdf + 1) * (pdf + 1)); in imx_get_cspiclk()
Completed in 5 milliseconds