Searched refs:rtcss_read (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/rtc/ |
D | rtc-davinci.c | 153 static inline u8 rtcss_read(struct davinci_rtc *davinci_rtc, u8 addr) in rtcss_read() function 167 while (rtcss_read(davinci_rtc, PRTCSS_RTC_CCTRL) & in davinci_rtcss_calendar_wait() 184 alm_irq = rtcss_read(davinci_rtc, PRTCSS_RTC_CCTRL) & in davinci_rtc_interrupt() 187 tmr_irq = rtcss_read(davinci_rtc, PRTCSS_RTC_CTRL) & in davinci_rtc_interrupt() 193 rtc_cctrl = rtcss_read(davinci_rtc, PRTCSS_RTC_CCTRL); in davinci_rtc_interrupt() 198 rtc_ctrl = rtcss_read(davinci_rtc, PRTCSS_RTC_CTRL); in davinci_rtc_interrupt() 223 rtc_ctrl = rtcss_read(davinci_rtc, PRTCSS_RTC_CTRL); in davinci_rtc_ioctl() 296 tm->tm_sec = bcd2bin(rtcss_read(davinci_rtc, PRTCSS_RTC_SEC)); in davinci_rtc_read_time() 299 tm->tm_min = bcd2bin(rtcss_read(davinci_rtc, PRTCSS_RTC_MIN)); in davinci_rtc_read_time() 302 tm->tm_hour = bcd2bin(rtcss_read(davinci_rtc, PRTCSS_RTC_HOUR)); in davinci_rtc_read_time() [all …]
|