Searched refs:usbpcr1 (Results 1 – 2 of 2) sorted by relevance
67 u32 usbpcr1; in x1000_otg_phy_recalc_rate() local70 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() local124 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()
108 u32 usbpcr1; in jz4780_otg_phy_recalc_rate() local111 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() local175 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()