Home
last modified time | relevance | path

Searched refs:pcubase (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/soc/zte/
Dzx2967_pm_domains.c21 static void __iomem *pcubase; variable
29 val = readl_relaxed(pcubase + PCU_DM_PWREN(zpd)); in zx2967_power_on()
34 writel_relaxed(val, pcubase + PCU_DM_PWREN(zpd)); in zx2967_power_on()
38 val = readl_relaxed(pcubase + PCU_DM_ACK_SYNC(zpd)) in zx2967_power_on()
47 val = readl_relaxed(pcubase + PCU_DM_RSTEN(zpd)); in zx2967_power_on()
49 writel_relaxed(val, pcubase + PCU_DM_RSTEN(zpd)); in zx2967_power_on()
52 val = readl_relaxed(pcubase + PCU_DM_ISOEN(zpd)); in zx2967_power_on()
54 writel_relaxed(val, pcubase + PCU_DM_ISOEN(zpd)); in zx2967_power_on()
57 val = readl_relaxed(pcubase + PCU_DM_CLKEN(zpd)); in zx2967_power_on()
59 writel_relaxed(val, pcubase + PCU_DM_CLKEN(zpd)); in zx2967_power_on()
[all …]
/Linux-v5.10/arch/arm/mach-zx/
Dzx296702-pm-domain.c31 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()
[all …]