Home
last modified time | relevance | path

Searched refs:smooth_tmp (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dappletouch.c214 int smooth_tmp[ATP_SMOOTHSIZE]; member
399 dev->smooth_tmp[0] = (dev->smooth[0] + dev->smooth[1]) / 2; in atp_calculate_abs()
403 dev->smooth_tmp[i] = (dev->smooth[i - 1] + in atp_calculate_abs()
408 dev->smooth_tmp[i] = (dev->smooth[i - 1] + dev->smooth[i]) / 2; in atp_calculate_abs()
410 memcpy(dev->smooth, dev->smooth_tmp, sizeof(dev->smooth)); in atp_calculate_abs()
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dappletouch.c214 int smooth_tmp[ATP_SMOOTHSIZE]; member
399 dev->smooth_tmp[0] = (dev->smooth[0] + dev->smooth[1]) / 2; in atp_calculate_abs()
403 dev->smooth_tmp[i] = (dev->smooth[i - 1] + in atp_calculate_abs()
408 dev->smooth_tmp[i] = (dev->smooth[i - 1] + dev->smooth[i]) / 2; in atp_calculate_abs()
410 memcpy(dev->smooth, dev->smooth_tmp, sizeof(dev->smooth)); in atp_calculate_abs()

Completed in 4 milliseconds