Searched refs:rtcss_write (Results 1 – 1 of 1) sorted by relevance
/drivers/rtc/ |
D | rtc-davinci.c | 129 static inline void rtcss_write(struct davinci_rtc *davinci_rtc, in rtcss_write() function 182 rtcss_write(davinci_rtc, rtc_cctrl, PRTCSS_RTC_CCTRL); in davinci_rtc_interrupt() 187 rtcss_write(davinci_rtc, rtc_ctrl, PRTCSS_RTC_CTRL); in davinci_rtc_interrupt() 223 rtcss_write(davinci_rtc, rtc_ctrl, PRTCSS_RTC_CTRL); in davinci_rtc_ioctl() 322 rtcss_write(davinci_rtc, bin2bcd(tm->tm_sec), PRTCSS_RTC_SEC); in davinci_rtc_set_time() 325 rtcss_write(davinci_rtc, bin2bcd(tm->tm_min), PRTCSS_RTC_MIN); in davinci_rtc_set_time() 328 rtcss_write(davinci_rtc, bin2bcd(tm->tm_hour), PRTCSS_RTC_HOUR); in davinci_rtc_set_time() 331 rtcss_write(davinci_rtc, days & 0xFF, PRTCSS_RTC_DAY0); in davinci_rtc_set_time() 334 rtcss_write(davinci_rtc, (days & 0xFF00) >> 8, PRTCSS_RTC_DAY1); in davinci_rtc_set_time() 338 rtcss_write(davinci_rtc, rtc_cctrl, PRTCSS_RTC_CCTRL); in davinci_rtc_set_time() [all …]
|