Home
last modified time | relevance | path

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

/arch/arm/mach-imx/
Dclock-imx31.c223 unsigned long ipg_pdf; in ipg_get_rate() local
225 ipg_pdf = PDR0(MXC_CCM_PDR0_IPG_PODF_MASK, in ipg_get_rate()
227 return clk_get_rate(clk->parent) / (ipg_pdf + 1); in ipg_get_rate()
Dclock-imx27.c404 unsigned long rate, ipg_pdf; in get_rate_ipg() local
409 ipg_pdf = (__raw_readl(CCM_CSCR) >> 8) & 1; in get_rate_ipg()
412 return rate / (ipg_pdf + 1); in get_rate_ipg()
Dclock-imx21.c583 unsigned long ipg_pdf; in get_ipg_clk() local
585 ipg_pdf = (CSCR() & CCM_CSCR_IPDIV) >> CCM_CSCR_IPDIV_OFFSET; in get_ipg_clk()
588 return rate / (ipg_pdf + 1); in get_ipg_clk()