Home
last modified time | relevance | path

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

/openbmc/linux/arch/m68k/hp300/
H A Dconfig.c223 hp300_rtc_write(RTC_REG_SEC1, t->tm_sec / 10); in hp300_hwclk()
224 hp300_rtc_write(RTC_REG_SEC2, t->tm_sec % 10); in hp300_hwclk()
225 hp300_rtc_write(RTC_REG_MIN1, t->tm_min / 10); in hp300_hwclk()
226 hp300_rtc_write(RTC_REG_MIN2, t->tm_min % 10); in hp300_hwclk()
227 hp300_rtc_write(RTC_REG_HOUR1, in hp300_hwclk()
229 hp300_rtc_write(RTC_REG_HOUR2, t->tm_hour % 10); in hp300_hwclk()
230 hp300_rtc_write(RTC_REG_DAY1, t->tm_mday / 10); in hp300_hwclk()
231 hp300_rtc_write(RTC_REG_DAY2, t->tm_mday % 10); in hp300_hwclk()
232 hp300_rtc_write(RTC_REG_MON1, (t->tm_mon + 1) / 10); in hp300_hwclk()
236 hp300_rtc_write(RTC_REG_YEAR1, t->tm_year / 10); in hp300_hwclk()
[all …]