Searched refs:rem_ms (Results 1 – 3 of 3) sorted by relevance
53 uint32_t rem_ms = k_ticks_to_ms_floor32( in sub_remaining() local56 return rem_ms / MSEC_PER_SEC; in sub_remaining()
682 uint32_t rem_ms, rem_ticks, exp_ticks; in ZTEST_USER() local693 rem_ms = k_timer_remaining_get(&remain_timer); in ZTEST_USER()705 zassert_true(rem_ms <= (DURATION / 2) + k_ticks_to_ms_floor64(1), in ZTEST_USER()
859 uint32_t rem_ms = MSEC_PER_SEC - offset_ms; in sync_prep_write() local861 if (rem_ms < 5) { in sync_prep_write()863 rem_ms += MSEC_PER_SEC; in sync_prep_write()869 k_timer_start(&data->sync_timer, K_MSEC(rem_ms), K_NO_WAIT); in sync_prep_write()870 LOG_INF("sync %u in %u ms after %u", COUNTER_GET(when), rem_ms, syncclock); in sync_prep_write()