Lines Matching refs:base
50 zassert_equal(ss.base.ref, 0, in test_state_update()
59 zassert_equal(ss.base.ref, 1, in test_state_update()
69 zassert_equal(ss.base.ref, 1, in test_state_update()
71 zassert_equal(ss.base.local, 0, in test_state_update()
87 zassert_equal(ss.base.ref, 1, in test_state_update()
89 zassert_equal(ss.base.local, 0, in test_state_update()
130 zassert_equal(ss.base.ref, si.ref, in test_state_set_skew()
132 zassert_equal(ss.base.local, si.local, in test_state_set_skew()
144 zassert_equal(ss.base.ref, si.ref, in test_state_set_skew()
146 zassert_equal(ss.base.local, si.local, in test_state_set_skew()
185 zassert_equal(ss.base.ref, si0.ref, in test_estimate_skew()
187 zassert_equal(ss.base.local, si0.local, in test_estimate_skew()
238 rv = timeutil_sync_ref_from_local(&ss, ss.base.local, NULL); in tref_from_local()
242 rv = timeutil_sync_ref_from_local(&ss, ss.base.local, &ref); in tref_from_local()
245 zassert_equal(ref, ss.base.ref, in tref_from_local()
254 rv = timeutil_sync_ref_from_local(&ss, ss.base.local, &ref); in tref_from_local()
257 zassert_equal(ref, ss.base.ref, in tref_from_local()
260 rv = timeutil_sync_ref_from_local(&ss, ss.base.local in tref_from_local()
264 zassert_equal(ref, ss.base.ref + scale_ref(2, cfg), in tref_from_local()
267 rv = timeutil_sync_ref_from_local(&ss, (int64_t)ss.base.local in tref_from_local()
278 rv = timeutil_sync_ref_from_local(&ss, ss.base.local in tref_from_local()
282 zassert_equal(ref, ss.base.ref + cfg->ref_Hz, in tref_from_local()
315 rv = timeutil_sync_local_from_ref(&ss, ss.base.ref, NULL); in tlocal_from_ref()
319 rv = timeutil_sync_local_from_ref(&ss, ss.base.ref, &local); in tlocal_from_ref()
322 zassert_equal(local, ss.base.local, in tlocal_from_ref()
325 rv = timeutil_sync_local_from_ref(&ss, ss.base.ref in tlocal_from_ref()
329 zassert_equal(local, ss.base.local + scale_local(2, cfg), in tlocal_from_ref()
332 rv = timeutil_sync_local_from_ref(&ss, ss.base.ref in tlocal_from_ref()
346 rv = timeutil_sync_local_from_ref(&ss, ss.base.ref in tlocal_from_ref()
350 zassert_equal(local, ss.base.local + scale_local(1, cfg), in tlocal_from_ref()