Home
last modified time | relevance | path

Searched refs:step_type (Results 1 - 14 of 14) sorted by relevance

/third_party/backends/backend/genesys/
H A Dmotor.h97 unsigned get_table_step_shifted(unsigned step, StepType step_type) const;
122 StepType step_type, unsigned steps_alignment,
131 slope{a_slope}, step_type{a_step_type}, max_exposure{a_max_exposure} in MotorProfile()
135 StepType step_type = StepType::FULL; member
161 MotorSlope& get_slope_with_step_type(StepType step_type) in get_slope_with_step_type()
164 if (p.step_type == step_type) in get_slope_with_step_type()
170 const MotorSlope& get_slope_with_step_type(StepType step_type) const in get_slope_with_step_type()
173 if (p.step_type == step_type) in get_slope_with_step_type()
184 StepType step_type = StepType::FULL; max_step_type() local
[all...]
H A Dmotor.cpp31 unsigned MotorSlope::get_table_step_shifted(unsigned step, StepType step_type) const in get_table_step_shifted()
35 return initial_speed_w >> static_cast<unsigned>(step_type); in get_table_step_shifted()
41 return static_cast<unsigned>(1.0f / speed_v) >> static_cast<unsigned>(step_type); in get_table_step_shifted()
105 StepType step_type, unsigned steps_alignment, in create_slope_table_for_speed()
108 DBG_HELPER_ARGS(dbg, "target_speed_w: %d, step_type: %d, steps_alignment: %d, min_size: %d", in create_slope_table_for_speed()
109 target_speed_w, static_cast<unsigned>(step_type), steps_alignment, min_size); in create_slope_table_for_speed()
112 unsigned step_shift = static_cast<unsigned>(step_type); in create_slope_table_for_speed()
131 unsigned current = slope.get_table_step_shifted(table.table.size(), step_type); in create_slope_table_for_speed()
168 << " step_type: " << profile.step_type << '\ in operator <<()
104 create_slope_table_for_speed(const MotorSlope& slope, unsigned target_speed_w, StepType step_type, unsigned steps_alignment, unsigned min_size, unsigned max_size) create_slope_table_for_speed() argument
[all...]
H A Dtables_motor.cpp291 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
298 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
305 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
319 profile.step_type = StepType::HALF; in genesys_init_motor_tables()
326 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
333 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
346 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
354 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
362 profile.step_type = StepType::QUARTER; in genesys_init_motor_tables()
377 profile.step_type in genesys_init_motor_tables()
[all...]
H A Dgl847.cpp314 DBG_HELPER_ARGS(dbg, "scan_exposure_time=%d, can_yres=%d, step_type=%d, scan_lines=%d, " in gl847_init_motor_regs_scan()
316 scan_exposure_time, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl847_init_motor_regs_scan()
353 StepType fast_step_type = motor_profile.step_type; in gl847_init_motor_regs_scan()
354 if (static_cast<unsigned>(motor_profile.step_type) >= static_cast<unsigned>(StepType::QUARTER)) { in gl847_init_motor_regs_scan()
359 fast_motor_profile.step_type = fast_step_type; in gl847_init_motor_regs_scan()
374 feedl <<= static_cast<unsigned>(motor_profile.step_type); in gl847_init_motor_regs_scan()
398 if (motor_profile.step_type == StepType::QUARTER) { in gl847_init_motor_regs_scan()
400 } else if (static_cast<unsigned>(motor_profile.step_type) > static_cast<unsigned>(StepType::QUARTER)) { in gl847_init_motor_regs_scan()
428 reg->set24(REG_0x60, z1 | (static_cast<unsigned>(motor_profile.step_type) << (16+REG_0x60S_STEPSEL))); in gl847_init_motor_regs_scan()
429 reg->set24(REG_0x63, z2 | (static_cast<unsigned>(motor_profile.step_type) << (1 in gl847_init_motor_regs_scan()
[all...]
H A Dgl841.cpp636 scan_exposure_time, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl841_init_motor_regs_scan()
659 if (feed_steps < (slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type))) { in gl841_init_motor_regs_scan()
661 feed_steps = slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type); in gl841_init_motor_regs_scan()
668 if (feed_steps > (slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type)) + 2) { in gl841_init_motor_regs_scan()
670 (slow_table.table.size() >> static_cast<unsigned>(motor_profile.step_type))) / 2; in gl841_init_motor_regs_scan()
677 if ((feed_steps << static_cast<unsigned>(motor_profile.step_type)) < slow_table.table.size()) { in gl841_init_motor_regs_scan()
680 feedl = (feed_steps << static_cast<unsigned>(motor_profile.step_type)) - slow_table.table.size(); in gl841_init_motor_regs_scan()
757 reg->set8(0x67, 0x3f | (static_cast<unsigned>(motor_profile.step_type) << 6)); in gl841_init_motor_regs_scan()
758 reg->set8(0x68, 0x3f | (static_cast<unsigned>(fast_profile->step_type) << 6)); in gl841_init_motor_regs_scan()
H A Dgl846.cpp350 DBG_HELPER_ARGS(dbg, "scan_exposure_time=%d, scan_yres=%d, step_type=%d, scan_lines=%d, " in gl846_init_motor_regs_scan()
352 scan_exposure_time, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl846_init_motor_regs_scan()
418 feedl <<= static_cast<unsigned>(motor_profile.step_type); in gl846_init_motor_regs_scan()
443 if (motor_profile.step_type > 1) in gl846_init_motor_regs_scan()
445 if (motor_profile.step_type < 3) in gl846_init_motor_regs_scan()
486 reg->set24(REG_0x60, z1 | (static_cast<unsigned>(motor_profile.step_type) << (16 + REG_0x60S_STEPSEL))); in gl846_init_motor_regs_scan()
487 reg->set24(REG_0x63, z2 | (static_cast<unsigned>(motor_profile.step_type) << (16 + REG_0x63S_FSTPSEL))); in gl846_init_motor_regs_scan()
H A Dgl842.cpp279 DBG_HELPER_ARGS(dbg, "exposure=%d, scan_yres=%d, step_type=%d, scan_lines=%d, scan_dummy=%d, " in gl842_init_motor_regs_scan()
281 exposure, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl842_init_motor_regs_scan()
363 feedl <<= static_cast<unsigned>(motor_profile.step_type); in gl842_init_motor_regs_scan()
401 reg->set8_mask(REG_0x67, static_cast<unsigned>(motor_profile.step_type) << REG_0x67S_STEPSEL, in gl842_init_motor_regs_scan()
403 reg->set8_mask(REG_0x68, static_cast<unsigned>(fast_profile->step_type) << REG_0x68S_FSTPSEL, in gl842_init_motor_regs_scan()
H A Dgl124.cpp442 DBG(DBG_info, "%s : scan_exposure_time=%d, scan_yres=%d, step_type=%d, scan_lines=%d, " in gl124_init_motor_regs_scan()
444 scan_yres, static_cast<unsigned>(motor_profile.step_type), scan_lines, scan_dummy, in gl124_init_motor_regs_scan()
539 feedl <<= static_cast<unsigned>(motor_profile.step_type); in gl124_init_motor_regs_scan()
570 reg->set8(REG_0xA0, (static_cast<unsigned>(motor_profile.step_type) << REG_0xA0S_STEPSEL) | in gl124_init_motor_regs_scan()
571 (static_cast<unsigned>(motor_profile.step_type) << REG_0xA0S_FSTPSEL)); in gl124_init_motor_regs_scan()
726 DBG(DBG_info, "%s : scan_step_type=%d\n", __func__, static_cast<unsigned>(motor_profile.step_type)); in init_regs_for_scan_session()
H A Dgl843.cpp676 DBG_HELPER_ARGS(dbg, "exposure=%d, scan_yres=%d, step_type=%d, scan_lines=%d, scan_dummy=%d, " in gl843_init_motor_regs_scan()
678 exposure, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl843_init_motor_regs_scan()
764 feedl <<= static_cast<unsigned>(motor_profile.step_type); in gl843_init_motor_regs_scan()
803 reg->set8_mask(REG_0x67, static_cast<unsigned>(motor_profile.step_type) << REG_0x67S_STEPSEL, 0xc0); in gl843_init_motor_regs_scan()
804 reg->set8_mask(REG_0x68, static_cast<unsigned>(fast_profile->step_type) << REG_0x68S_FSTPSEL, 0xc0); in gl843_init_motor_regs_scan()
H A Dlow.cpp1746 motor_profile.step_type, in create_slope_table()
1756 motor_profile.step_type, in create_slope_table_fastest()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dloop_descriptor.cpp708 const analysis::Integer* step_type = in FindNumberOfIterations() local
711 if (step_type->IsSigned()) { in FindNumberOfIterations()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dloop_descriptor.cpp708 const analysis::Integer* step_type = in FindNumberOfIterations() local
711 if (step_type->IsSigned()) { in FindNumberOfIterations()
/third_party/spirv-tools/source/opt/
H A Dloop_descriptor.cpp702 const analysis::Integer* step_type = in FindNumberOfIterations() local
705 if (step_type->IsSigned()) { in FindNumberOfIterations()
/third_party/backends/backend/
H A Dhp3900_rts8822.c2667 SANE_Int data, v12dcf8, coord_y, step_type; in Motor_Move() local
2693 step_type = 8; in Motor_Move()
2696 step_type = 4; in Motor_Move()
2699 step_type = 2; in Motor_Move()
2702 step_type = 1; in Motor_Move()
2705 step_type = 0; in Motor_Move()
2709 coord_y = (mtrpos->coord_y * step_type) & 0xffff; in Motor_Move()
8473 SANE_Int step_size, step_type, dummyline, myvalue, lf02c; in RTS_Setup_Motor() local
8496 step_type = 8; in RTS_Setup_Motor()
8499 step_type in RTS_Setup_Motor()
[all...]

Completed in 32 milliseconds