Home
last modified time | relevance | path

Searched refs:mInternalEvents (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/src/
Dsensors.c79 static struct SlabAllocator *mInternalEvents; variable
96mInternalEvents = slabAllocatorNew(sizeof(struct SensorsInternalEvent), alignof(struct SensorsInte… in sensorsInit()
97 if (!mInternalEvents) in sensorsInit()
104 slabAllocatorDestroy(mInternalEvents); in sensorsInit()
207 slabAllocatorFree(mInternalEvents, event); in sensorCallFuncPowerEvtFreeF()
225 …ruct SensorsInternalEvent *evt = (struct SensorsInternalEvent*)slabAllocatorAlloc(mInternalEvents); in sensorCallFuncPower()
237 slabAllocatorFree(mInternalEvents, evt); in sensorCallFuncPower()
258 slabAllocatorFree(mInternalEvents, event); in sensorCallFuncExternalEvtFreeF()
266 …ruct SensorsInternalEvent *evt = (struct SensorsInternalEvent*)slabAllocatorAlloc(mInternalEvents); in sensorCallFuncSetRate()
278 slabAllocatorFree(mInternalEvents, evt); in sensorCallFuncSetRate()
[all …]
Dtimer.c45 static struct SlabAllocator *mInternalEvents; variable
68 slabAllocatorFree(mInternalEvents, event); in timerCallFuncFreeF()
81 if ((evt = slabAllocatorAlloc(mInternalEvents)) != 0) { in timCallFunc()
85 slabAllocatorFree(mInternalEvents, evt); in timCallFunc()
239mInternalEvents = slabAllocatorNew(sizeof(struct TimerEvent), alignof(struct TimerEvent), MAX_INTE… in timInit()