Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/rtc/
Drtc-loongson.c81 void __iomem *pm_base; /* PM domain base, for RTC alarm wakeup */ member
127 writel(readl(priv->pm_base + PM1_EN_REG) & ~RTC_EN, in loongson_rtc_handler()
128 priv->pm_base + PM1_EN_REG); in loongson_rtc_handler()
131 writel(RTC_STS, priv->pm_base + PM1_STS_REG); in loongson_rtc_handler()
244 alrm->enabled = !!(readl(priv->pm_base + PM1_EN_REG) & RTC_EN); in loongson_rtc_read_alarm()
254 val = readl(priv->pm_base + PM1_EN_REG); in loongson_rtc_alarm_irq_enable()
257 priv->pm_base + PM1_EN_REG); in loongson_rtc_alarm_irq_enable()
331 priv->pm_base = regs - priv->config->pm_offset; in loongson_rtc_probe()
/Linux-v6.6/drivers/gpio/
Dgpio-ich.c90 struct resource *pm_base; /* Power Management IO base */ member
207 if (!ichx_priv.pm_base) in ich6_gpio_get()
213 ICHX_WRITE(BIT(16 + nr), 0, ichx_priv.pm_base); in ich6_gpio_get()
214 data = ICHX_READ(0, ichx_priv.pm_base); in ich6_gpio_get()
456 ichx_priv.pm_base = res_pm; in ichx_gpio_probe()