Home
last modified time | relevance | path

Searched refs:skew (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/tests/bluetooth/controller/ctrl_sw_privacy_unit/src/
Dmain.c46 void helper_prpa_add(int skew) in helper_prpa_add() argument
59 ex_pos = (1 + skew) % CONFIG_BT_CTLR_RPA_CACHE_SIZE; in helper_prpa_add()
64 ex_pos = (2 + skew) % CONFIG_BT_CTLR_RPA_CACHE_SIZE; in helper_prpa_add()
69 ex_pos = (3 + skew) % CONFIG_BT_CTLR_RPA_CACHE_SIZE; in helper_prpa_add()
75 ex_pos = (4 + skew) % CONFIG_BT_CTLR_RPA_CACHE_SIZE; in helper_prpa_add()
81 ex_pos = (1 + skew) % CONFIG_BT_CTLR_RPA_CACHE_SIZE; in helper_prpa_add()
89 void helper_trpa_add(int skew) in helper_trpa_add() argument
102 ex_pos = (1 + skew) % CONFIG_BT_CTLR_TRPA_CACHE_SIZE; in helper_trpa_add()
107 ex_pos = (2 + skew) % CONFIG_BT_CTLR_TRPA_CACHE_SIZE; in helper_trpa_add()
112 ex_pos = (3 + skew) % CONFIG_BT_CTLR_TRPA_CACHE_SIZE; in helper_trpa_add()
[all …]
/Zephyr-latest/tests/unit/timeutil/
Dtest_sync.c52 zassert_equal(ss.skew, 0, in test_state_update()
63 zassert_equal(ss.skew, 1.0, in test_state_update()
105 float skew = 0.99; in test_state_set_skew() local
110 zassert_equal(ss.skew, 1.0, in test_state_set_skew()
116 zassert_equal(ss.skew, 1.0, in test_state_set_skew()
122 zassert_equal(ss.skew, 1.0, in test_state_set_skew()
125 rv = timeutil_sync_state_set_skew(&ss, skew, NULL); in test_state_set_skew()
128 zassert_equal(ss.skew, skew, in test_state_set_skew()
135 skew = 1.01; in test_state_set_skew()
139 rv = timeutil_sync_state_set_skew(&ss, skew, &si); in test_state_set_skew()
[all …]
/Zephyr-latest/lib/utils/
Dtimeutil.c86 tsp->skew = 1.0f; 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() argument
102 if (skew > 0) { in timeutil_sync_state_set_skew()
103 tsp->skew = skew; in timeutil_sync_state_set_skew()
135 if ((tsp->skew > 0) && (tsp->base.ref > 0) && (refp != NULL)) { in timeutil_sync_ref_from_local()
141 if (tsp->skew != 1.0f) { in timeutil_sync_ref_from_local()
142 local_delta *= (double)tsp->skew; in timeutil_sync_ref_from_local()
151 rv = (tsp->skew != 1.0f) ? 1 : 0; in timeutil_sync_ref_from_local()
163 if ((tsp->skew > 0) && (tsp->base.ref > 0) && (localp != NULL)) { in timeutil_sync_local_from_ref()
171 if (tsp->skew != 1.0f) { in timeutil_sync_local_from_ref()
[all …]
/Zephyr-latest/include/zephyr/sys/
Dtimeutil.h170 float skew; member
217 int timeutil_sync_state_set_skew(struct timeutil_sync_state *tsp, float skew,
302 int32_t timeutil_sync_skew_to_ppb(float skew);
/Zephyr-latest/boards/qemu/cortex_a53/
Dqemu_cortex_a53_defconfig16 # Avoid timing skew in tests
Dqemu_cortex_a53_qemu_cortex_a53_xip_defconfig16 # Avoid timing skew in tests
/Zephyr-latest/samples/boards/nordic/clock_skew/src/
Dmain.c159 float skew = timeutil_sync_estimate_skew(&sync_state); in sync_work_handler() local
169 (void)timeutil_sync_state_set_skew(&st2, skew, NULL); in sync_work_handler()
187 printf("Skew %f ; err %d ppb\n", (double)skew, in sync_work_handler()
188 timeutil_sync_skew_to_ppb(skew)); in sync_work_handler()
/Zephyr-latest/include/zephyr/audio/
Ddmic.h252 static inline uint32_t dmic_build_clk_skew_map(uint8_t pdm, uint8_t skew) in dmic_build_clk_skew_map() argument
254 return ((skew & BIT_MASK(4)) << ((pdm & BIT_MASK(3)) * 4U)); in dmic_build_clk_skew_map()
/Zephyr-latest/samples/boards/nordic/clock_skew/
DREADME.rst4 Measure the skew between the high-frequency and low-frequency clocks.
10 skew between HFCLK (used for the CPU) and LFCLK (used for system time).
11 It also shows how to use this skew to correct durations measured in the
/Zephyr-latest/drivers/timer/
DKconfig25 bool "Timer allowed to skew uptime clock during idle"
/Zephyr-latest/doc/kernel/
Dtimeutil.rst99 recently received second observation, and a skew that can adjust for
103 to another taking into account skew that can be estimated from the two
/Zephyr-latest/doc/kernel/services/timing/
Dclocks.rst178 be correct over time and subject to minimal skew vs. other counters
190 fractional tick gets "reset" incorrectly and causes clock skew.
/Zephyr-latest/doc/releases/
Drelease-notes-3.3.rst1993 - new property: ``skew-delay``