Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-mx3/
Dclock-imx31.c250 unsigned long usb_pdf, usb_prepdf; in usb_get_rate() local
252 usb_pdf = PDR1(MXC_CCM_PDR1_USB_PODF_MASK, in usb_get_rate()
256 return clk_get_rate(clk->parent) / (usb_prepdf + 1) / (usb_pdf + 1); in usb_get_rate()
/linux-2.6.39/arch/arm/mach-imx/
Dclock-imx27.c231 unsigned long usb_pdf; in get_rate_usb() local
236 usb_pdf = (__raw_readl(CCM_CSCR) >> 28) & 0x7; in get_rate_usb()
238 return parent_rate / (usb_pdf + 1U); in get_rate_usb()
Dclock-imx21.c361 unsigned long usb_pdf; in _clk_usb_recalc() local
366 usb_pdf = (CSCR() & CCM_CSCR_USB_MASK) >> CCM_CSCR_USB_OFFSET; in _clk_usb_recalc()
368 return parent_rate / (usb_pdf + 1U); in _clk_usb_recalc()