Searched refs:timId (Results 1 – 2 of 2) sorted by relevance
73 static struct Timer *timFindTimerById(uint32_t timId) /* no locks taken. be careful what you do wit… in timFindTimerById() argument78 if (mTimers[i].id == timId) in timFindTimerById()178 uint16_t timId; in timTimerSetEx() local187 timId = atomicAdd32bits(&mNextTimerId, 1) & MAX_TIMER_ID; in timTimerSetEx()188 } while (!timId || timFindTimerById(timId)); in timTimerSetEx()202 t->id = timId; in timTimerSetEx()208 return timId; in timTimerSetEx()
118 uint32_t timId = timTimerSetNew(duration, cookie, oneShot); in osChreTimerSet() local120 return timId == 0 ? CHRE_TIMER_INVALID : timId; in osChreTimerSet()