Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-wm8350.c94 u16 rtc_ctrl; in wm8350_rtc_settime() local
116 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_settime()
118 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); in wm8350_rtc_settime()
188 u16 rtc_ctrl; in wm8350_rtc_stop_alarm() local
199 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_stop_alarm()
201 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); in wm8350_rtc_stop_alarm()
203 if (!(rtc_ctrl & WM8350_RTC_ALMSTS)) in wm8350_rtc_stop_alarm()
213 u16 rtc_ctrl; in wm8350_rtc_start_alarm() local
222 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_start_alarm()
224 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); in wm8350_rtc_start_alarm()
[all …]
H A Drtc-ab8500.c143 u8 rtc_ctrl, value; in ab8500_rtc_read_alarm() local
149 AB8500_RTC_STAT_REG, &rtc_ctrl); in ab8500_rtc_read_alarm()
153 if (rtc_ctrl & RTC_ALARM_ENA) in ab8500_rtc_read_alarm()
337 u8 rtc_ctrl; in ab8500_rtc_probe() local
354 AB8500_RTC_STAT_REG, &rtc_ctrl); in ab8500_rtc_probe()
359 if (!(rtc_ctrl & RTC_STATUS_DATA)) { in ab8500_rtc_probe()
H A Drtc-zynqmp.c170 u32 rtc_ctrl; in xlnx_init_rtc() local
173 rtc_ctrl = readl(xrtcdev->reg_base + RTC_CTRL); in xlnx_init_rtc()
174 rtc_ctrl |= RTC_BATT_EN; in xlnx_init_rtc()
175 writel(rtc_ctrl, xrtcdev->reg_base + RTC_CTRL); in xlnx_init_rtc()