Home
last modified time | relevance | path

Searched refs:ticks_elapsed (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dkernel.c138 uint32_t ticks_elapsed; in osDelayUntil() local
144 ticks_elapsed = osKernelGetTickCount(); in osDelayUntil()
145 k_sleep(K_TICKS(ticks - ticks_elapsed)); in osDelayUntil()
Devent_flags.c112 uint64_t time_stamp_start, ticks_elapsed; in osEventFlagsWait() local
176 ticks_elapsed = in osEventFlagsWait()
179 if (ticks_elapsed < (uint64_t)timeout) { in osEventFlagsWait()
181 timeout - (uint32_t)ticks_elapsed)); in osEventFlagsWait()
/Zephyr-latest/drivers/timer/
Dmips_cp0_timer.c104 uint32_t ticks_elapsed = (get_cp0_count() - last_count) / CYC_PER_TICK; in sys_clock_elapsed() local
107 return ticks_elapsed; in sys_clock_elapsed()
/Zephyr-latest/subsys/bluetooth/controller/ticker/
Dticker.c304 uint32_t ticks_elapsed[DOUBLE_BUFFER_SIZE]; /* Buffer for elapsed member
1264 uint32_t ticks_elapsed;
1284 ticks_elapsed = ticker_ticks_diff_get(ticks_now,
1300 if (instance->ticks_slot_previous > ticks_elapsed) {
1321 if (ticks_elapsed < ticks_to_expire) {
1326 ticks_elapsed -= ticks_to_expire;
1507 instance->ticks_elapsed[instance->ticks_elapsed_last] = ticks_expired;
1692 uint32_t ticks_elapsed,
1697 ticks_elapsed += ticker_ticks_diff_get(ticks_now, ticks_current);
1698 if (ticks_to_expire > ticks_elapsed) {
[all …]
/Zephyr-latest/kernel/
Dtimeout.c86 int32_t ticks_elapsed = elapsed(); in next_timeout() local
90 ((int64_t)(to->dticks - ticks_elapsed) > (int64_t)INT_MAX)) { in next_timeout()
93 ret = MAX(0, to->dticks - ticks_elapsed); in next_timeout()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv.c2006 uint32_t ticks_elapsed; local
2015 ticks_elapsed = 0U;
2019 ticks_elapsed = ticks_now - ticks_adv_airtime;
2022 if (adv->delay_at_expire + ticks_elapsed <= ULL_ADV_RANDOM_DELAY) {
2025 ticks_elapsed);
Dull_adv_aux.c3195 uint32_t ticks_elapsed; in mfy_aux_offset_get() local
3322 ticks_elapsed = ticker_ticks_diff_get(ticks_now, ticks_current); in mfy_aux_offset_get()
3326 LL_ASSERT(ticks_elapsed < ticks_to_start); in mfy_aux_offset_get()