Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/rtc/
Drtc-wm8350.c101 u16 rtc_ctrl; in wm8350_rtc_settime() local
123 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_settime()
125 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); in wm8350_rtc_settime()
195 u16 rtc_ctrl; in wm8350_rtc_stop_alarm() local
206 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_stop_alarm()
208 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); in wm8350_rtc_stop_alarm()
210 if (!(rtc_ctrl & WM8350_RTC_ALMSTS)) in wm8350_rtc_stop_alarm()
220 u16 rtc_ctrl; in wm8350_rtc_start_alarm() local
229 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_start_alarm()
231 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); in wm8350_rtc_start_alarm()
[all …]
Drtc-ab8500.c180 u8 rtc_ctrl, value; in ab8500_rtc_read_alarm() local
186 AB8500_RTC_STAT_REG, &rtc_ctrl); in ab8500_rtc_read_alarm()
190 if (rtc_ctrl & RTC_ALARM_ENA) in ab8500_rtc_read_alarm()
387 u8 rtc_ctrl; in ab8500_rtc_probe() local
404 AB8500_RTC_STAT_REG, &rtc_ctrl); in ab8500_rtc_probe()
409 if (!(rtc_ctrl & RTC_STATUS_DATA)) { in ab8500_rtc_probe()
Drtc-davinci.c180 u8 rtc_ctrl, rtc_cctrl; in davinci_rtc_interrupt() local
200 rtc_ctrl = rtcss_read(davinci_rtc, PRTCSS_RTC_CTRL); in davinci_rtc_interrupt()
201 rtc_ctrl |= PRTCSS_RTC_CTRL_TMRFLG; in davinci_rtc_interrupt()
202 rtcss_write(davinci_rtc, rtc_ctrl, PRTCSS_RTC_CTRL); in davinci_rtc_interrupt()
219 u8 rtc_ctrl; in davinci_rtc_ioctl() local
225 rtc_ctrl = rtcss_read(davinci_rtc, PRTCSS_RTC_CTRL); in davinci_rtc_ioctl()
229 rtc_ctrl |= PRTCSS_RTC_CTRL_WEN | PRTCSS_RTC_CTRL_WDTFLG; in davinci_rtc_ioctl()
232 rtc_ctrl &= ~PRTCSS_RTC_CTRL_WEN; in davinci_rtc_ioctl()
238 rtcss_write(davinci_rtc, rtc_ctrl, PRTCSS_RTC_CTRL); in davinci_rtc_ioctl()