/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 426 sample.fdata = (mData.proxState == PROX_STATE_NEAR) ? in sendLastSampleProx() 621 sample.fdata = getLuxFromAlsData(xfer->txrxBuf.sample.als[0], in handle_i2c_event() 625 mData.lastAlsSample.fdata = sample.fdata; in handle_i2c_event() 635 sample.fdata = AMS_TMD2772_REPORT_NEAR_VALUE; in handle_i2c_event() 638 sample.fdata = AMS_TMD2772_REPORT_FAR_VALUE; in handle_i2c_event() 644 sample.fdata = AMS_TMD2772_REPORT_FAR_VALUE; in handle_i2c_event() 648 sample.fdata = AMS_TMD2772_REPORT_NEAR_VALUE; in handle_i2c_event()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 339 … sample.fdata = (pinState) ? AMS_TMD4903_REPORT_FAR_VALUE : AMS_TMD4903_REPORT_NEAR_VALUE; in proxIsr() 656 …sample.fdata = (mTask.lastProxState == PROX_STATE_NEAR) ? AMS_TMD4903_REPORT_NEAR_VALUE : AMS_TMD4… in sendLastSampleProx() 756 sample.fdata = getLuxFromAlsData(c, r, g, b); in handleAlsSample() 758 (int)getAlsGainFromSetting(mTask.alsGain), (int)sample.fdata); in handleAlsSample() 761 sendCalibrationResultAls(SENSOR_APP_EVT_STATUS_SUCCESS, sample.fdata); in handleAlsSample() 772 mTask.lastAlsSample.fdata = sample.fdata; in handleAlsSample() 775 if (checkForAlsAutoGain(sample.fdata)) { in handleAlsSample() 797 sample.fdata = ps; in handleProxSample() 803 sample.fdata = AMS_TMD4903_REPORT_NEAR_VALUE; in handleProxSample() 806 sample.fdata = AMS_TMD4903_REPORT_FAR_VALUE; in handleProxSample()
|
/device/google/contexthub/firmware/app/chre/common/ |
D | chre10_app.c | 103 flt.readings[0].value = src->samples[i].fdata; in processSingleAxisData() 118 byte.readings[0].isNear = src->samples[i].fdata == 0.0f; in processSingleAxisData() 150 flt.readings[0].value = data.fdata; in processEmbeddedData() 160 byte.readings[0].isNear = data.fdata == 0.0f; in processEmbeddedData()
|
D | chre_app.c | 103 flt.readings[0].value = src->samples[i].fdata; in processSingleAxisData() 118 byte.readings[0].isNear = src->samples[i].fdata == 0.0f; in processSingleAxisData() 150 flt.readings[0].value = data.fdata; in processEmbeddedData() 160 byte.readings[0].isNear = data.fdata == 0.0f; in processEmbeddedData()
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 274 … sample.fdata = (pinState) ? ROHM_RPR0521_REPORT_FAR_VALUE : ROHM_RPR0521_REPORT_NEAR_VALUE; in proxIsr() 540 …sample.fdata = (mTask.proxState == PROX_STATE_NEAR) ? ROHM_RPR0521_REPORT_NEAR_VALUE : ROHM_RPR052… in sendLastSampleProx() 701 sample.fdata = getLuxFromAlsData(als0, als1); in handle_i2c_event() 704 mTask.lastAlsSample.fdata = sample.fdata; in handle_i2c_event() 718 sample.fdata = ROHM_RPR0521_REPORT_NEAR_VALUE; in handle_i2c_event() 721 sample.fdata = ROHM_RPR0521_REPORT_FAR_VALUE; in handle_i2c_event()
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 365 sample.fdata = getLuxFromAlsData(xfer->txrxBuf[0] | (xfer->txrxBuf[1] << 8)); in handle_i2c_event() 368 mData.lastAlsSample.fdata = sample.fdata; in handle_i2c_event()
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors.h | 58 float fdata; member 70 float fdata; member
|
/device/google/contexthub/firmware/os/platform/native/ |
D | native.mk | 20 FLAGS += -I. -fno-unwind-tables -fstack-reuse=all -ffunction-sections -fdata-sections -m32
|
/device/google/contexthub/firmware/build/ |
D | common_config.mk | 29 -fdata-sections \
|
/device/google/contexthub/util/nanotool/ |
D | sensorevent.h | 42 float fdata; member
|
D | sensorevent.cpp | 214 sample->fdata, GetSampleTimeStr(index).c_str()); in StringForSample()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | stm32.mk | 27 FLAGS += -I. -fno-unwind-tables -fstack-reuse=all -ffunction-sections -fdata-sections
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 398 sample.fdata = (float)value / 1000.0f; in handleI2cEvent() 407 sample.fdata = (float)value / 1000.0f; in handleI2cEvent()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.h | 204 float fdata; member
|
D | hubconnection.cpp | 606 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata; in processSample() 609 initEv(&nev[cnt++], timestamp, type, sensor)->relative_humidity = sample->fdata; in processSample() 612 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample() 615 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample() 618 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample() 621 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata; in processSample()
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 202 ev->samples[0].fdata = sample; in baroAllocateEvt() 622 sample.fdata = LPS22HB_CENTIGRADES((float)temp_val); in handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 241 ev->samples[0].fdata = sample; in baroAllocateEvt() 683 embeddedSample.fdata = temp_centigrade; in handleI2cEvent()
|
/device/google/contexthub/firmware/app/ |
D | app.mk | 165 CFLAGS += -fdata-sections
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 442 sample.fdata = hts221_humidity_percent(humidity_val); in handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 546 …mTask.proxState = (embeddedSample.fdata < PROXIMITY_THRESH_NEAR) ? PROX_STATE_NEAR : PROX_STATE_FA… in handleEvent()
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 4375 …mSensor->sADataEvt->samples[*sampleNum].fdata = ((data[2] << 16) | (data[1] << 8) | data[0]) * LSM… in lsm6dsm_processSensorOneAxisData() 4504 … tempData.fdata = ((int16_t)(data[fifoCounter + LSM6DSM_PRESS_OUTDATA_LEN + 1] << 8) | in lsm6dsm_parseFifoData() 4867 …tempData.fdata = ((int16_t)(T_SLAVE_INTERFACE(baroDataBuffer[LSM6DSM_PRESS_OUTDATA_LEN + 2]) << 8)… in lsm6dsm_handleSpiDoneEvt()
|