Searched refs:y_history (Results 1 – 2 of 2) sorted by relevance
272 dy = (state->y_history[0] + state->y_offset) - y; in cros_ec_sensor_ring_ts_filter_update()282 state->y_history[i] = state->y_history[i - 1] + dy; in cros_ec_sensor_ring_ts_filter_update()296 state->y_history[0] = 0; in cros_ec_sensor_ring_ts_filter_update()316 error[i] = state->y_history[i] - in cros_ec_sensor_ring_ts_filter_update()
84 s64 y_history[CROS_EC_SENSORHUB_TS_HISTORY_SIZE]; member