Lines Matching defs:slow_table
656 auto slow_table = create_slope_table(dev->model->asic_type, dev->motor, scan_yres,
659 if (feed_steps < (slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type))) {
661 feed_steps = slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type);
668 if (feed_steps > (slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type)) + 2) {
670 (slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type))) / 2;
677 if ((feed_steps << static_cast<unsigned>(motor_profile.step_type)) < slow_table.table.size()) {
680 feedl = (feed_steps << static_cast<unsigned>(motor_profile.step_type)) - slow_table.table.size();
711 scanner_send_slope_table(dev, sensor, 0, slow_table.table);
712 scanner_send_slope_table(dev, sensor, 1, slow_table.table);
713 scanner_send_slope_table(dev, sensor, 2, slow_table.table);
725 if (min_restep < slow_table.table.size() * 2 + 2) {
726 min_restep = slow_table.table.size() * 2 + 2;
729 if (min_restep < slow_table.table.size() * 2 + 2) {
730 min_restep = slow_table.table.size() * 2 + 2;
733 reg->set8(REG_FWDSTEP, min_restep - slow_table.table.size()*2);
736 reg->set8(REG_BWDSTEP, min_restep - slow_table.table.size()*2);
759 reg->set8(REG_STEPNO, slow_table.table.size() / step_multiplier);
760 reg->set8(REG_FASTNO, slow_table.table.size() / step_multiplier);
761 reg->set8(0x69, slow_table.table.size() / step_multiplier);