Searched refs:z_tmcvt (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-2.7.6/include/sys/ |
D | time_units.h | 96 static TIME_CONSTEXPR ALWAYS_INLINE uint64_t z_tmcvt(uint64_t t, uint32_t from_hz, in z_tmcvt() function 246 return z_tmcvt(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, true, false, false); in k_ms_to_cyc_floor32() 260 return z_tmcvt(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, false, false, false); in k_ms_to_cyc_floor64() 274 return z_tmcvt(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, true, false, true); in k_ms_to_cyc_near32() 288 return z_tmcvt(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, false, false, true); in k_ms_to_cyc_near64() 302 return z_tmcvt(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, true, true, false); in k_ms_to_cyc_ceil32() 316 return z_tmcvt(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, false, true, false); in k_ms_to_cyc_ceil64() 330 return z_tmcvt(t, Z_HZ_ms, Z_HZ_ticks, true, true, false, false); in k_ms_to_ticks_floor32() 344 return z_tmcvt(t, Z_HZ_ms, Z_HZ_ticks, true, false, false, false); in k_ms_to_ticks_floor64() 358 return z_tmcvt(t, Z_HZ_ms, Z_HZ_ticks, true, true, false, true); in k_ms_to_ticks_near32() [all …]
|
/Zephyr-Core-2.7.6/tests/unit/time_units/ |
D | overflow.c | 51 z_tmcvt(UINT64_MAX / to_hz - 1, from_hz, to_hz, true, false, false, false), in test_z_tmcvt_for_overflow() 54 z_tmcvt(UINT64_MAX / to_hz, from_hz, to_hz, true, false, false, false), in test_z_tmcvt_for_overflow() 57 z_tmcvt(UINT64_MAX / to_hz + 1, from_hz, to_hz, true, false, false, false), in test_z_tmcvt_for_overflow()
|
/Zephyr-Core-2.7.6/samples/boards/nrf/clock_skew/src/ |
D | main.c | 29 return z_tmcvt(local, sync_config.local_Hz, USEC_PER_SEC, false, in local_to_us() 36 return z_tmcvt(ref, sync_config.ref_Hz, USEC_PER_SEC, false, in ref_to_us()
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-2.7.rst | 85 …1111` - utils: tmcvt: fix integer overflow after 6.4 days with ``gettimeofday()`` and ``z_tmcvt()``
|