Home
last modified time | relevance | path

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

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