Home
last modified time | relevance | path

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

/linux/drivers/clk/ingenic/
H A Dx1830-cgu.c60 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_enable() local
63 writel(readl(reg_usbpcr) & ~USBPCR_OTG_DISABLE & ~USBPCR_SIDDQ, reg_usbpcr); in x1830_usb_phy_enable()
70 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_disable() local
73 writel(readl(reg_usbpcr) | USBPCR_OTG_DISABLE | USBPCR_SIDDQ, reg_usbpcr); in x1830_usb_phy_disable()
79 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_is_enabled() local
82 !(readl(reg_usbpcr) & USBPCR_SIDDQ) && in x1830_usb_phy_is_enabled()
83 !(readl(reg_usbpcr) & USBPCR_OTG_DISABLE); in x1830_usb_phy_is_enabled()
H A Dx1000-cgu.c136 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1000_usb_phy_enable() local
139 writel(readl(reg_usbpcr) & ~USBPCR_OTG_DISABLE & ~USBPCR_SIDDQ, reg_usbpcr); in x1000_usb_phy_enable()
146 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1000_usb_phy_disable() local
149 writel(readl(reg_usbpcr) | USBPCR_OTG_DISABLE | USBPCR_SIDDQ, reg_usbpcr); in x1000_usb_phy_disable()
155 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1000_usb_phy_is_enabled() local
158 !(readl(reg_usbpcr) & USBPCR_SIDDQ) && in x1000_usb_phy_is_enabled()
159 !(readl(reg_usbpcr) & USBPCR_OTG_DISABLE); in x1000_usb_phy_is_enabled()
H A Djz4780-cgu.c187 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in jz4780_otg_phy_enable() local
190 writel(readl(reg_usbpcr) & ~USBPCR_OTG_DISABLE & ~USBPCR_SIDDQ, reg_usbpcr); in jz4780_otg_phy_enable()
197 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in jz4780_otg_phy_disable() local
200 writel(readl(reg_usbpcr) | USBPCR_OTG_DISABLE | USBPCR_SIDDQ, reg_usbpcr); in jz4780_otg_phy_disable()
206 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in jz4780_otg_phy_is_enabled() local
209 !(readl(reg_usbpcr) & USBPCR_SIDDQ) && in jz4780_otg_phy_is_enabled()
210 !(readl(reg_usbpcr) & USBPCR_OTG_DISABLE); in jz4780_otg_phy_is_enabled()