Lines Matching refs:zpd
40 struct zx_pm_domain *zpd = (struct zx_pm_domain *)domain; in normal_power_off() local
45 tmp &= ~BIT(zpd->bit); in normal_power_off()
50 tmp &= ~BIT(zpd->bit); in normal_power_off()
51 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_ISOEN); in normal_power_off()
55 tmp &= ~BIT(zpd->bit); in normal_power_off()
60 tmp &= ~BIT(zpd->bit); 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()
76 struct zx_pm_domain *zpd = (struct zx_pm_domain *)domain; in normal_power_on() local
81 tmp &= ~BIT(zpd->bit); in normal_power_on()
84 tmp = readl_relaxed(pcubase + PCU_DM_ACK_SYNC) & BIT(zpd->bit); in normal_power_on()
93 tmp &= ~BIT(zpd->bit); in normal_power_on()
94 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_RSTEN); in normal_power_on()
98 tmp &= ~BIT(zpd->bit); in normal_power_on()
103 tmp &= ~BIT(zpd->bit); in normal_power_on()
104 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_CLKEN); in normal_power_on()