Home
last modified time | relevance | path

Searched refs:stimer_get_tick (Results 1 – 7 of 7) sorted by relevance

/hal_telink-latest/tlsr9/drivers/B91/
Dstimer.c36 unsigned long t = stimer_get_tick(); in delay_us()
49 unsigned long t = stimer_get_tick(); in delay_ms()
Dstimer.h157 static inline unsigned int stimer_get_tick(void) in stimer_get_tick() function
171 return ((unsigned int)(stimer_get_tick() - ref) > us * SYSTEM_TIMER_TICK_1US); in clock_time_exceed()
Dsys.c121 …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()
Dtrng.c101 return (unsigned int)( result ^ stimer_get_tick() ); in trng_rand()
Dpm.c440 …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()
/hal_telink-latest/tlsr9/drivers/B91/compatibility_pack/
Dcmpt.h113 #define clock_time stimer_get_tick
/hal_telink-latest/tlsr9/ble/vendor/controller/
Db91_bt_init.c125 unsigned int sys_tick = stimer_get_tick(); in b91_bt_zephyr_wakeup()