Searched refs:x_history (Results 1 – 2 of 2) sorted by relevance
269 dx = (state->x_history[0] + state->x_offset) - x; in cros_ec_sensor_ring_ts_filter_update()281 state->x_history[i] = state->x_history[i - 1] + dx; in cros_ec_sensor_ring_ts_filter_update()295 state->x_history[0] = 0; in cros_ec_sensor_ring_ts_filter_update()317 div_s64(state->median_m * state->x_history[i], in cros_ec_sensor_ring_ts_filter_update()
83 s64 x_history[CROS_EC_SENSORHUB_TS_HISTORY_SIZE]; member