Home
last modified time | relevance | path

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

/linux/drivers/pmdomain/renesas/
H A Drmobile-sysc.c48 struct rmobile_pm_domain *rmobile_pd = to_rmobile_pd(genpd); in rmobile_pd_power_down() local
49 unsigned int mask = BIT(rmobile_pd->bit_shift); in rmobile_pd_power_down()
52 if (rmobile_pd->suspend) { in rmobile_pd_power_down()
53 int ret = rmobile_pd->suspend(); in rmobile_pd_power_down()
59 if (readl(rmobile_pd->base + PSTR) & mask) { in rmobile_pd_power_down()
60 writel(mask, rmobile_pd->base + SPDCR); in rmobile_pd_power_down()
62 readl_poll_timeout_atomic(rmobile_pd->base + SPDCR, val, in rmobile_pd_power_down()
67 readl(rmobile_pd->base + PSTR)); in rmobile_pd_power_down()
72 static int __rmobile_pd_power_up(struct rmobile_pm_domain *rmobile_pd) in __rmobile_pd_power_up() argument
74 unsigned int val, mask = BIT(rmobile_pd->bit_shift); in __rmobile_pd_power_up()
[all …]