Searched refs:to_top (Results 1 – 5 of 5) sorted by relevance
85 uint32_t to_top; in ticks_add() local92 to_top = top - val1; in ticks_add()94 return (val2 <= to_top) ? val1 + val2 : val2 - to_top; in ticks_add()
326 uint32_t to_top; in ifx_cat1_counter_ticks_add() local333 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()
157 uint32_t to_top; in ticks_add() local163 to_top = top - val1; in ticks_add()165 return (val2 <= to_top) ? val1 + val2 : val2 - to_top; in ticks_add()
177 uint32_t to_top; in ticks_add() local183 to_top = top - val1; in ticks_add()185 return (val2 <= to_top) ? val1 + val2 : val2 - to_top; in ticks_add()
160 uint32_t to_top; in counter_stm32_ticks_add() local166 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()