Home
last modified time | relevance | path

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

/drivers/clk/ingenic/
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()
Dx1000-cgu.c135 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1000_usb_phy_enable() local
138 writel(readl(reg_usbpcr) & ~USBPCR_OTG_DISABLE & ~USBPCR_SIDDQ, reg_usbpcr); in x1000_usb_phy_enable()
145 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1000_usb_phy_disable() local
148 writel(readl(reg_usbpcr) | USBPCR_OTG_DISABLE | USBPCR_SIDDQ, reg_usbpcr); in x1000_usb_phy_disable()
154 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1000_usb_phy_is_enabled() local
157 !(readl(reg_usbpcr) & USBPCR_SIDDQ) && in x1000_usb_phy_is_enabled()
158 !(readl(reg_usbpcr) & USBPCR_OTG_DISABLE); in x1000_usb_phy_is_enabled()
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()