Home
last modified time | relevance | path

Searched refs:slabSize (Results 1 – 7 of 7) sorted by relevance

/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c795 size_t slabSize; in st_acc44_startTask() local
808 slabSize = sizeof(struct TripleAxisDataEvent) + sizeof(struct TripleAxisDataPoint); in st_acc44_startTask()
810 mTask.accDataSlab = slabAllocatorNew(slabSize, 4, ST_ACC44_MAX_ACC_EVENTS); in st_acc44_startTask()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c699 size_t slabSize; in startTask() local
711 slabSize = sizeof(struct SingleAxisDataEvent) + sizeof(struct SingleAxisDataPoint); in startTask()
713 mTask.baroSlab = slabAllocatorNew(slabSize, 4, LPS22HB_MAX_BARO_EVENTS); in startTask()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c994 size_t slabSize; in startTask() local
1007 slabSize = sizeof(struct TripleAxisDataEvent) + sizeof(struct TripleAxisDataPoint); in startTask()
1009 slabSize += sizeof(struct TripleAxisDataPoint); in startTask()
1012 mTask.magDataSlab = slabAllocatorNew(slabSize, 4, ST_MAG40_MAX_MAG_EVENTS); in startTask()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c835 size_t i, slabSize; in fusionStart() local
861 slabSize = sizeof(struct TripleAxisDataEvent) in fusionStart()
865 mDataSlab = slabAllocatorNew(slabSize, 4, 6 * (NUM_COMMS_EVENTS_IN_FIFO + 1)); in fusionStart()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c5001 size_t slabSize; in lsm6dsm_startTask() local
5049slabSize = sizeof(struct TripleAxisDataEvent) + (LSM6DSM_MAX_NUM_COMMS_EVENT_SAMPLE * sizeof(struc… in lsm6dsm_startTask()
5051 T(mDataSlabThreeAxis) = slabAllocatorNew(slabSize, 4, 20); in lsm6dsm_startTask()
5059slabSize = sizeof(struct SingleAxisDataEvent) + (LSM6DSM_MAX_NUM_COMMS_EVENT_SAMPLE * sizeof(struc… in lsm6dsm_startTask()
5061 T(mDataSlabOneAxis) = slabAllocatorNew(slabSize, 4, 20); in lsm6dsm_startTask()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c3149 size_t slabSize; local
3239 slabSize = sizeof(struct TripleAxisDataEvent) +
3242 T(mDataSlab) = slabAllocatorNew(slabSize, 4, 20);
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c3808 size_t slabSize; local
3947 slabSize = sizeof(struct TripleAxisDataEvent) +
3954 T(mDataSlab) = slabAllocatorNew(slabSize, 4, 20);