Home
last modified time | relevance | path

Searched refs:motor_profile (Results 1 - 8 of 8) sorted by relevance

/third_party/backends/backend/genesys/
H A Dgl846.cpp342 const MotorProfile& motor_profile, 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()
381 scan_exposure_time, step_multiplier, motor_profile); in gl846_init_motor_regs_scan()
394 fast_profile = &motor_profile; in gl846_init_motor_regs_scan()
406 if (motor_profile.motor_vref != -1 && fast_profile->motor_vref != 1) { in gl846_init_motor_regs_scan()
408 vref |= (motor_profile.motor_vref << REG_0x80S_TABLE1_NORMAL) & REG_0x80_TABLE1_NORMAL; in gl846_init_motor_regs_scan()
409 vref |= (motor_profile.motor_vref << REG_0x80S_TABLE2_BACK) & REG_0x80_TABLE2_BACK; 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 in gl846_init_motor_regs_scan()
338 gl846_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, const ScanSession& session, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int scan_exposure_time, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanFlag flags) gl846_init_motor_regs_scan() argument
645 const auto& motor_profile = get_motor_profile(dev->motor.profiles, exposure_time, session); init_regs_for_scan_session() local
[all...]
H A Dgl842.cpp271 const MotorProfile& motor_profile, in gl842_init_motor_regs_scan()
281 exposure, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl842_init_motor_regs_scan()
328 step_multiplier, motor_profile); in gl842_init_motor_regs_scan()
341 fast_profile = &motor_profile; in gl842_init_motor_regs_scan()
352 if (motor_profile.motor_vref != -1 && fast_profile->motor_vref != 1) { in gl842_init_motor_regs_scan()
354 vref |= (motor_profile.motor_vref << REG_0x80S_TABLE1_NORMAL) & REG_0x80_TABLE1_NORMAL; in gl842_init_motor_regs_scan()
355 vref |= (motor_profile.motor_vref << REG_0x80S_TABLE2_BACK) & REG_0x80_TABLE2_BACK; 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()
557 const auto& motor_profile in init_regs_for_scan_session() local
267 gl842_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, const ScanSession& session, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int exposure, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanFlag flags) gl842_init_motor_regs_scan() argument
[all...]
H A Dgl847.cpp306 const MotorProfile& motor_profile, 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()
345 scan_exposure_time, step_multiplier, motor_profile); 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()
358 MotorProfile fast_motor_profile = motor_profile; 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 in gl847_init_motor_regs_scan()
303 gl847_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int scan_exposure_time, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanFlag flags) gl847_init_motor_regs_scan() argument
613 const auto& motor_profile = get_motor_profile(dev->motor.profiles, exposure_time, session); init_regs_for_scan_session() local
[all...]
H A Dgl841.cpp624 Genesys_Register_Set* reg, const MotorProfile& motor_profile, in gl841_init_motor_regs_scan()
636 scan_exposure_time, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl841_init_motor_regs_scan()
653 fast_profile = &motor_profile; in gl841_init_motor_regs_scan()
657 scan_exposure_time, step_multiplier, motor_profile); 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 in gl841_init_motor_regs_scan()
622 gl841_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, const ScanSession& session, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int scan_exposure_time, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanFlag flags) gl841_init_motor_regs_scan() argument
947 const auto& motor_profile = get_motor_profile(dev->motor.profiles, 0, session); init_regs_for_scan_session() local
[all...]
H A Dgl124.cpp425 const MotorProfile& motor_profile, 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()
513 scan_exposure_time, 1, motor_profile); in gl124_init_motor_regs_scan()
529 scan_exposure_time, 1, motor_profile); 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()
723 const auto& motor_profile = get_motor_profile(dev->motor.profiles, exposure_time, session); in init_regs_for_scan_session() local
726 DBG(DBG_info, "%s : scan_step_type=%d\n", __func__, static_cast<unsigned>(motor_profile.step_type)); in init_regs_for_scan_session()
735 gl124_init_motor_regs_scan(dev, sensor, reg, motor_profile, exposure_tim in init_regs_for_scan_session()
422 gl124_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int scan_exposure_time, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanColorMode scan_mode, ScanFlag flags) gl124_init_motor_regs_scan() argument
[all...]
H A Dgl843.cpp668 const MotorProfile& motor_profile, in gl843_init_motor_regs_scan()
678 exposure, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl843_init_motor_regs_scan()
729 step_multiplier, motor_profile); in gl843_init_motor_regs_scan()
742 fast_profile = &motor_profile; in gl843_init_motor_regs_scan()
753 if (motor_profile.motor_vref != -1 && fast_profile->motor_vref != 1) { in gl843_init_motor_regs_scan()
755 vref |= (motor_profile.motor_vref << REG_0x80S_TABLE1_NORMAL) & REG_0x80_TABLE1_NORMAL; in gl843_init_motor_regs_scan()
756 vref |= (motor_profile.motor_vref << REG_0x80S_TABLE2_BACK) & REG_0x80_TABLE2_BACK; 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()
1030 const auto& motor_profile in init_regs_for_scan_session() local
664 gl843_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, const ScanSession& session, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int exposure, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanFlag flags) gl843_init_motor_regs_scan() argument
[all...]
H A Dlow.cpp1741 const MotorProfile& motor_profile) in create_slope_table()
1745 auto table = create_slope_table_for_speed(motor_profile.slope, target_speed_w, in create_slope_table()
1746 motor_profile.step_type, in create_slope_table()
1753 const MotorProfile& motor_profile) in create_slope_table_fastest()
1755 return create_slope_table_for_speed(motor_profile.slope, motor_profile.slope.max_speed_w, in create_slope_table_fastest()
1756 motor_profile.step_type, in create_slope_table_fastest()
1739 create_slope_table(AsicType asic_type, const Genesys_Motor& motor, unsigned ydpi, unsigned exposure, unsigned step_multiplier, const MotorProfile& motor_profile) create_slope_table() argument
1752 create_slope_table_fastest(AsicType asic_type, unsigned step_multiplier, const MotorProfile& motor_profile) create_slope_table_fastest() argument
H A Dlow.h366 const MotorProfile& motor_profile);
369 const MotorProfile& motor_profile);

Completed in 11 milliseconds