Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Dcounter_nxp_s32_sys_timer.c85 uint32_t to_top; in ticks_add() local
92 to_top = top - val1; in ticks_add()
94 return (val2 <= to_top) ? val1 + val2 : val2 - to_top; in ticks_add()
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.c157 uint32_t to_top; in ticks_add() local
163 to_top = top - val1; in ticks_add()
165 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.c160 uint32_t to_top; in counter_stm32_ticks_add() local
166 to_top = top - val1; in counter_stm32_ticks_add()
168 return (val2 <= to_top) ? val1 + val2 : val2 - to_top - 1U; in counter_stm32_ticks_add()