Lines Matching defs:direction
731 void scanner_move(Genesys_Device& dev, ScanMethod scan_method, unsigned steps, Direction direction)
733 DBG_HELPER_ARGS(dbg, "steps=%d direction=%d", steps, static_cast<unsigned>(direction));
754 if (direction == Direction::BACKWARD && steps > dev.head_pos(ScanHeadId::PRIMARY)) {
758 if (uses_secondary_pos && direction == Direction::BACKWARD &&
790 if (direction == Direction::BACKWARD) {
824 dev.advance_head_pos_by_steps(ScanHeadId::PRIMARY, direction, steps);
826 dev.advance_head_pos_by_steps(ScanHeadId::SECONDARY, direction, steps);
846 direction == Direction::BACKWARD && status.is_at_home))
858 dev.advance_head_pos_by_steps(ScanHeadId::PRIMARY, direction, steps);
860 dev.advance_head_pos_by_steps(ScanHeadId::SECONDARY, direction, steps);
4188 const char* direction)
4207 DBG(DBG_warn, "%s: using resolution %d that is nearest to %d for direction %s\n",
4208 __func__, best_res, resolution, direction);