Lines Matching refs:pcubase
31 static void __iomem *pcubase; variable
44 tmp = readl_relaxed(pcubase + PCU_DM_CLKEN); in normal_power_off()
46 writel_relaxed(tmp, pcubase + PCU_DM_CLKEN); in normal_power_off()
49 tmp = readl_relaxed(pcubase + PCU_DM_ISOEN); in normal_power_off()
51 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_ISOEN); in normal_power_off()
54 tmp = readl_relaxed(pcubase + PCU_DM_RSTEN); in normal_power_off()
56 writel_relaxed(tmp, pcubase + PCU_DM_RSTEN); in normal_power_off()
59 tmp = readl_relaxed(pcubase + PCU_DM_PWRDN); in normal_power_off()
61 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_PWRDN); in normal_power_off()
63 tmp = readl_relaxed(pcubase + PCU_DM_ACK_SYNC) & BIT(zpd->bit); in normal_power_off()
80 tmp = readl_relaxed(pcubase + PCU_DM_PWRDN); in normal_power_on()
82 writel_relaxed(tmp, pcubase + PCU_DM_PWRDN); in normal_power_on()
84 tmp = readl_relaxed(pcubase + PCU_DM_ACK_SYNC) & BIT(zpd->bit); in normal_power_on()
92 tmp = readl_relaxed(pcubase + PCU_DM_RSTEN); in normal_power_on()
94 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_RSTEN); in normal_power_on()
97 tmp = readl_relaxed(pcubase + PCU_DM_ISOEN); in normal_power_on()
99 writel_relaxed(tmp, pcubase + PCU_DM_ISOEN); in normal_power_on()
102 tmp = readl_relaxed(pcubase + PCU_DM_CLKEN); in normal_power_on()
104 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_CLKEN); in normal_power_on()
171 pcubase = devm_ioremap_resource(&pdev->dev, res); in zx296702_pd_probe()
172 if (IS_ERR(pcubase)) { in zx296702_pd_probe()