Searched refs:local_Hz (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/lib/utils/ |
D | timeutil.c | 124 rv = ref_delta * cfg->local_Hz / local_delta / cfg->ref_Hz; in timeutil_sync_estimate_skew() 144 int64_t ref_delta = local_delta * cfg->ref_Hz / cfg->local_Hz; in timeutil_sync_ref_from_local() 169 int64_t local_delta = (ref_delta * cfg->local_Hz) / cfg->ref_Hz; in timeutil_sync_local_from_ref()
|
/Zephyr-latest/tests/unit/timeutil/ |
D | test_sync.c | 15 .local_Hz = 32768, 20 .local_Hz = 100, 32 return (uint64_t)factor * (uint64_t)cfg->local_Hz; in scale_local() 38 return (int64_t)factor * (int64_t)cfg->local_Hz; in scale_local_signed() 164 .local = si0.local + cfg1.local_Hz, in test_estimate_skew() 375 .local_Hz = 1000, in test_large_linearity()
|
/Zephyr-latest/include/zephyr/sys/ |
D | timeutil.h | 107 uint32_t local_Hz; member
|
/Zephyr-latest/samples/boards/nordic/clock_skew/src/ |
D | main.c | 27 return z_tmcvt(local, sync_config.local_Hz, USEC_PER_SEC, false, in local_to_us() 243 sync_config.local_Hz = CONFIG_SYS_CLOCK_TICKS_PER_SEC; in main() 248 timer0->name, sync_config.ref_Hz, sync_config.local_Hz); in main()
|