Home
last modified time | relevance | path

Searched refs:lastAlsSample (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c144 union EmbeddedDataPoint lastAlsSample; member
239 mData.lastAlsSample.idata = ISL29034_ALS_INVALID; in sensorPowerAls()
282 if (mData.lastAlsSample.idata != ISL29034_ALS_INVALID) in sendLastSampleAls()
283 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, … in sendLastSampleAls()
366 if (mData.lastAlsSample.idata != sample.idata) { in handle_i2c_event()
368 mData.lastAlsSample.fdata = sample.fdata; in handle_i2c_event()
391 mData.lastAlsSample.idata = ISL29034_ALS_INVALID; in init_app()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c234 union EmbeddedDataPoint lastAlsSample; member
405 mTask.lastAlsSample.idata = ROHM_RPR0521_ALS_INVALID; in sensorPowerAls()
437 if (mTask.lastAlsSample.idata != ROHM_RPR0521_ALS_INVALID) { in sendLastSampleAls()
438 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, … in sendLastSampleAls()
675 if (mTask.lastAlsSample.idata != sample.idata) { in handle_i2c_event()
677 mTask.lastAlsSample.fdata = sample.fdata; 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.c181 union EmbeddedDataPoint lastAlsSample; member
331 mData.lastAlsSample.idata = AMS_TMD2772_ALS_INVALID; in sensorPowerAls()
370 if (mData.lastAlsSample.idata != AMS_TMD2772_ALS_INVALID) { in sendLastSampleAls()
371 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, … in sendLastSampleAls()
623 if (mData.lastAlsSample.idata != sample.idata) { in handle_i2c_event()
625 mData.lastAlsSample.fdata = sample.fdata; in handle_i2c_event()
683 mData.lastAlsSample.idata = AMS_TMD2772_ALS_INVALID; in init_app()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c237 union EmbeddedDataPoint lastAlsSample; member
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()
562 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, … in sendLastSampleAls()
770 if (mTask.lastAlsSample.idata != sample.idata) { in handleAlsSample()
772 mTask.lastAlsSample.fdata = sample.fdata; in handleAlsSample()
980 mTask.lastAlsSample.idata = AMS_TMD4903_ALS_INVALID; in init_app()