Searched refs:max_date (Results 1 – 1 of 1) sorted by relevance
393 struct rtc_time max_date = now; in cmos_validate_alarm() local398 if (max_date.tm_mon == 11) { in cmos_validate_alarm()399 max_date.tm_mon = 0; in cmos_validate_alarm()400 max_date.tm_year += 1; in cmos_validate_alarm()402 max_date.tm_mon += 1; in cmos_validate_alarm()404 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm()405 if (max_date.tm_mday > max_mday) in cmos_validate_alarm()406 max_date.tm_mday = max_mday; in cmos_validate_alarm()408 t_max_date = rtc_tm_to_time64(&max_date); in cmos_validate_alarm()417 struct rtc_time max_date = now; in cmos_validate_alarm() local[all …]