Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c72 sample.idata = pinState ? HALL_REPORT_OPENED_VALUE : in debounceTimerCallback()
75 if (sample.idata != mTask.prevReportedValue) { in debounceTimerCallback()
76 mTask.prevReportedValue = sample.idata; in debounceTimerCallback()
168 sample.idata = pinState ? HALL_REPORT_OPENED_VALUE : in hallSetRate()
187 sample.idata = mTask.prevReportedValue; in hallSendLastSample()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c239 mData.lastAlsSample.idata = ISL29034_ALS_INVALID; in sensorPowerAls()
282 if (mData.lastAlsSample.idata != ISL29034_ALS_INVALID) in sendLastSampleAls()
366 if (mData.lastAlsSample.idata != sample.idata) { in handle_i2c_event()
391 mData.lastAlsSample.idata = ISL29034_ALS_INVALID; in init_app()
/device/google/contexthub/firmware/os/inc/
Dsensors.h57 uint32_t idata; member
71 int32_t idata; member
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c405 mTask.lastAlsSample.idata = ROHM_RPR0521_ALS_INVALID; in sensorPowerAls()
437 if (mTask.lastAlsSample.idata != ROHM_RPR0521_ALS_INVALID) { in sendLastSampleAls()
675 if (mTask.lastAlsSample.idata != sample.idata) { in handle_i2c_event()
726 mTask.lastAlsSample.idata = ROHM_RPR0521_ALS_INVALID; in init_app()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c331 mData.lastAlsSample.idata = AMS_TMD2772_ALS_INVALID; in sensorPowerAls()
370 if (mData.lastAlsSample.idata != AMS_TMD2772_ALS_INVALID) { in sendLastSampleAls()
623 if (mData.lastAlsSample.idata != sample.idata) { in handle_i2c_event()
683 mData.lastAlsSample.idata = AMS_TMD2772_ALS_INVALID; in init_app()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c79 sample.idata = pinState; in hallReportState()
203 sample.idata = mTask.prevReportedState; in hallSendLastSample()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c488 mTask.lastAlsSample.idata = AMS_TMD4903_ALS_INVALID; in sensorPowerAls()
531 mTask.lastAlsSample.idata = AMS_TMD4903_ALS_INVALID; in sensorCalibrateAls()
561 if (mTask.lastAlsSample.idata != AMS_TMD4903_ALS_INVALID) { in sendLastSampleAls()
770 if (mTask.lastAlsSample.idata != sample.idata) { in handleAlsSample()
980 mTask.lastAlsSample.idata = AMS_TMD4903_ALS_INVALID; in init_app()
/device/google/contexthub/util/nanotool/
Dsensorevent.h43 int32_t idata; member
Dsensorevent.cpp231 sample->idata, GetSampleTimeStr(index).c_str()); in StringForSample()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c98 ev->samples[0].idata = 1; in vsyncAllocateEvt()
/device/google/contexthub/firmware/os/core/
DhostIntf.c874 sensor->buffer.single[0].idata = single->samples[i].idata; in copySingleSamples()
898 sensor->buffer.single[numSamples].idata = single->samples[0].idata; in copySingleSamples()
909 sensor->buffer.single[numSamples].idata = single->samples[i].idata; in copySingleSamples()
1463 sensor->buffer.single[0].idata = (uint32_t)evtData; in copyEmbeddedSamples()
1469 sensor->buffer.single[sensor->buffer.firstSample.numSamples].idata = (uint32_t)evtData; in copyEmbeddedSamples()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c262 sample.idata = 1; in tiltDetectionHandleEvent()
/device/google/contexthub/sensorhal/
Dhubconnection.h205 uint32_t idata; member
Dhubconnection.cpp626 mLastStepCount = mStepCounterOffset + sample->idata; in processSample()
641 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata; in processSample()
645 sendFolioEvent(sample->idata); in processSample()
649 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata; in processSample()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c482 sample.idata = 1; in processI2cResponse()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c629 sample.idata = mTask.proposed_rotation; in windowOrientationHandleEvent()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c949 step_cnt.idata = mTask.total_step_cnt;
1927 step_cnt.idata = mTask.total_step_cnt;
2631 trigger_axies.idata = (mTask.statusBuffer[3] & 0x0f);
2638 trigger_axies.idata = ((mTask.statusBuffer[3] & 0xf0) >> 4);
2644 trigger_axies.idata = ((mTask.statusBuffer[4] & 0x80) >> 7);
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c4531 stepCntData.idata = steps; in lsm6dsm_parseFifoData()
4533 DEBUG_PRINT("Step Counter update: %ld steps\n", stepCntData.idata); in lsm6dsm_parseFifoData()
4534 T(totalNumSteps) = stepCntData.idata; in lsm6dsm_parseFifoData()
4819 …stepCntData.idata = T_SLAVE_INTERFACE(stepCounterDataBuffer[1]) | (T_SLAVE_INTERFACE(stepCounterDa… in lsm6dsm_handleSpiDoneEvt()
4821 DEBUG_PRINT("Step Counter update: %ld steps\n", stepCntData.idata); in lsm6dsm_handleSpiDoneEvt()
4822 T(totalNumSteps) = stepCntData.idata; in lsm6dsm_handleSpiDoneEvt()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c2741 …trigger_axies.idata = ((int_status2 & BIT_INT_STATUS_WOM_X) >> 0) | ((int_status2 & BIT_INT_STATUS…