Lines Matching defs:steps
1160 cis_move_motor (Mustek_PP_CIS_dev * dev, SANE_Int steps) /* steps @ maxres */
1162 /* Note: steps is expressed at maximum resolution */
1172 DBG(4, "cis_move_motor: Moving motor %d steps.\n", steps);
1175 if (steps < 0)
1177 DBG(1, "cis_move_motor: trying to move negative steps: %d\n", steps);
1178 steps = 0; /* We must go through the configuration procedure */
1196 * steps as much as possible.
1202 fullSteps = steps & 1;
1203 biSteps = steps >> 1;
2091 * - move the motor 110 steps forward. The TWAIN driver moves 90 steps,
2092 * and I've used 90 steps for a long time too, but occasionally,
2093 * 90 steps is a fraction to short to reach the start of the
2096 * 110 steps. This gives us an additional 1.6 mm slack, which should
2099 * be adjusted if the number of steps is altered.)
2118 /* This field remembers how many steps we still have to go @ max res */
2126 /* Move motor 110 steps @ 300 DPI */
2157 /* Convert steps back to max res size, which are used during skipping */
2442 of steps after calibration. The move routine just ignores negative
2443 steps, so no harm can be done. */