Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/rtc/
Drtc-da9052.c102 unsigned long alm_time; in da9052_set_alarm() local
106 ret = rtc_tm_to_time(rtc_tm, &alm_time); in da9052_set_alarm()
111 alm_time += 60 - rtc_tm->tm_sec; in da9052_set_alarm()
112 rtc_time_to_tm(alm_time, rtc_tm); in da9052_set_alarm()
Drtc-fsl-ftm-alarm.c210 unsigned long now, alm_time, cycle; in ftm_rtc_set_alarm() local
215 rtc_tm_to_time(&alm->time, &alm_time); in ftm_rtc_set_alarm()
218 cycle = (alm_time - now) * rtc->alarm_freq; in ftm_rtc_set_alarm()