Lines Matching refs:podf
307 u32 freq, pred1, pred2, podf; in get_ipg_per_clk() local
316 podf = readl(&mxc_ccm->cbcdr); in get_ipg_per_clk()
317 pred1 = MXC_CCM_CBCDR_PERCLK_PRED1_RD(podf); in get_ipg_per_clk()
318 pred2 = MXC_CCM_CBCDR_PERCLK_PRED2_RD(podf); in get_ipg_per_clk()
319 podf = MXC_CCM_CBCDR_PERCLK_PODF_RD(podf); in get_ipg_per_clk()
320 return freq / ((pred1 + 1) * (pred2 + 1) * (podf + 1)); in get_ipg_per_clk()
351 unsigned int clk_sel, freq, reg, pred, podf; in get_uart_clk() local
359 podf = MXC_CCM_CSCDR1_UART_CLK_PODF_RD(reg); in get_uart_clk()
360 freq /= (pred + 1) * (podf + 1); in get_uart_clk()
387 u32 clk_sel = 0, pred = 0, podf = 0, freq = 0; in get_esdhc_clk() local
395 podf = MXC_CCM_CSCDR1_ESDHC1_MSHC1_CLK_PODF_RD(cscdr1); in get_esdhc_clk()
400 podf = MXC_CCM_CSCDR1_ESDHC2_MSHC2_CLK_PODF_RD(cscdr1); in get_esdhc_clk()
416 freq = get_standard_pll_sel_clk(clk_sel) / ((pred + 1) * (podf + 1)); in get_esdhc_clk()