Lines Matching refs:aie_timer
399 alarm->enabled = rtc->aie_timer.enabled; in rtc_read_alarm()
400 alarm->time = rtc_ktime_to_tm(rtc->aie_timer.node.expires); in rtc_read_alarm()
470 if (rtc->aie_timer.enabled) in rtc_set_alarm()
471 rtc_timer_remove(rtc, &rtc->aie_timer); in rtc_set_alarm()
481 rtc->aie_timer.node.expires = alarm_time; in rtc_set_alarm()
482 rtc->aie_timer.period = 0; in rtc_set_alarm()
484 err = rtc_timer_enqueue(rtc, &rtc->aie_timer); in rtc_set_alarm()
510 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); in rtc_initialize_alarm()
511 rtc->aie_timer.period = 0; in rtc_initialize_alarm()
515 rtc->aie_timer.node.expires)) { in rtc_initialize_alarm()
516 rtc->aie_timer.enabled = 1; in rtc_initialize_alarm()
517 timerqueue_add(&rtc->timerqueue, &rtc->aie_timer.node); in rtc_initialize_alarm()
518 trace_rtc_timer_enqueue(&rtc->aie_timer); in rtc_initialize_alarm()
533 if (rtc->aie_timer.enabled != enabled) { in rtc_alarm_irq_enable()
535 err = rtc_timer_enqueue(rtc, &rtc->aie_timer); in rtc_alarm_irq_enable()
537 rtc_timer_remove(rtc, &rtc->aie_timer); in rtc_alarm_irq_enable()