Home
last modified time | relevance | path

Searched refs:ticks_sub (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.4.0/drivers/counter/
Dcounter_nrfx_rtc.c110 static uint32_t ticks_sub(const struct device *dev, uint32_t val, in ticks_sub() function
257 if (ticks_sub(dev, prev_val, now, top) == 1) { in set_cc()
284 diff = ticks_sub(dev, val, now, top); in set_cc()
299 diff = ticks_sub(dev, val - 1, now, top); in set_cc()
640 cc = ticks_sub(dev, cc, 1, data->top); in alarm_irq_handle()
Dcounter_nrfx_timer.c111 static uint32_t ticks_sub(uint32_t val, uint32_t old, uint32_t top) in ticks_sub() function
186 diff = ticks_sub(val - 1, read(dev), top); in set_cc()
Dcounter_gd32_timer.c188 static uint32_t ticks_sub(uint32_t val, uint32_t old, uint32_t top) in ticks_sub() function
257 diff = ticks_sub(val - 1, get_counter(dev), top); in set_cc()