Lines Matching refs:cgu
49 static struct ingenic_cgu *cgu; variable
53 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_enable()
54 void __iomem *reg_usbpcr1 = cgu->base + CGU_REG_USBPCR1; in jz4770_uhc_phy_enable()
63 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_disable()
64 void __iomem *reg_usbpcr1 = cgu->base + CGU_REG_USBPCR1; in jz4770_uhc_phy_disable()
72 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_is_enabled()
73 void __iomem *reg_usbpcr1 = cgu->base + CGU_REG_USBPCR1; in jz4770_uhc_phy_is_enabled()
414 val = readl(cgu->base + CGU_REG_LCR); in jz4770_cgu_pm_suspend()
415 writel(val | LCR_LPM, cgu->base + CGU_REG_LCR); in jz4770_cgu_pm_suspend()
423 val = readl(cgu->base + CGU_REG_LCR); in jz4770_cgu_pm_resume()
424 writel(val & ~LCR_LPM, cgu->base + CGU_REG_LCR); in jz4770_cgu_pm_resume()
437 cgu = ingenic_cgu_new(jz4770_cgu_clocks, in jz4770_cgu_init()
439 if (!cgu) in jz4770_cgu_init()
442 retval = ingenic_cgu_register_clocks(cgu); in jz4770_cgu_init()