Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/sched/wraparound/src/
Dmain.c23 static const uint32_t start_ticks = 0xffffff00; /* It wraps around after 256 ticks! */ in ZTEST() local
27 sys_clock_tick_set(start_ticks); in ZTEST()
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c891 int64_t start_ticks, end_ticks, diff_ticks; in ZTEST() local
896 start_ticks = k_uptime_get(); in ZTEST()
902 diff_ticks = end_ticks - start_ticks; in ZTEST()
915 start_ticks = k_uptime_get(); in ZTEST()
921 diff_ticks = end_ticks - start_ticks; in ZTEST()
923 zassert_true(end_ticks >= start_ticks, in ZTEST()
925 start_ticks, end_ticks); in ZTEST()
949 int64_t start_ticks, end_ticks, diff_ticks; in ZTEST() local
965 start_ticks = k_uptime_get(); in ZTEST()
971 diff_ticks = end_ticks - start_ticks; in ZTEST()
[all …]
/Zephyr-latest/drivers/can/
Dcan_sja1000.c484 int64_t start_ticks; in can_sja1000_recover() local
501 start_ticks = k_uptime_ticks(); in can_sja1000_recover()
519 if (k_uptime_ticks() - start_ticks > timeout.ticks) { in can_sja1000_recover()
Dcan_renesas_ra.c316 int64_t start_ticks = k_uptime_ticks(); in recover_bus() local
319 if ((k_uptime_ticks() - start_ticks) > timeout.ticks) { in recover_bus()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.c1708 uint32_t start_ticks; in radio_tmr_start_get() local
1715 start_ticks = cc & 0xffffffffUL; in radio_tmr_start_get()
1718 start_ticks = nrf_rtc_cc_get(NRF_RTC, 2); in radio_tmr_start_get()
1721 return start_ticks; in radio_tmr_start_get()