Lines Matching refs:alarm_hour
315 int32_t alarm_sec, alarm_min, alarm_hour, cur_hour, cur_min, cur_sec; in get_next_alarm() local
322 alarm_hour = rtc_from_bcd(s, s->cmos_data[RTC_HOURS_ALARM]); in get_next_alarm()
323 alarm_hour = alarm_hour == -1 ? -1 : convert_hour(s, alarm_hour); in get_next_alarm()
330 if (alarm_hour == -1) { in get_next_alarm()
331 alarm_hour = cur_hour; in get_next_alarm()
344 alarm_hour++; in get_next_alarm()
350 alarm_hour++; in get_next_alarm()
353 alarm_hour++; in get_next_alarm()
355 } else if (cur_hour == alarm_hour) { in get_next_alarm()
394 alarm_hour++; in get_next_alarm()
396 alarm_hour %= HOUR_PER_DAY; in get_next_alarm()
398 hour = alarm_hour - cur_hour; in get_next_alarm()