Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/rtc/
A Drtc-msc313.c20 #define REG_RTC_CTRL 0x00 macro
71 reg = readw(priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_alarm_irq_enable()
76 writew(reg, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_alarm_irq_enable()
96 return readw(priv->rtc_base + REG_RTC_CTRL) & CNT_EN_BIT; in msc313_rtc_get_enabled()
103 reg = readw(priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_set_enabled()
105 writew(reg, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_set_enabled()
117 reg = readw(priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_read_time()
118 writew(reg | READ_EN_BIT, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_read_time()
143 reg = readw(priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_set_time()
170 reg = readw(priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_interrupt()
[all …]

Completed in 3 milliseconds