Lines Matching refs:g_pm_tick_cur
45 _attribute_data_retention_sec_ unsigned int g_pm_tick_cur; variable
114 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k + 1 - pmcd.ref_tick_32k) / 32 * g_pm_t… in pm_stimer_recover()
116 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k + 1 - pmcd.ref_tick_32k) * g_pm_tick_3… in pm_stimer_recover()
120 reg_system_tick = g_pm_tick_cur + 1; in pm_stimer_recover()
128 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k - pmcd.ref_tick_32k) / 32 * g_pm_tick_… in pm_stimer_recover()
130 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k - pmcd.ref_tick_32k) * g_pm_tick_32k_c… in pm_stimer_recover()
134 reg_system_tick = g_pm_tick_cur; in pm_stimer_recover()
464 g_pm_tick_cur = stimer_get_tick(); in pm_sleep_wakeup()
467 …g_pm_tick_cur = stimer_get_tick() + 37 * SYSTEM_TIMER_TICK_1US; //cpu_get_32k_tick will cost 30~4… in pm_sleep_wakeup()
473 pm_update_32k_rc_sleep_tick (g_pm_tick_32k_cur, g_pm_tick_cur); in pm_sleep_wakeup()
621 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k + 1 - pmcd.ref_tick_32k) / 32 * g_pm_t… in pm_sleep_wakeup()
623 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k + 1 - pmcd.ref_tick_32k) * g_pm_tick_3… in pm_sleep_wakeup()
627 reg_system_tick = g_pm_tick_cur + 1; in pm_sleep_wakeup()
637 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k - pmcd.ref_tick_32k) / 32 * g_pm_tick_… in pm_sleep_wakeup()
639 …g_pm_tick_cur = pmcd.ref_tick + (unsigned int)(now_tick_32k - pmcd.ref_tick_32k) * g_pm_tick_32k_c… in pm_sleep_wakeup()
644 reg_system_tick = g_pm_tick_cur + 20 * SYSTEM_TIMER_TICK_1US; in pm_sleep_wakeup()