Home
last modified time | relevance | path

Searched refs:to_top (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/drivers/counter/
Dcounter_ifx_cat1.c326 uint32_t to_top; in ifx_cat1_counter_ticks_add() local
333 to_top = top - val1; in ifx_cat1_counter_ticks_add()
335 return (val2 <= to_top) ? (val1 + val2) : (val2 - to_top - 1U); in ifx_cat1_counter_ticks_add()
Dcounter_nrfx_timer.c100 uint32_t to_top; in ticks_add() local
106 to_top = top - val1; in ticks_add()
108 return (val2 <= to_top) ? val1 + val2 : val2 - to_top; in ticks_add()
Dcounter_gd32_timer.c177 uint32_t to_top; in ticks_add() local
183 to_top = top - val1; in ticks_add()
185 return (val2 <= to_top) ? val1 + val2 : val2 - to_top; in ticks_add()
Dcounter_ll_stm32_timer.c164 uint32_t to_top; in counter_stm32_ticks_add() local
170 to_top = top - val1; in counter_stm32_ticks_add()
172 return (val2 <= to_top) ? val1 + val2 : val2 - to_top - 1U; in counter_stm32_ticks_add()