Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/rtc/
Drtc-cmos.c943 time64_t t_now; in cmos_aie_poweroff() local
959 t_now = rtc_tm_to_time64(&now); in cmos_aie_poweroff()
970 if (cmos->alarm_expires == t_now + 1) { in cmos_aie_poweroff()
974 rtc_time64_to_tm(t_now - 1, &alarm.time); in cmos_aie_poweroff()
977 } else if (cmos->alarm_expires > t_now + 1) { in cmos_aie_poweroff()
1042 time64_t t_now; in cmos_check_wkalrm() local
1052 t_now = rtc_tm_to_time64(&now); in cmos_check_wkalrm()
1058 if (t_now >= cmos->alarm_expires && cmos_use_acpi_alarm()) { in cmos_check_wkalrm()
Dinterface.c225 time64_t t_now, t_alm; in __rtc_read_alarm() local
335 t_now = rtc_tm_to_time64(&now); in __rtc_read_alarm()
337 if (t_now < t_alm) in __rtc_read_alarm()