Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/ingenic/
Dx1000-cgu.c66 u32 usbpcr1; in x1000_otg_phy_recalc_rate() local
69 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_recalc_rate()
70 refclk_div = usbpcr1 & USBPCR1_REFCLKDIV_MASK; in x1000_otg_phy_recalc_rate()
102 u32 usbpcr1, div_bits; in x1000_otg_phy_set_rate() local
123 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_set_rate()
124 usbpcr1 &= ~USBPCR1_REFCLKDIV_MASK; in x1000_otg_phy_set_rate()
125 usbpcr1 |= div_bits; in x1000_otg_phy_set_rate()
126 writel(usbpcr1, cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_set_rate()
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()