Lines Matching defs:distance
851 move (UMAX_Handle * scan, int distance, UMAX_Speed fine)
882 SANE_Bool rev = distance < 0;
883 int skip = (rev ? -distance : distance) - 1;
885 DBG (9, "move: distance = %d, scanner_ypos = %d\n", distance,
890 if (distance == 0)
910 (fine == UMAX_FINE ? distance : 2 * distance + (rev ? -1 : 1));
947 move_2100U (UMAX_Handle * scan, int distance, UMAX_Speed fine)
979 SANE_Bool rev = distance < 0;
980 int skip = (rev ? -distance : distance) - 1;
982 DBG (9, "move: distance = %d, scanner_ypos = %d\n", distance,
987 if (distance == 0)
1007 (fine == UMAX_FINE ? distance : 2 * distance + (rev ? -1 : 1));