Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/ingenic/
H A Dx1830-cgu.c48 #define OPCR_SPENDN0 BIT(7) macro
62 writel((readl(reg_opcr) | OPCR_SPENDN0) & ~OPCR_GATE_USBPHYCLK, reg_opcr); in x1830_usb_phy_enable()
72 writel((readl(reg_opcr) & ~OPCR_SPENDN0) | OPCR_GATE_USBPHYCLK, reg_opcr); in x1830_usb_phy_disable()
81 return (readl(reg_opcr) & OPCR_SPENDN0) && in x1830_usb_phy_is_enabled()
H A Dx1000-cgu.c45 #define OPCR_SPENDN0 BIT(7) macro
138 writel(readl(reg_opcr) | OPCR_SPENDN0, reg_opcr); in x1000_usb_phy_enable()
148 writel(readl(reg_opcr) & ~OPCR_SPENDN0, reg_opcr); in x1000_usb_phy_disable()
157 return (readl(reg_opcr) & OPCR_SPENDN0) && in x1000_usb_phy_is_enabled()
H A Djz4780-cgu.c53 #define OPCR_SPENDN0 BIT(7) macro
189 writel(readl(reg_opcr) | OPCR_SPENDN0, reg_opcr); in jz4780_otg_phy_enable()
199 writel(readl(reg_opcr) & ~OPCR_SPENDN0, reg_opcr); in jz4780_otg_phy_disable()
208 return (readl(reg_opcr) & OPCR_SPENDN0) && in jz4780_otg_phy_is_enabled()