/device/google/contexthub/firmware/os/drivers/hall/ |
D | hall.c | 72 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/ |
D | isl29034.c | 239 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/ |
D | sensors.h | 57 uint32_t idata; member 71 int32_t idata; member
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 438 mTask.lastAlsSample.idata = ROHM_RPR0521_ALS_INVALID; in sensorPowerAls() 470 if (mTask.lastAlsSample.idata != ROHM_RPR0521_ALS_INVALID) { in sendLastSampleAls() 702 if (mTask.lastAlsSample.idata != sample.idata) { in handle_i2c_event() 753 mTask.lastAlsSample.idata = ROHM_RPR0521_ALS_INVALID; in init_app()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 331 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/ |
D | hall_twopole.c | 79 sample.idata = pinState; in hallReportState() 203 sample.idata = mTask.prevReportedState; in hallSendLastSample()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 488 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/ |
D | sensorevent.h | 43 int32_t idata; member
|
D | sensorevent.cpp | 231 sample->idata, GetSampleTimeStr(index).c_str()); in StringForSample()
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntf.c | 874 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/vsync/ |
D | vsync.c | 98 ev->samples[0].idata = 1; in vsyncAllocateEvt()
|
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
D | tilt_detection.c | 262 sample.idata = 1; in tiltDetectionHandleEvent()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.h | 205 uint32_t idata; member
|
D | hubconnection.cpp | 626 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/ |
D | synaptics_s3708.c | 482 sample.idata = 1; in processI2cResponse()
|
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
D | window_orientation.c | 629 sample.idata = mTask.proposed_rotation; in windowOrientationHandleEvent()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 956 step_cnt.idata = mTask.total_step_cnt; 1934 step_cnt.idata = mTask.total_step_cnt; 2638 trigger_axies.idata = (mTask.statusBuffer[3] & 0x0f); 2645 trigger_axies.idata = ((mTask.statusBuffer[3] & 0xf0) >> 4); 2651 trigger_axies.idata = ((mTask.statusBuffer[4] & 0x80) >> 7);
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 4531 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/ |
D | invensense_icm40600.c | 2741 …trigger_axies.idata = ((int_status2 & BIT_INT_STATUS_WOM_X) >> 0) | ((int_status2 & BIT_INT_STATUS…
|