Lines Matching defs:alm
69 struct rtc_wkalrm alm;
73 status = rtc_read_time(rtc, &alm.time);
78 rtc_tm_to_time(&alm.time, &now);
80 memset(&alm, 0, sizeof alm);
81 rtc_time_to_tm(now + TEST_SUSPEND_SECONDS, &alm.time);
82 alm.enabled = true;
84 status = rtc_set_alarm(rtc, &alm);
107 alm.enabled = false;
108 rtc_set_alarm(rtc, &alm);