Searched refs:delta_ticks (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/drivers/timer/ |
D | arm_arch_timer.c | 100 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()
|
D | apic_tsc.c | 135 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()
|
D | npcx_itim_timer.c | 197 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()
|
D | ti_dmtimer.c | 65 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/ |
D | lll_prof.c | 31 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/ |
D | main.c | 683 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/ |
D | iso.c | 54 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/ |
D | bap.c | 258 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()
|