Searched refs:usbpcr1 (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/clk/ingenic/
H A Djz4780-cgu.c109 u32 usbpcr1; jz4780_otg_phy_set_parent() local
116 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); jz4780_otg_phy_set_parent()
117 usbpcr1 &= ~USBPCR1_REFCLKSEL_MASK; jz4780_otg_phy_set_parent()
119 usbpcr1 |= USBPCR1_REFCLKSEL_CORE; jz4780_otg_phy_set_parent()
120 writel(usbpcr1, cgu->base + CGU_REG_USBPCR1); jz4780_otg_phy_set_parent()
129 u32 usbpcr1; jz4780_otg_phy_recalc_rate() local
132 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); jz4780_otg_phy_recalc_rate()
133 refclk_div = usbpcr1 & USBPCR1_REFCLKDIV_MASK; jz4780_otg_phy_recalc_rate()
172 u32 usbpcr1, div_bits; jz4780_otg_phy_set_rate() local
197 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); jz4780_otg_phy_set_rate()
198 usbpcr1 &= ~USBPCR1_REFCLKDIV_MASK; jz4780_otg_phy_set_rate()
199 usbpcr1 |= div_bits; jz4780_otg_phy_set_rate()
200 writel(usbpcr1, cgu->base + CGU_REG_USBPCR1); jz4780_otg_phy_set_rate()

Completed in 46 milliseconds