Lines Matching refs:curTimer
215 uint32_t curTimer; in am_hal_stimer_check_compare_delta_set() local
223 curTimer = am_hal_stimer_counter_get(); in am_hal_stimer_check_compare_delta_set()
226 if ((curTimer != g_lastStimer[ui32CmprInstance]) && in am_hal_stimer_check_compare_delta_set()
227 (curTimer != (g_lastStimer[ui32CmprInstance] + 1))) in am_hal_stimer_check_compare_delta_set()
245 uint32_t curTimer, curTimer0; in am_hal_stimer_compare_delta_set() local
249 curTimer = curTimer0 = am_hal_stimer_counter_get(); in am_hal_stimer_compare_delta_set()
269 if ((curTimer != g_lastStimer[ui32CmprInstance]) && in am_hal_stimer_compare_delta_set()
270 (curTimer != (g_lastStimer[ui32CmprInstance] + 1))) in am_hal_stimer_compare_delta_set()
276 curTimer = am_hal_stimer_counter_get(); in am_hal_stimer_compare_delta_set() local
282 if (ui32Delta > (3 + (curTimer - curTimer0))) in am_hal_stimer_compare_delta_set()
284 ui32Delta -= 3 + (curTimer - curTimer0); in am_hal_stimer_compare_delta_set()
306 curTimer = am_hal_stimer_counter_get(); in am_hal_stimer_compare_delta_set()
322 uint32_t curTimer; in am_hal_stimer_compare_get() local
335 curTimer = am_hal_stimer_counter_get(); in am_hal_stimer_compare_get()
336 if ((curTimer != g_lastStimer[ui32CmprInstance]) && in am_hal_stimer_compare_get()
337 (curTimer != (g_lastStimer[ui32CmprInstance] + 1)) && in am_hal_stimer_compare_get()
338 (curTimer != (g_lastStimer[ui32CmprInstance] + 2))) in am_hal_stimer_compare_get()