Home | History | Annotate | Download | only in dev

Lines Matching defs:down

409 	int down;
425 down = (*sc->sc_model->chip.readpos)(&tp);
426 DPRINTF(("%s: x = %d, y = %d, z = %d, down = %d\n",
427 device_xname(sc->sc_dev), tp.x, tp.y, tp.z, down));
437 if (down) {
447 if (!down) {
452 if (down || sc->sc_buttons != down) {
453 wsmouse_input(sc->sc_wsmousedev, down, tp.x, tp.y, 0, 0,
455 sc->sc_buttons = down;
575 /* power down. */
608 int down;
646 down = (rt != 0);
647 if (down) {
651 pos->z = down;
653 return down;
700 int down;
704 /* check that pen is down */
709 down = (z0 >= 10);
710 if (!down)
737 /* check that pen is still down */
739 down = 0;
740 pos->z = down;
747 return down;
784 #define AKMCTRL_PD_SH 12 /* Power down bit */
836 /* check that pen is still down */