/Zephyr-latest/tests/bluetooth/controller/ctrl_sw_privacy_unit/src/ |
D | main.c | 46 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/ |
D | test_sync.c | 52 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/ |
D | timeutil.c | 86 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/ |
D | timeutil.h | 170 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/ |
D | qemu_cortex_a53_defconfig | 16 # Avoid timing skew in tests
|
D | qemu_cortex_a53_qemu_cortex_a53_xip_defconfig | 16 # Avoid timing skew in tests
|
/Zephyr-latest/samples/boards/nordic/clock_skew/src/ |
D | main.c | 159 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/ |
D | dmic.h | 252 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/ |
D | README.rst | 4 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/ |
D | Kconfig | 25 bool "Timer allowed to skew uptime clock during idle"
|
/Zephyr-latest/doc/kernel/ |
D | timeutil.rst | 99 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/ |
D | clocks.rst | 178 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/ |
D | release-notes-3.3.rst | 1993 - new property: ``skew-delay``
|