Searched refs:max_date (Results 1 – 1 of 1) sorted by relevance
389 struct rtc_time max_date = now; in cmos_validate_alarm() local394 if (max_date.tm_mon == 11) { in cmos_validate_alarm()395 max_date.tm_mon = 0; in cmos_validate_alarm()396 max_date.tm_year += 1; in cmos_validate_alarm()398 max_date.tm_mon += 1; in cmos_validate_alarm()400 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm()401 if (max_date.tm_mday > max_mday) in cmos_validate_alarm()402 max_date.tm_mday = max_mday; in cmos_validate_alarm()404 t_max_date = rtc_tm_to_time64(&max_date); in cmos_validate_alarm()413 struct rtc_time max_date = now; in cmos_validate_alarm() local[all …]