Searched refs:now_us (Results 1 – 3 of 3) sorted by relevance
225 int64_t now_us = k_ticks_to_us_floor64(sys_clock_tick_get()); in ZTEST() local226 uint64_t target_us = now_us + 5678; in ZTEST()244 (uint32_t)now_us, (uint32_t)target_us, (uint32_t)evt_uptime_us); in ZTEST()247 now_us = k_ticks_to_us_floor64(sys_clock_tick_get()); in ZTEST()248 t = Z_TIMEOUT_TICKS(Z_TICK_ABS(K_USEC(now_us).ticks)); in ZTEST()257 (uint32_t)now_us, (uint32_t)evt_uptime_us); in ZTEST()
1177 uint32_t now_us = start_us; in radio_tmr_isr_set() local1182 start_us = (now_us << 1) - start_us; in radio_tmr_isr_set()1192 now_us = EVENT_TIMER->CC[HAL_EVENT_TIMER_SAMPLE_CC_OFFSET]; in radio_tmr_isr_set()1193 } while ((now_us > start_us) && in radio_tmr_isr_set()1652 uint32_t now_us = start_us; in radio_tmr_start_us() local1658 start_us = (now_us << 1) - start_us; in radio_tmr_start_us()1683 now_us = EVENT_TIMER->CC[HAL_EVENT_TIMER_SAMPLE_CC_OFFSET]; in radio_tmr_start_us()1684 } while ((now_us > start_us) && in radio_tmr_start_us()
278 uint64_t now_us = otPlatTimeGet(); in convert_32bit_us_wrapped_to_64bit_ns() local279 uint32_t now_us_wrapped = (uint32_t)now_us; in convert_32bit_us_wrapped_to_64bit_ns()293 result = now_us + UINT32_MAX + 1; in convert_32bit_us_wrapped_to_64bit_ns()301 result = (now_us & (~(uint64_t)UINT32_MAX)) | target_time_us_wrapped; in convert_32bit_us_wrapped_to_64bit_ns()313 result = (now_us & (~(uint64_t)UINT32_MAX)) | target_time_us_wrapped; in convert_32bit_us_wrapped_to_64bit_ns()319 result = now_us - UINT32_MAX - 1; in convert_32bit_us_wrapped_to_64bit_ns()