Symbol: smoother
sys/dev/atkbdc/psm.c
3778
smoother_t *smoother;
sys/dev/atkbdc/psm.c
3784
smoother = &sc->smoother[0];
sys/dev/atkbdc/psm.c
3792
smoother = &sc->smoother[i];
sys/dev/atkbdc/psm.c
3885
queue_len = smoother->queue_len + 1;
sys/dev/atkbdc/psm.c
3886
start_x = smoother->start_x;
sys/dev/atkbdc/psm.c
3887
start_y = smoother->start_y;
sys/dev/atkbdc/psm.c
4014
dx = abs(smoother->queue[smoother->queue_cursor].x -
sys/dev/atkbdc/psm.c
4015
smoother->start_x);
sys/dev/atkbdc/psm.c
4016
dy = abs(smoother->queue[smoother->queue_cursor].y -
sys/dev/atkbdc/psm.c
4017
smoother->start_y);
sys/dev/atkbdc/psm.c
4032
smoother->queue_len));
sys/dev/atkbdc/psm.c
4036
smoother->queue_len >= sc->syninfo.tap_min_queue) {
sys/dev/atkbdc/psm.c
4141
smoother_t *smoother = &sc->smoother[smoother_id];
sys/dev/atkbdc/psm.c
4208
if (smoother->active == 0) {
sys/dev/atkbdc/psm.c
4212
smoother->start_x = x0;
sys/dev/atkbdc/psm.c
4213
smoother->start_y = y0;
sys/dev/atkbdc/psm.c
4217
smoother->queue_cursor = SYNAPTICS_PACKETQUEUE;
sys/dev/atkbdc/psm.c
4218
smoother->queue_len = 0;
sys/dev/atkbdc/psm.c
4221
smoother->avg_dx = 0;
sys/dev/atkbdc/psm.c
4222
smoother->avg_dy = 0;
sys/dev/atkbdc/psm.c
4225
smoother->squelch_x = 0;
sys/dev/atkbdc/psm.c
4226
smoother->squelch_y = 0;
sys/dev/atkbdc/psm.c
4229
smoother->active = 1;
sys/dev/atkbdc/psm.c
4232
cursor = smoother->queue_cursor;
sys/dev/atkbdc/psm.c
4233
dx = x0 - smoother->queue[cursor].x;
sys/dev/atkbdc/psm.c
4234
dy = y0 - smoother->queue[cursor].y;
sys/dev/atkbdc/psm.c
4241
cursor = SYNAPTICS_QUEUE_CURSOR(smoother->queue_cursor - 1);
sys/dev/atkbdc/psm.c
4242
smoother->queue[cursor].x = x0;
sys/dev/atkbdc/psm.c
4243
smoother->queue[cursor].y = y0;
sys/dev/atkbdc/psm.c
4244
smoother->queue_cursor = cursor;
sys/dev/atkbdc/psm.c
4245
if (smoother->queue_len < SYNAPTICS_PACKETQUEUE)
sys/dev/atkbdc/psm.c
4246
smoother->queue_len++;
sys/dev/atkbdc/psm.c
4252
if (smoother->queue_len < gest->window_min)
sys/dev/atkbdc/psm.c
4286
window = imin(smoother->queue_len, window_max);
sys/dev/atkbdc/psm.c
4288
dxp = abs(x0 - smoother->queue[peer].x) + 1;
sys/dev/atkbdc/psm.c
4289
dyp = abs(y0 - smoother->queue[peer].y) + 1;
sys/dev/atkbdc/psm.c
4310
smoother->avg_dx =
sys/dev/atkbdc/psm.c
4312
weight_prev_x * smoother->avg_dx) /
sys/dev/atkbdc/psm.c
4315
smoother->avg_dy =
sys/dev/atkbdc/psm.c
4317
weight_prev_y * smoother->avg_dy) /
sys/dev/atkbdc/psm.c
4322
smoother->avg_dx / multiplicator,
sys/dev/atkbdc/psm.c
4323
smoother->avg_dy / multiplicator));
sys/dev/atkbdc/psm.c
4326
smoother->squelch_x += smoother->avg_dx;
sys/dev/atkbdc/psm.c
4327
dxp = smoother->squelch_x / (div_x * multiplicator);
sys/dev/atkbdc/psm.c
4328
smoother->squelch_x = smoother->squelch_x %
sys/dev/atkbdc/psm.c
4331
smoother->squelch_y += smoother->avg_dy;
sys/dev/atkbdc/psm.c
4332
dyp = smoother->squelch_y / (div_y * multiplicator);
sys/dev/atkbdc/psm.c
4333
smoother->squelch_y = smoother->squelch_y %
sys/dev/atkbdc/psm.c
4339
if (is_fuzzy == smoother->is_fuzzy) {
sys/dev/atkbdc/psm.c
4369
smoother->is_fuzzy = is_fuzzy;
sys/dev/atkbdc/psm.c
4377
smoother->active = 0;
sys/dev/atkbdc/psm.c
443
smoother_t smoother[PSM_FINGERS]; /* Motion smoothing */