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()
308 /* clear the auxiliary alarm interrupt status */ in sprd_rtc_set_aux_alarm()
391 * The RTC core checks to see if there is an alarm already set in RTC in sprd_rtc_read_alarm()
392 * hardware, and we always read the normal alarm at this time. in sprd_rtc_read_alarm()
423 * We have 2 groups alarms: normal alarm and auxiliary alarm. Since in sprd_rtc_set_alarm()
424 * both normal alarm event and auxiliary alarm event can wake up system in sprd_rtc_set_alarm()
425 * from deep sleep, but only alarm event can power up system from power in sprd_rtc_set_alarm()
427 * updating auxiliary alarm registers. Thus we usually set auxiliary in sprd_rtc_set_alarm()
428 * alarm when wake up system from deep sleep, and for other scenarios, in sprd_rtc_set_alarm()
429 * we should set normal alarm with polling status. in sprd_rtc_set_alarm()
431 * So here we check if the alarm time is set by aie_timer, if yes, we in sprd_rtc_set_alarm()
432 * should set normal alarm, if not, we should set auxiliary alarm which in sprd_rtc_set_alarm()
438 /* clear the alarm interrupt status firstly */ in sprd_rtc_set_alarm()
456 /* unlock the alarm to enable the alarm function. */ in sprd_rtc_set_alarm()
464 * Lock the alarm function in case fake alarm event will power in sprd_rtc_set_alarm()
547 * supplied by VDDRTC, so we should check if we need enable the alarm in sprd_rtc_check_alarm_int()
551 * always-power-on region, that means we have set one alarm last time, in sprd_rtc_check_alarm_int()
552 * so we should enable the alarm interrupt to help RTC core to see if in sprd_rtc_check_alarm_int()
553 * there is an alarm already set in RTC hardware. in sprd_rtc_check_alarm_int()
593 /* check if we need set the alarm interrupt */ in sprd_rtc_probe()
596 dev_err(&pdev->dev, "failed to check RTC alarm interrupt\n"); in sprd_rtc_probe()