Lines Matching defs:dz
947 int dz = 0;
1265 dz = (sc->dz_sum / tun.z_factor) * (tun.z_invert ? -1 : 1);
1267 dz = 0;
1270 dx = dy = dz = 0;
1272 abs(dx) < 3 && abs(dy) < 3 && abs(dz) < 3)
1273 dx = dy = dz = 0;
1276 if (dx || dy || dz)
1278 DPRINTFN(WSP_LLEVEL_INFO, "dx=%5d, dy=%5d, dz=%5d, sc_touch=%x, btn=%x\n",
1279 dx, dy, dz, sc->sc_touch, sc->sc_status.button);
1282 sc->sc_status.dz += dz;
1284 wsp_add_to_queue(sc, dx, -dy, dz, sc->sc_status.button);
1321 wsp_add_to_queue(struct wsp_softc *sc, int dx, int dy, int dz,
1331 dz = imin(dz, 126);
1332 dz = imax(dz, -128);
1351 buf[5] = dz >> 1; /* dz / 2 */
1352 buf[6] = dz - (dz >> 1);/* dz - (dz / 2) */
1567 sc->sc_status.dz = 0;
1569 if (status->dx || status->dy || status->dz)