Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/soc/renesas/
Drmobile-sysc.c50 struct rmobile_pm_domain *rmobile_pd = to_rmobile_pd(genpd); in rmobile_pd_power_down() local
51 unsigned int mask = BIT(rmobile_pd->bit_shift); in rmobile_pd_power_down()
53 if (rmobile_pd->suspend) { in rmobile_pd_power_down()
54 int ret = rmobile_pd->suspend(); in rmobile_pd_power_down()
60 if (__raw_readl(rmobile_pd->base + PSTR) & mask) { in rmobile_pd_power_down()
62 __raw_writel(mask, rmobile_pd->base + SPDCR); in rmobile_pd_power_down()
65 if (!(__raw_readl(rmobile_pd->base + SPDCR) & mask)) in rmobile_pd_power_down()
72 __raw_readl(rmobile_pd->base + PSTR)); in rmobile_pd_power_down()
77 static int __rmobile_pd_power_up(struct rmobile_pm_domain *rmobile_pd) in __rmobile_pd_power_up() argument
79 unsigned int mask = BIT(rmobile_pd->bit_shift); in __rmobile_pd_power_up()
[all …]