Home
last modified time | relevance | path

Searched refs:xy_sensors (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/mouse/
H A Dappletouch.c342 int *xy_sensors = dev->xy_acc + offset; in atp_calculate_abs() local
351 if (xy_sensors[i] < threshold) { in atp_calculate_abs()
371 (!is_increasing && xy_sensors[i - 1] < xy_sensors[i])) { in atp_calculate_abs()
374 } else if (i > 0 && (xy_sensors[i - 1] - xy_sensors[i] > threshold)) { in atp_calculate_abs()
394 dev->smooth[i + 4] = xy_sensors[i] << ATP_SCALE; in atp_calculate_abs()