Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/orientation/
Dorientation.c164 static struct SlabAllocator *mDataSlab; variable
168 slabAllocatorFree(mDataSlab, ptr); in dataEvtFree()
268 mSensor->ev = slabAllocatorAlloc(mDataSlab); in allocateDataEvt()
782mDataSlab = slabAllocatorNew(slabSize, 4, 6 * (NUM_COMMS_EVENTS_IN_FIFO + 1)); // worst case 6 out… in fusionStart()
783 if (!mDataSlab) { in fusionStart()
797 slabAllocatorDestroy(mDataSlab); in fusionEnd()
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c424 struct SlabAllocator *mDataSlab; member
636 slabAllocatorFree(T(mDataSlab), ev); in dataEvtFree()
1726 mSensor->data_evt = slabAllocatorAlloc(T(mDataSlab)); in allocateDataEvt()
3060 T(mDataSlab) = slabAllocatorNew(slabSize, 4, 20); in startTask()
3061 if (!T(mDataSlab)) { in startTask()
3090 slabAllocatorDestroy(T(mDataSlab)); in endTask()