Symbol: smoother
sys/dev/misc/psm/psm.c
3788
smoother_t *smoother;
sys/dev/misc/psm/psm.c
3794
smoother = &sc->smoother[0];
sys/dev/misc/psm/psm.c
3802
smoother = &sc->smoother[i];
sys/dev/misc/psm/psm.c
3895
queue_len = smoother->queue_len + 1;
sys/dev/misc/psm/psm.c
3896
start_x = smoother->start_x;
sys/dev/misc/psm/psm.c
3897
start_y = smoother->start_y;
sys/dev/misc/psm/psm.c
4024
dx = abs(smoother->queue[smoother->queue_cursor].x -
sys/dev/misc/psm/psm.c
4025
smoother->start_x);
sys/dev/misc/psm/psm.c
4026
dy = abs(smoother->queue[smoother->queue_cursor].y -
sys/dev/misc/psm/psm.c
4027
smoother->start_y);
sys/dev/misc/psm/psm.c
4042
smoother->queue_len));
sys/dev/misc/psm/psm.c
4046
smoother->queue_len >= sc->syninfo.tap_min_queue) {
sys/dev/misc/psm/psm.c
4151
smoother_t *smoother = &sc->smoother[smoother_id];
sys/dev/misc/psm/psm.c
4218
if (smoother->active == 0) {
sys/dev/misc/psm/psm.c
4222
smoother->start_x = x0;
sys/dev/misc/psm/psm.c
4223
smoother->start_y = y0;
sys/dev/misc/psm/psm.c
4227
smoother->queue_cursor = SYNAPTICS_PACKETQUEUE;
sys/dev/misc/psm/psm.c
4228
smoother->queue_len = 0;
sys/dev/misc/psm/psm.c
4231
smoother->avg_dx = 0;
sys/dev/misc/psm/psm.c
4232
smoother->avg_dy = 0;
sys/dev/misc/psm/psm.c
4235
smoother->squelch_x = 0;
sys/dev/misc/psm/psm.c
4236
smoother->squelch_y = 0;
sys/dev/misc/psm/psm.c
4239
smoother->active = 1;
sys/dev/misc/psm/psm.c
4242
cursor = smoother->queue_cursor;
sys/dev/misc/psm/psm.c
4243
dx = x0 - smoother->queue[cursor].x;
sys/dev/misc/psm/psm.c
4244
dy = y0 - smoother->queue[cursor].y;
sys/dev/misc/psm/psm.c
4251
cursor = SYNAPTICS_QUEUE_CURSOR(smoother->queue_cursor - 1);
sys/dev/misc/psm/psm.c
4252
smoother->queue[cursor].x = x0;
sys/dev/misc/psm/psm.c
4253
smoother->queue[cursor].y = y0;
sys/dev/misc/psm/psm.c
4254
smoother->queue_cursor = cursor;
sys/dev/misc/psm/psm.c
4255
if (smoother->queue_len < SYNAPTICS_PACKETQUEUE)
sys/dev/misc/psm/psm.c
4256
smoother->queue_len++;
sys/dev/misc/psm/psm.c
4262
if (smoother->queue_len < gest->window_min)
sys/dev/misc/psm/psm.c
4296
window = imin(smoother->queue_len, window_max);
sys/dev/misc/psm/psm.c
4298
dxp = abs(x0 - smoother->queue[peer].x) + 1;
sys/dev/misc/psm/psm.c
4299
dyp = abs(y0 - smoother->queue[peer].y) + 1;
sys/dev/misc/psm/psm.c
4320
smoother->avg_dx =
sys/dev/misc/psm/psm.c
4322
weight_prev_x * smoother->avg_dx) /
sys/dev/misc/psm/psm.c
4325
smoother->avg_dy =
sys/dev/misc/psm/psm.c
4327
weight_prev_y * smoother->avg_dy) /
sys/dev/misc/psm/psm.c
4332
smoother->avg_dx / multiplicator,
sys/dev/misc/psm/psm.c
4333
smoother->avg_dy / multiplicator));
sys/dev/misc/psm/psm.c
4336
smoother->squelch_x += smoother->avg_dx;
sys/dev/misc/psm/psm.c
4337
dxp = smoother->squelch_x / (div_x * multiplicator);
sys/dev/misc/psm/psm.c
4338
smoother->squelch_x = smoother->squelch_x %
sys/dev/misc/psm/psm.c
4341
smoother->squelch_y += smoother->avg_dy;
sys/dev/misc/psm/psm.c
4342
dyp = smoother->squelch_y / (div_y * multiplicator);
sys/dev/misc/psm/psm.c
4343
smoother->squelch_y = smoother->squelch_y %
sys/dev/misc/psm/psm.c
4349
if (is_fuzzy == smoother->is_fuzzy) {
sys/dev/misc/psm/psm.c
4379
smoother->is_fuzzy = is_fuzzy;
sys/dev/misc/psm/psm.c
4387
smoother->active = 0;
sys/dev/misc/psm/psm.c
445
smoother_t smoother[PSM_FINGERS]; /* Motion smoothing */