Lines Matching full:alarm

83 /* alarm lock definition for SPRD_RTC_SPG_UPD register */
99 /* timeout of synchronizing time and alarm registers (us) */
114 * alarm and auxiliary alarm. The time group registers are used to set RTC time,
115 * the normal alarm registers are used to set normal alarm, and the auxiliary
116 * alarm registers are used to set auxiliary alarm. Both alarm event and
117 * auxiliary alarm event can wake up system from deep sleep, but only alarm
283 * Since the time and normal alarm registers are put in always-power-on in sprd_rtc_set_secs()
294 dev_err(rtc->dev, "set time/alarm values timeout\n"); in sprd_rtc_set_secs()
335 /* clear the auxiliary alarm interrupt status */ in sprd_rtc_set_aux_alarm()
419 * alarm already set in RTC hardware, and we always read the normal in sprd_rtc_read_alarm()
420 * alarm at this time. in sprd_rtc_read_alarm()
422 * Or if aie_timer is enabled, we should get the normal alarm time. in sprd_rtc_read_alarm()
423 * Otherwise we should get auxiliary alarm time. in sprd_rtc_read_alarm()
457 * We have 2 groups alarms: normal alarm and auxiliary alarm. Since in sprd_rtc_set_alarm()
458 * both normal alarm event and auxiliary alarm event can wake up system in sprd_rtc_set_alarm()
459 * from deep sleep, but only alarm event can power up system from power in sprd_rtc_set_alarm()
461 * updating auxiliary alarm registers. Thus we usually set auxiliary in sprd_rtc_set_alarm()
462 * alarm when wake up system from deep sleep, and for other scenarios, in sprd_rtc_set_alarm()
463 * we should set normal alarm with polling status. in sprd_rtc_set_alarm()
465 * So here we check if the alarm time is set by aie_timer, if yes, we in sprd_rtc_set_alarm()
466 * should set normal alarm, if not, we should set auxiliary alarm which in sprd_rtc_set_alarm()
472 /* clear the alarm interrupt status firstly */ in sprd_rtc_set_alarm()
490 /* unlock the alarm to enable the alarm function. */ in sprd_rtc_set_alarm()
498 * Lock the alarm function in case fake alarm event will power in sprd_rtc_set_alarm()
581 * supplied by VDDRTC, so we should check if we need enable the alarm in sprd_rtc_check_alarm_int()
585 * always-power-on region, that means we have set one alarm last time, in sprd_rtc_check_alarm_int()
586 * so we should enable the alarm interrupt to help RTC core to see if in sprd_rtc_check_alarm_int()
587 * there is an alarm already set in RTC hardware. in sprd_rtc_check_alarm_int()
627 /* check if we need set the alarm interrupt */ in sprd_rtc_probe()
630 dev_err(&pdev->dev, "failed to check RTC alarm interrupt\n"); in sprd_rtc_probe()