Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-stm32.c438 int next_month; in stm32_rtc_valid_alrm() local
453 next_month = now.tm_mon + 1; in stm32_rtc_valid_alrm()
454 if (next_month == 12) { in stm32_rtc_valid_alrm()
455 next_month = 0; in stm32_rtc_valid_alrm()
464 + min(rtc_month_days(next_month, next_year), now.tm_mday); in stm32_rtc_valid_alrm()