Home
last modified time | relevance | path

Searched refs:reg_opcr (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/ingenic/
Dx1830-cgu.c59 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_enable() local
62 writel((readl(reg_opcr) | OPCR_SPENDN0) & ~OPCR_GATE_USBPHYCLK, reg_opcr); in x1830_usb_phy_enable()
69 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_disable() local
72 writel((readl(reg_opcr) & ~OPCR_SPENDN0) | OPCR_GATE_USBPHYCLK, reg_opcr); in x1830_usb_phy_disable()
78 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_is_enabled() local
81 return (readl(reg_opcr) & OPCR_SPENDN0) && in x1830_usb_phy_is_enabled()
Dx1000-cgu.c134 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1000_usb_phy_enable() local
137 writel(readl(reg_opcr) | OPCR_SPENDN0, reg_opcr); in x1000_usb_phy_enable()
144 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1000_usb_phy_disable() local
147 writel(readl(reg_opcr) & ~OPCR_SPENDN0, reg_opcr); in x1000_usb_phy_disable()
153 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1000_usb_phy_is_enabled() local
156 return (readl(reg_opcr) & OPCR_SPENDN0) && in x1000_usb_phy_is_enabled()
Djz4770-cgu.c53 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_enable() local
56 writel(readl(reg_opcr) & ~OPCR_SPENDH, reg_opcr); in jz4770_uhc_phy_enable()
63 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_disable() local
67 writel(readl(reg_opcr) | OPCR_SPENDH, reg_opcr); in jz4770_uhc_phy_disable()
72 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_is_enabled() local
75 return !(readl(reg_opcr) & OPCR_SPENDH) && in jz4770_uhc_phy_is_enabled()
Djz4780-cgu.c186 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4780_otg_phy_enable() local
189 writel(readl(reg_opcr) | OPCR_SPENDN0, reg_opcr); in jz4780_otg_phy_enable()
196 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4780_otg_phy_disable() local
199 writel(readl(reg_opcr) & ~OPCR_SPENDN0, reg_opcr); in jz4780_otg_phy_disable()
205 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4780_otg_phy_is_enabled() local
208 return (readl(reg_opcr) & OPCR_SPENDN0) && in jz4780_otg_phy_is_enabled()