Searched refs:div_to_log2 (Results 1 – 1 of 1) sorted by relevance
135 __STATIC_INLINE uint32_t div_to_log2(uint32_t div);1225 time_ms = (uint32_t)(((uint64_t)tick * (uint64_t)1000u) >> div_to_log2(timer_frequency)); in sl_sleeptimer_tick_to_ms()1244 *ms = (tick * (uint64_t)1000u) >> div_to_log2(timer_frequency); in sl_sleeptimer_tick64_to_ms()1684 __STATIC_INLINE uint32_t div_to_log2(uint32_t div) in div_to_log2() function