Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c682 struct SingleAxisDataEvent *sADataEvt; member
4163 mSensor->sADataEvt = slabAllocatorAlloc(T(mDataSlabOneAxis)); in lsm6dsm_allocateOneAxisDataEvt()
4164 if (!mSensor->sADataEvt) { in lsm6dsm_allocateOneAxisDataEvt()
4169 memset(&mSensor->sADataEvt->samples[0].firstSample, 0, sizeof(struct SensorFirstSample)); in lsm6dsm_allocateOneAxisDataEvt()
4170 mSensor->sADataEvt->referenceTime = rtcTime; in lsm6dsm_allocateOneAxisDataEvt()
4368 if (mSensor->sADataEvt == NULL) { in lsm6dsm_processSensorOneAxisData()
4375 …mSensor->sADataEvt->samples[*sampleNum].fdata = ((data[2] << 16) | (data[1] << 8) | data[0]) * LSM… in lsm6dsm_processSensorOneAxisData()
4382 … mSensor->sADataEvt->samples[*sampleNum].deltaTime = *timestamp - mSensor->pushedTimestamp; in lsm6dsm_processSensorOneAxisData()
4416 T(sensors[sidx]).sADataEvt->samples[0].firstSample.numSamples = *numSamples; in lsm6dsm_pushData()
4417 …sorGetMyEventType(LSM6DSMSensorInfo[sidx].sensorType), T(sensors[sidx]).sADataEvt, lsm6dsm_oneAxis… in lsm6dsm_pushData()
[all …]