Searched refs:stimer_get_tick (Results 1 – 7 of 7) sorted by relevance
36 unsigned long t = stimer_get_tick(); in delay_us()49 unsigned long t = stimer_get_tick(); in delay_ms()
157 static inline unsigned int stimer_get_tick(void) in stimer_get_tick() function171 return ((unsigned int)(stimer_get_tick() - ref) > us * SYSTEM_TIMER_TICK_1US); in clock_time_exceed()
121 …pm_sleep_wakeup(DEEPSLEEP_MODE, PM_WAKEUP_TIMER, PM_TICK_STIMER_16M, (stimer_get_tick() + 100*SYST… in sys_init()130 …pm_sleep_wakeup(DEEPSLEEP_MODE, PM_WAKEUP_TIMER, PM_TICK_STIMER_16M, (stimer_get_tick() + 100*SYST… in sys_init()
101 return (unsigned int)( result ^ stimer_get_tick() ); in trng_rand()
440 …an = (unsigned int)(wakeup_tick - ((wakeup_tick_type == PM_TICK_STIMER_16M)?stimer_get_tick ():0)); in pm_sleep_wakeup()446 unsigned int t = stimer_get_tick (); in pm_sleep_wakeup()451 } while ( ((unsigned int)stimer_get_tick () - t < span) && !st); in pm_sleep_wakeup()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()656 while ((unsigned int)(stimer_get_tick () - wakeup_tick) > BIT(30)); in pm_sleep_wakeup()
113 #define clock_time stimer_get_tick
125 unsigned int sys_tick = stimer_get_tick(); in b91_bt_zephyr_wakeup()