Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/ams_tmd2772/
Dams_tmd2772.c364 sample.fdata = (mData.proxState == PROX_STATE_NEAR) ? in sendLastSampleProx()
557 sample.fdata = getLuxFromAlsData(mData.txrxBuf.sample.als[0], in handle_i2c_event()
561 mData.lastAlsSample.fdata = sample.fdata; in handle_i2c_event()
571 sample.fdata = AMS_TMD2772_REPORT_NEAR_VALUE; in handle_i2c_event()
574 sample.fdata = AMS_TMD2772_REPORT_FAR_VALUE; in handle_i2c_event()
580 sample.fdata = AMS_TMD2772_REPORT_FAR_VALUE; in handle_i2c_event()
584 sample.fdata = AMS_TMD2772_REPORT_NEAR_VALUE; in handle_i2c_event()
/device/google/contexthub/firmware/src/drivers/rohm_rpr0521/
Drohm_rpr0521.c247 … sample.fdata = (pinState) ? ROHM_RPR0521_REPORT_FAR_VALUE : ROHM_RPR0521_REPORT_NEAR_VALUE; in proxIsr()
436 …sample.fdata = (mTask.proxState == PROX_STATE_NEAR) ? ROHM_RPR0521_REPORT_NEAR_VALUE : ROHM_RPR052… in sendLastSampleProx()
593 sample.fdata = getLuxFromAlsData(als0, als1); in handle_i2c_event()
596 mTask.lastAlsSample.fdata = sample.fdata; in handle_i2c_event()
610 sample.fdata = ROHM_RPR0521_REPORT_NEAR_VALUE; in handle_i2c_event()
613 sample.fdata = ROHM_RPR0521_REPORT_FAR_VALUE; in handle_i2c_event()
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/
Dams_tmd4903.c264 … sample.fdata = (pinState) ? AMS_TMD4903_REPORT_FAR_VALUE : AMS_TMD4903_REPORT_NEAR_VALUE; in proxIsr()
550 …sample.fdata = (mTask.lastProxState == PROX_STATE_NEAR) ? AMS_TMD4903_REPORT_NEAR_VALUE : AMS_TMD4… in sendLastSampleProx()
745 sample.fdata = getLuxFromAlsData(c, r, g, b); in handle_i2c_event()
748 sendCalibrationResultAls(SENSOR_APP_EVT_STATUS_SUCCESS, sample.fdata); in handle_i2c_event()
758 mTask.lastAlsSample.fdata = sample.fdata; in handle_i2c_event()
773 sample.fdata = ps; in handle_i2c_event()
777 sample.fdata = AMS_TMD4903_REPORT_NEAR_VALUE; in handle_i2c_event()
780 sample.fdata = AMS_TMD4903_REPORT_FAR_VALUE; in handle_i2c_event()
/device/google/contexthub/firmware/inc/
Dsensors.h52 float fdata; member
64 float fdata; member
/device/google/contexthub/firmware/misc/platform/linux/
DMakefile20 FLAGS += -I. -fno-unwind-tables -fstack-reuse=all -ffunction-sections -fdata-sections -m32
/device/google/contexthub/util/nanotool/
Dsensorevent.h42 float fdata; member
Dsensorevent.cpp209 sample->fdata, GetSampleTimeStr(index).c_str()); in StringForSample()
/device/google/contexthub/firmware/misc/platform/stm32f4xx/
DMakefile27 FLAGS += -I. -fno-unwind-tables -fstack-reuse=all -ffunction-sections -fdata-sections
/device/google/contexthub/sensorhal/
Dhubconnection.h153 float fdata; member
Dhubconnection.cpp346 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata; in processSample()
349 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample()
352 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample()
355 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata; in processSample()
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/
Dbosch_bmp280.c474 sample.fdata = pressure_Pa * 0.01f; in handleI2cEvent()
480 sample.fdata = temp_centigrade; in handleI2cEvent()