Home
last modified time | relevance | path

Searched refs:x_history (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dcros_ec_sensorhub_ring.c241 dx = (state->x_history[0] + state->x_offset) - x; in cros_ec_sensor_ring_ts_filter_update()
253 state->x_history[i] = state->x_history[i - 1] + dx; in cros_ec_sensor_ring_ts_filter_update()
267 state->x_history[0] = 0; in cros_ec_sensor_ring_ts_filter_update()
289 div_s64(state->median_m * state->x_history[i], in cros_ec_sensor_ring_ts_filter_update()
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dcros_ec_sensorhub_ring.c241 dx = (state->x_history[0] + state->x_offset) - x; in cros_ec_sensor_ring_ts_filter_update()
253 state->x_history[i] = state->x_history[i - 1] + dx; in cros_ec_sensor_ring_ts_filter_update()
267 state->x_history[0] = 0; in cros_ec_sensor_ring_ts_filter_update()
289 div_s64(state->median_m * state->x_history[i], in cros_ec_sensor_ring_ts_filter_update()
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dcros_ec_sensorhub.h72 * @x_history: The past history of x, relative to x_offset.
83 s64 x_history[CROS_EC_SENSORHUB_TS_HISTORY_SIZE]; member
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dcros_ec_sensorhub.h72 * @x_history: The past history of x, relative to x_offset.
83 s64 x_history[CROS_EC_SENSORHUB_TS_HISTORY_SIZE]; member

Completed in 4 milliseconds