Home
last modified time | relevance | path

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

/linux/drivers/clk/ingenic/
H A Dx1000-cgu.c67 u32 usbpcr1; in x1000_otg_phy_recalc_rate() local
70 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_recalc_rate()
71 refclk_div = usbpcr1 & USBPCR1_REFCLKDIV_MASK; in x1000_otg_phy_recalc_rate()
103 u32 usbpcr1, div_bits; in x1000_otg_phy_set_rate() local
124 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_set_rate()
125 usbpcr1 &= ~USBPCR1_REFCLKDIV_MASK; in x1000_otg_phy_set_rate()
126 usbpcr1 |= div_bits; in x1000_otg_phy_set_rate()
127 writel(usbpcr1, cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_set_rate()
H A Djz4780-cgu.c108 u32 usbpcr1; in jz4780_otg_phy_recalc_rate() local
111 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in jz4780_otg_phy_recalc_rate()
112 refclk_div = usbpcr1 & USBPCR1_REFCLKDIV_MASK; in jz4780_otg_phy_recalc_rate()
150 u32 usbpcr1, div_bits; in jz4780_otg_phy_set_rate() local
175 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in jz4780_otg_phy_set_rate()
176 usbpcr1 &= ~USBPCR1_REFCLKDIV_MASK; in jz4780_otg_phy_set_rate()
177 usbpcr1 |= div_bits; in jz4780_otg_phy_set_rate()
178 writel(usbpcr1, cgu->base + CGU_REG_USBPCR1); in jz4780_otg_phy_set_rate()