HomeSort by relevance Sort by last modified time
    Searched refs:timId (Results 1 - 2 of 2) sorted by null

  /device/google/contexthub/firmware/os/core/
timer.c 73 static struct Timer *timFindTimerById(uint32_t timId) /* no locks taken. be careful what you do with this */
78 if (mTimers[i].id == timId)
178 uint16_t timId;
187 timId = atomicAdd32bits(&mNextTimerId, 1) & MAX_TIMER_ID;
188 } while (!timId || timFindTimerById(timId));
202 t->id = timId;
208 return timId;
nanohub_chre.c 118 uint32_t timId = timTimerSetNew(duration, cookie, oneShot);
120 return timId == 0 ? CHRE_TIMER_INVALID : timId;

Completed in 76 milliseconds