Home
last modified time | relevance | path

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

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