Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c554 struct TripleAxisDataEvent *data_evt; member
2354 if (sensor->data_evt) {
2355 success = osEnqueueEvtOrFree(eventId, sensor->data_evt, dataEvtFree);
2356 sensor->data_evt = NULL;
2377 mSensor->data_evt = slabAllocatorAlloc(T(mDataSlab));
2378 if (mSensor->data_evt == NULL) {
2385 memset(&mSensor->data_evt->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample));
2386 mSensor->data_evt->referenceTime = rtc_time;
2512 if (mSensor->data_evt == NULL) {
2517 if (mSensor->data_evt->samples[0].firstSample.numSamples >= MAX_NUM_COMMS_EVENT_SAMPLES) {
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c463 struct TripleAxisDataEvent *data_evt; member
1170 if (sensor->data_evt) {
1171 success = osEnqueueEvtOrFree(eventId, sensor->data_evt, dataEvtFree);
1172 sensor->data_evt = NULL;
1190 mSensor->data_evt = slabAllocatorAlloc(T(mDataSlab));
1191 if (mSensor->data_evt == NULL) {
1198 memset(&mSensor->data_evt->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample));
1199 mSensor->data_evt->referenceTime = rtc_time;
2129 if (mSensor->data_evt == NULL) {
2135 if (mSensor->data_evt->samples[0].firstSample.numSamples >= MAX_NUM_COMMS_EVENT_SAMPLES) {
[all …]