Home
last modified time | relevance | path

Searched refs:delta_ticks (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/timer/
Darm_arch_timer.c100 uint32_t delta_ticks = (cycle_diff_t)delta_cycles / CYC_PER_TICK; in arm_arch_timer_compare_isr() local
102 last_cycle += (cycle_diff_t)delta_ticks * CYC_PER_TICK; in arm_arch_timer_compare_isr()
103 last_tick += delta_ticks; in arm_arch_timer_compare_isr()
138 sys_clock_announce(delta_ticks);
177 uint32_t delta_ticks = (cycle_diff_t)delta_cycles / CYC_PER_TICK; in sys_clock_elapsed() local
179 last_elapsed = delta_ticks; in sys_clock_elapsed()
181 return delta_ticks; in sys_clock_elapsed()
Dapic_tsc.c135 uint32_t delta_ticks = (cycle_diff_t)delta_cycles / CYC_PER_TICK; in isr() local
137 last_cycle += (cycle_diff_t)delta_ticks * CYC_PER_TICK; in isr()
138 last_tick += delta_ticks; in isr()
148 sys_clock_announce(delta_ticks); in isr()
196 uint32_t delta_ticks = (cycle_diff_t)delta_cycles / CYC_PER_TICK; in sys_clock_elapsed() local
198 last_elapsed = delta_ticks; in sys_clock_elapsed()
200 return delta_ticks; in sys_clock_elapsed()
Dnpcx_itim_timer.c197 uint32_t delta_ticks = (uint32_t)((curr - cyc_sys_announced) / SYS_CYCLES_PER_TICK); in npcx_itim_evt_isr() local
199 cyc_sys_announced += delta_ticks * SYS_CYCLES_PER_TICK; in npcx_itim_evt_isr()
200 last_ticks += delta_ticks; in npcx_itim_evt_isr()
205 sys_clock_announce(delta_ticks); in npcx_itim_evt_isr()
281 uint32_t delta_ticks = (uint32_t)(delta_cycle / SYS_CYCLES_PER_TICK); in sys_clock_elapsed() local
283 last_elapsed = delta_ticks; in sys_clock_elapsed()
287 return delta_ticks; in sys_clock_elapsed()
Dti_dmtimer.c65 uint32_t delta_ticks = delta_cycles / CYC_PER_TICK; in ti_dmtimer_isr() local
81 sys_clock_announce(delta_ticks); in ti_dmtimer_isr()
128 uint32_t delta_ticks = delta_cycles / CYC_PER_TICK; in sys_clock_elapsed() local
132 return delta_ticks; in sys_clock_elapsed()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_prof.c31 static inline void delta_ticks(uint32_t timestamp_ticks, uint8_t *cputime_ticks);
67 delta_ticks(timestamp_ticks_radio, &cputime_ticks_radio); in lll_prof_exit_radio()
79 delta_ticks(timestamp_ticks_lll, &cputime_ticks_lll); in lll_prof_exit_lll()
91 delta_ticks(timestamp_ticks_ull_high, &cputime_ticks_ull_high); in lll_prof_exit_ull_high()
103 delta_ticks(timestamp_ticks_ull_low, &cputime_ticks_ull_low); in lll_prof_exit_ull_low()
332 static inline void delta_ticks(uint32_t timestamp_ticks, uint8_t *cputime_ticks) in delta_ticks() function
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c683 int32_t delta_ticks; in ZTEST_USER() local
714 delta_ticks = (int32_t)(rem_ticks - target_rem_ticks); in ZTEST_USER()
716 zassert_true(abs(delta_ticks) <= MAX(slew_ticks, 1U), in ZTEST_USER()
718 delta_ticks, slew_ticks); in ZTEST_USER()
/Zephyr-latest/subsys/bluetooth/host/shell/
Diso.c54 int64_t uptime_ticks, delta_ticks; in get_next_sn() local
63 delta_ticks = uptime_ticks - *last_ticks; in get_next_sn()
66 delta_us = k_ticks_to_us_near64((uint64_t)delta_ticks); in get_next_sn()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap.c258 int64_t delta_ticks; in get_next_seq_num() local
268 delta_ticks = uptime_ticks - sh_stream->tx.connected_at_ticks; in get_next_seq_num()
270 delta_us = k_ticks_to_us_near64((uint64_t)delta_ticks); in get_next_seq_num()