Lines Matching refs:alarms
38 struct rtc_emul_alarm *alarms; member
186 alarm = &data->alarms[i]; in rtc_emul_test_alarms()
356 data->alarms[id].mask = mask; in rtc_emul_alarm_set_time()
359 data->alarms[id].datetime = *timeptr; in rtc_emul_alarm_set_time()
377 *timeptr = data->alarms[id].datetime; in rtc_emul_alarm_get_time()
378 *mask = data->alarms[id].mask; in rtc_emul_alarm_get_time()
395 ret = (data->alarms[id].pending == true) ? 1 : 0; in rtc_emul_alarm_is_pending()
397 data->alarms[id].pending = false; in rtc_emul_alarm_is_pending()
414 data->alarms[id].callback = callback; in rtc_emul_alarm_set_callback()
415 data->alarms[id].user_data = user_data; in rtc_emul_alarm_set_callback()
500 .alarms = rtc_emul_alarms_##id, \