Lines Matching refs:motor
259 // initialize the motor data stuff
260 for (const auto& motor : *s_motors) {
261 if (dev->model->motor_id == motor.id) {
262 dev->motor = motor;
296 throw SaneException("bad description(s) for fe/gpo/motor=%d/%d/%d\n",
362 the step_type and the corresponding maximum speed from the motor struct */
364 Currently considers maximum motor speed at given step_type, minimum
376 int exposure_by_motor = static_cast<int>((max_speed_motor_w * dev->motor.base_ydpi) / ydpi);
703 throw SaneException(SANE_STATUS_IO_ERROR, "could not stop motor");
871 unsigned feed = static_cast<unsigned>((dev.model->y_offset_sensor_to_ta * dev.motor.base_ydpi) /
1007 // the motor
1167 // shading calibration is done with dev.motor.base_ydpi
1731 (dev.model->y_offset_calib_white * (dev.motor.base_ydpi)) / MM_PER_INCH);
1953 move = (dev.model->y_offset_calib_white * (dev.motor.base_ydpi)) / MM_PER_INCH;
1966 move = static_cast<float>((move * (dev.motor.base_ydpi / 4)) / MM_PER_INCH);
2213 * scans a white area with motor and lamp off to get the per CCD pixel offset
2279 // turn off motor and lamp power for flatbed scanners, but not for sheetfed scanners
2478 // turn off motor and lamp power for flatbed scanners, but not for sheetfed scanners
2565 // (So the motor must be on.)
2621 // turn on motor and lamp power