Lines Matching refs:dx

969 	int dx = 0;  in wsp_intr_callback()  local
1208 dx = sc->pos_x[0] - sc->pre_pos_x[0]; in wsp_intr_callback()
1213 dx = dy = 0; in wsp_intr_callback()
1217 dx = dy = 0; in wsp_intr_callback()
1221 dx = dy = 0; in wsp_intr_callback()
1226 dx = dy = 0; in wsp_intr_callback()
1229 dx = sc->pos_x[sc->finger] - sc->pre_pos_x[sc->finger]; in wsp_intr_callback()
1238 dx = dy = 0; in wsp_intr_callback()
1245 dx = dy = 0; in wsp_intr_callback()
1252 dx = dy = 0; in wsp_intr_callback()
1256 dx, dy, sc->finger); in wsp_intr_callback()
1260 rdz = (dx + sc->rdz) % tun.scale_factor; in wsp_intr_callback()
1261 sc->dz_sum -= (dx + sc->rdz) / tun.scale_factor; in wsp_intr_callback()
1273 rdx = (dx + sc->rdx) % tun.scale_factor; in wsp_intr_callback()
1274 dx = (dx + sc->rdx) / tun.scale_factor; in wsp_intr_callback()
1281 sc->dx_sum += dx; in wsp_intr_callback()
1296 dx = dy = dz = 0; in wsp_intr_callback()
1310 sc->dt_sum += dx * (tun.t_invert ? -1 : 1); in wsp_intr_callback()
1314 dx = dy = dz = 0; in wsp_intr_callback()
1319 dx = dy = dz = 0; in wsp_intr_callback()
1328 abs(dx) < 3 && abs(dy) < 3 && abs(dz) < 3) in wsp_intr_callback()
1329 dx = dy = dz = 0; in wsp_intr_callback()
1332 if (dx || dy || dz) in wsp_intr_callback()
1335 dx, dy, dz, sc->sc_touch, sc->sc_status.button); in wsp_intr_callback()
1336 sc->sc_status.dx += dx; in wsp_intr_callback()
1340 wsp_add_to_queue(sc, dx, -dy, dz, sc->sc_status.button); in wsp_intr_callback()
1377 wsp_add_to_queue(struct wsp_softc *sc, int dx, int dy, int dz, in wsp_add_to_queue() argument
1383 dx = imin(dx, 254); in wsp_add_to_queue()
1384 dx = imax(dx, -256); in wsp_add_to_queue()
1401 buf[1] = dx >> 1; in wsp_add_to_queue()
1403 buf[3] = dx - (dx >> 1); in wsp_add_to_queue()
1622 sc->sc_status.dx = 0; in wsp_ioctl()
1626 if (status->dx || status->dy || status->dz) in wsp_ioctl()