Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-rk808.c82 time64_t extra_days = nov2dec_transitions(tm); in gregorian_to_rockchip() local
84 rtc_time64_to_tm(time - extra_days * 86400, tm); in gregorian_to_rockchip()
87 if (nov2dec_transitions(tm) < extra_days) { in gregorian_to_rockchip()
91 rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); in gregorian_to_rockchip()