Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-loongson.c62 #define PM1_EN_REG 0x10 /* Power management 1 enable register */ macro
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()
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()