Lines Matching refs:podf
305 u32 freq, pred1, pred2, podf; in get_ipg_per_clk() local
314 podf = readl(&mxc_ccm->cbcdr); in get_ipg_per_clk()
315 pred1 = MXC_CCM_CBCDR_PERCLK_PRED1_RD(podf); in get_ipg_per_clk()
316 pred2 = MXC_CCM_CBCDR_PERCLK_PRED2_RD(podf); in get_ipg_per_clk()
317 podf = MXC_CCM_CBCDR_PERCLK_PODF_RD(podf); in get_ipg_per_clk()
318 return freq / ((pred1 + 1) * (pred2 + 1) * (podf + 1)); in get_ipg_per_clk()
349 unsigned int clk_sel, freq, reg, pred, podf; in get_uart_clk() local
357 podf = MXC_CCM_CSCDR1_UART_CLK_PODF_RD(reg); in get_uart_clk()
358 freq /= (pred + 1) * (podf + 1); in get_uart_clk()
385 u32 clk_sel = 0, pred = 0, podf = 0, freq = 0; in get_esdhc_clk() local
393 podf = MXC_CCM_CSCDR1_ESDHC1_MSHC1_CLK_PODF_RD(cscdr1); in get_esdhc_clk()
398 podf = MXC_CCM_CSCDR1_ESDHC2_MSHC2_CLK_PODF_RD(cscdr1); in get_esdhc_clk()
414 freq = get_standard_pll_sel_clk(clk_sel) / ((pred + 1) * (podf + 1)); in get_esdhc_clk()