Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-highbank/
Dsysregs.h14 extern void __iomem *sregs_base;
33 writel_relaxed(1, sregs_base + SREG_CPU_PWR_CTRL(cpu)); in highbank_set_core_pwr()
42 writel_relaxed(0, sregs_base + SREG_CPU_PWR_CTRL(cpu)); in highbank_clear_core_pwr()
47 writel(HB_PWR_SUSPEND, sregs_base + HB_SREG_A9_PWR_REQ); in highbank_set_pwr_suspend()
53 writel(HB_PWR_SHUTDOWN, sregs_base + HB_SREG_A9_PWR_REQ); in highbank_set_pwr_shutdown()
59 writel(HB_PWR_SOFT_RESET, sregs_base + HB_SREG_A9_PWR_REQ); in highbank_set_pwr_soft_reset()
65 writel(HB_PWR_HARD_RESET, sregs_base + HB_SREG_A9_PWR_REQ); in highbank_set_pwr_hard_reset()
71 writel(~0UL, sregs_base + HB_SREG_A9_PWR_REQ); in highbank_clear_pwr_request()
Dhighbank.c28 void __iomem *sregs_base; variable
99 val = readl(sregs_base + reg); in highbank_platform_notifier()
100 writel(val | 0xff01, sregs_base + reg); in highbank_platform_notifier()
143 sregs_base = of_iomap(np, 0); in highbank_init()
144 WARN_ON(!sregs_base); in highbank_init()