Searched refs:rtc_ctrl (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-wm8350.c | 101 u16 rtc_ctrl; wm8350_rtc_settime() local 123 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); wm8350_rtc_settime() 125 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); wm8350_rtc_settime() 195 u16 rtc_ctrl; wm8350_rtc_stop_alarm() local 206 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); wm8350_rtc_stop_alarm() 208 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); wm8350_rtc_stop_alarm() 210 if (!(rtc_ctrl & WM8350_RTC_ALMSTS)) wm8350_rtc_stop_alarm() 220 u16 rtc_ctrl; wm8350_rtc_start_alarm() local 229 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); wm8350_rtc_start_alarm() 231 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); wm8350_rtc_start_alarm() 233 if (rtc_ctrl & WM8350_RTC_ALMSTS) wm8350_rtc_start_alarm()
|
H A D | rtc-davinci.c | 178 u8 rtc_ctrl, rtc_cctrl; davinci_rtc_interrupt() local 198 rtc_ctrl = rtcss_read(davinci_rtc, PRTCSS_RTC_CTRL); davinci_rtc_interrupt() 199 rtc_ctrl |= PRTCSS_RTC_CTRL_TMRFLG; davinci_rtc_interrupt() 200 rtcss_write(davinci_rtc, rtc_ctrl, PRTCSS_RTC_CTRL); davinci_rtc_interrupt() 217 u8 rtc_ctrl; davinci_rtc_ioctl() local 223 rtc_ctrl = rtcss_read(davinci_rtc, PRTCSS_RTC_CTRL); davinci_rtc_ioctl() 227 rtc_ctrl |= PRTCSS_RTC_CTRL_WEN | PRTCSS_RTC_CTRL_WDTFLG; davinci_rtc_ioctl() 230 rtc_ctrl &= ~PRTCSS_RTC_CTRL_WEN; davinci_rtc_ioctl() 236 rtcss_write(davinci_rtc, rtc_ctrl, PRTCSS_RTC_CTRL); davinci_rtc_ioctl()
|
H A D | rtc-ab8500.c | 185 u8 rtc_ctrl, value; ab8500_rtc_read_alarm() local 191 AB8500_RTC_STAT_REG, &rtc_ctrl); ab8500_rtc_read_alarm() 195 if (rtc_ctrl & RTC_ALARM_ENA) ab8500_rtc_read_alarm() 455 u8 rtc_ctrl; ab8500_rtc_probe() local 472 AB8500_RTC_STAT_REG, &rtc_ctrl); ab8500_rtc_probe() 477 if (!(rtc_ctrl & RTC_STATUS_DATA)) { ab8500_rtc_probe()
|
H A D | rtc-rk808.c | 72 dev_err(dev, "Failed to update bits rtc_ctrl: %d\n", ret); rk808_rtc_readtime() 86 dev_err(dev, "Failed to update bits rtc_ctrl: %d\n", ret); rk808_rtc_readtime()
|
Completed in 187 milliseconds