Home
last modified time | relevance | path

Searched refs:nearest_offset (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.c265 over_temp_cal->nearest_offset = &over_temp_cal->model_data[0]; in overTempCalInit()
661 over_temp_cal->nearest_offset = over_temp_cal->latest_offset; in overTempCalUpdateSensorEstimate()
861 CHRE_ASSERT_NOT_NULL(over_temp_cal->nearest_offset); in compareAndCompensateWithNearest()
865 memcpy(compensated_offset, over_temp_cal->nearest_offset->offset, in compareAndCompensateWithNearest()
868 over_temp_cal->nearest_offset->offset_temp_celsius; in compareAndCompensateWithNearest()
960 if (over_temp_cal->nearest_offset != NULL) { in updateCalOffset()
963 ? over_temp_cal->nearest_offset->offset_age_nanos + in updateCalOffset()
965 : over_temp_cal->nearest_offset->offset_age_nanos; in updateCalOffset()
981 model_points_available && over_temp_cal->nearest_offset != NULL && in updateCalOffset()
983 over_temp_cal->nearest_offset->offset_temp_celsius) < in updateCalOffset()
[all …]
Dover_temp_cal.h248 struct OverTempModelThreeAxis *nearest_offset; member