Lines Matching refs:now
74 uint64_t now = z_nrf_rtc_timer_read(); in timeout_handler() local
75 uint64_t diff = (now - expire_time); in timeout_handler()
80 now, data->target_time, expire_time); in timeout_handler()
149 uint64_t now = z_nrf_rtc_timer_read(); in ZTEST() local
152 .target_time = now + t, in ZTEST()
213 int64_t now = sys_clock_tick_get(); in sched_handler() local
215 z_nrf_rtc_timer_get_ticks(Z_TIMEOUT_TICKS(Z_TICK_ABS(now))); in sched_handler()
219 k_ticks_to_us_floor64(now - (rtc_ticks_now - expire_time)); in sched_handler()
320 uint64_t now = z_nrf_rtc_timer_read(); in ZTEST() local
322 .target_time = now + 5, in ZTEST()
331 z_nrf_rtc_timer_set(chan, now + 2, timeout_handler, &test_data); in ZTEST()
339 z_nrf_rtc_timer_set(chan, now + 5, timeout_handler, &test_data); in ZTEST()
353 uint64_t now = z_nrf_rtc_timer_read(); in overflow_sched_handler() local
356 *evt_uptime = now - expire_time; in overflow_sched_handler()
372 uint64_t now; in ZTEST() local
382 now = z_nrf_rtc_timer_read(); in ZTEST()
383 target_time = now + 5; in ZTEST()
391 now, target_time, evt_uptime); in ZTEST()
397 now = z_nrf_rtc_timer_read(); in ZTEST()
398 target_time = now; in ZTEST()
409 now, target_time, evt_uptime); in ZTEST()
413 now = z_nrf_rtc_timer_read(); in ZTEST()
414 target_time = now - 2 * NRF_RTC_TIMER_MAX_SCHEDULE_SPAN; in ZTEST()
425 now, target_time, evt_uptime); in ZTEST()