Searched refs:tick (Results 1 – 2 of 2) sorted by relevance
898 uint32_t *tick) in sl_sleeptimer_ms32_to_tick() argument901 *tick = (uint32_t)((((uint64_t)time_ms * timer_frequency) + 999) / 1000u); in sl_sleeptimer_ms32_to_tick()920 uint32_t sl_sleeptimer_tick_to_ms(uint32_t tick) in sl_sleeptimer_tick_to_ms() argument924 return (uint32_t)(((uint64_t)tick * (uint64_t)1000u) >> div_to_log2(timer_frequency)); in sl_sleeptimer_tick_to_ms()926 return (uint32_t)(((uint64_t)tick * (uint64_t)1000u) / timer_frequency); in sl_sleeptimer_tick_to_ms()936 sl_status_t sl_sleeptimer_tick64_to_ms(uint64_t tick, in sl_sleeptimer_tick64_to_ms() argument939 if ((tick <= UINT64_MAX / 1000) in sl_sleeptimer_tick64_to_ms()942 *ms = (uint64_t)(((uint64_t)tick * (uint64_t)1000u) >> div_to_log2(timer_frequency)); in sl_sleeptimer_tick64_to_ms()945 *ms = (uint64_t)(((uint64_t)tick * (uint64_t)1000u) / timer_frequency); in sl_sleeptimer_tick64_to_ms()
540 uint32_t *tick);559 uint32_t sl_sleeptimer_tick_to_ms(uint32_t tick);571 sl_status_t sl_sleeptimer_tick64_to_ms(uint64_t tick,