Home
last modified time | relevance | path

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

/arch/m68k/hp300/
Dconfig.c150 static inline unsigned char hp300_rtc_read(unsigned char reg) in hp300_rtc_read() function
206 t->tm_sec = hp300_rtc_read(RTC_REG_SEC1) * 10 + in hp300_hwclk()
207 hp300_rtc_read(RTC_REG_SEC2); in hp300_hwclk()
208 t->tm_min = hp300_rtc_read(RTC_REG_MIN1) * 10 + in hp300_hwclk()
209 hp300_rtc_read(RTC_REG_MIN2); in hp300_hwclk()
210 t->tm_hour = (hp300_rtc_read(RTC_REG_HOUR1) & 3) * 10 + in hp300_hwclk()
211 hp300_rtc_read(RTC_REG_HOUR2); in hp300_hwclk()
213 t->tm_mday = hp300_rtc_read(RTC_REG_DAY1) * 10 + in hp300_hwclk()
214 hp300_rtc_read(RTC_REG_DAY2); in hp300_hwclk()
215 t->tm_mon = hp300_rtc_read(RTC_REG_MON1) * 10 + in hp300_hwclk()
[all …]