Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-imx/
Dclock-imx27.c267 unsigned long nfc_pdf; in get_rate_nfc() local
273 nfc_pdf = (__raw_readl(CCM_PCDR0) >> 6) & 0xf; in get_rate_nfc()
275 nfc_pdf = (__raw_readl(CCM_PCDR0) >> 12) & 0xf; in get_rate_nfc()
277 return parent_rate / (nfc_pdf + 1); in get_rate_nfc()
Dclock-imx21.c424 unsigned long nfc_pdf; in _clk_nfc_recalc() local
429 nfc_pdf = (PCDR0() & CCM_PCDR0_NFCDIV_MASK) in _clk_nfc_recalc()
432 return parent_rate / (nfc_pdf + 1); in _clk_nfc_recalc()
/linux-2.6.39/arch/arm/mach-mx3/
Dclock-imx31.c232 unsigned long nfc_pdf; in nfc_get_rate() local
234 nfc_pdf = PDR0(MXC_CCM_PDR0_NFC_PODF_MASK, in nfc_get_rate()
236 return clk_get_rate(clk->parent) / (nfc_pdf + 1); in nfc_get_rate()