Lines Matching refs:dz
855 int dz = 0;
1129 dz = sc->dz_sum / tun.z_factor;
1133 dz = 0;
1136 dx = dy = dz = 0;
1138 abs(dx) < 3 && abs(dy) < 3 && abs(dz) < 3)
1139 dx = dy = dz = 0;
1142 if (dx || dy || dz)
1144 DPRINTFN(WSP_LLEVEL_INFO, "dx=%5d, dy=%5d, dz=%5d, sc_touch=%x, btn=%x\n",
1145 dx, dy, dz, sc->sc_touch, sc->sc_status.button);
1148 sc->sc_status.dz += dz;
1150 wsp_add_to_queue(sc, dx, -dy, dz, sc->sc_status.button);
1187 wsp_add_to_queue(struct wsp_softc *sc, int dx, int dy, int dz,
1197 dz = imin(dz, 126);
1198 dz = imax(dz, -128);
1217 buf[5] = dz >> 1; /* dz / 2 */
1218 buf[6] = dz - (dz >> 1);/* dz - (dz / 2) */
1374 sc->sc_status.dz = 0;
1376 if (status->dx || status->dy || status->dz)