Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c426 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/
Dams_tmd4903.c339 … 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/
Dchre10_app.c103 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()
Dchre_app.c103 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/
Drohm_rpr0521.c274 … 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/
Disl29034.c365 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/
Dsensors.h58 float fdata; member
70 float fdata; member
/device/google/contexthub/firmware/os/platform/native/
Dnative.mk20 FLAGS += -I. -fno-unwind-tables -fstack-reuse=all -ffunction-sections -fdata-sections -m32
/device/google/contexthub/firmware/build/
Dcommon_config.mk29 -fdata-sections \
/device/google/contexthub/util/nanotool/
Dsensorevent.h42 float fdata; member
Dsensorevent.cpp214 sample->fdata, GetSampleTimeStr(index).c_str()); in StringForSample()
/device/google/contexthub/firmware/os/platform/stm32/
Dstm32.mk27 FLAGS += -I. -fno-unwind-tables -fstack-reuse=all -ffunction-sections -fdata-sections
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c398 sample.fdata = (float)value / 1000.0f; in handleI2cEvent()
407 sample.fdata = (float)value / 1000.0f; in handleI2cEvent()
/device/google/contexthub/sensorhal/
Dhubconnection.h204 float fdata; member
Dhubconnection.cpp606 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/
Dlps22hb.c202 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/
Dbosch_bmp280.c241 ev->samples[0].fdata = sample; in baroAllocateEvt()
683 embeddedSample.fdata = temp_centigrade; in handleI2cEvent()
/device/google/contexthub/firmware/app/
Dapp.mk165 CFLAGS += -fdata-sections
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c442 sample.fdata = hts221_humidity_percent(humidity_val); in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c546 …mTask.proxState = (embeddedSample.fdata < PROXIMITY_THRESH_NEAR) ? PROX_STATE_NEAR : PROX_STATE_FA… in handleEvent()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c4375 …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()