Home
last modified time | relevance | path

Searched refs:timeutil_sync_state (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/sys/
Dtimeutil.h139 struct timeutil_sync_state { struct
187 int timeutil_sync_state_update(struct timeutil_sync_state *tsp,
214 int timeutil_sync_state_set_skew(struct timeutil_sync_state *tsp, float skew,
230 float timeutil_sync_estimate_skew(const struct timeutil_sync_state *tsp);
254 int timeutil_sync_ref_from_local(const struct timeutil_sync_state *tsp,
278 int timeutil_sync_local_from_ref(const struct timeutil_sync_state *tsp,
/Zephyr-Core-3.5.0/lib/os/
Dtimeutil.c75 int timeutil_sync_state_update(struct timeutil_sync_state *tsp, in timeutil_sync_state_update()
97 int timeutil_sync_state_set_skew(struct timeutil_sync_state *tsp, float skew, in timeutil_sync_state_set_skew()
114 float timeutil_sync_estimate_skew(const struct timeutil_sync_state *tsp) in timeutil_sync_estimate_skew()
130 int timeutil_sync_ref_from_local(const struct timeutil_sync_state *tsp, in timeutil_sync_ref_from_local()
158 int timeutil_sync_local_from_ref(const struct timeutil_sync_state *tsp, in timeutil_sync_local_from_ref()
/Zephyr-Core-3.5.0/tests/unit/timeutil/
Dtest_sync.c45 struct timeutil_sync_state ss = { 0 }; in test_state_update()
102 struct timeutil_sync_state ss = { in test_state_set_skew()
156 struct timeutil_sync_state ss = { in test_estimate_skew()
218 struct timeutil_sync_state ss = { in tref_from_local()
295 struct timeutil_sync_state ss = { in tlocal_from_ref()
381 struct timeutil_sync_state ss = { in test_large_linearity()
/Zephyr-Core-3.5.0/samples/boards/nrf/clock_skew/src/
Dmain.c21 static struct timeutil_sync_state sync_state;
167 struct timeutil_sync_state st2 = sync_state; in sync_work_handler()
/Zephyr-Core-3.5.0/doc/kernel/
Dtimeutil.rst98 * :c:struct:`timeutil_sync_state` provides storage for an initial instant, a