Searched refs:fast_profile (Results 1 - 4 of 4) sorted by relevance
/third_party/backends/backend/genesys/ |
H A D | gl842.cpp | 339 const auto* fast_profile = get_motor_profile_ptr(dev->motor.fast_profiles, 0, session); in gl842_init_motor_regs_scan() local 340 if (fast_profile == nullptr) { in gl842_init_motor_regs_scan() 341 fast_profile = &motor_profile; in gl842_init_motor_regs_scan() 345 *fast_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() 356 vref |= (fast_profile->motor_vref << REG_0x80S_TABLE4_FAST) & REG_0x80_TABLE4_FAST; in gl842_init_motor_regs_scan() 357 vref |= (fast_profile->motor_vref << REG_0x80S_TABLE5_GO_HOME) & REG_0x80_TABLE5_GO_HOME; 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 D | gl846.cpp | 392 const auto* fast_profile = get_motor_profile_ptr(dev->motor.fast_profiles, 0, session); in gl846_init_motor_regs_scan() local 393 if (fast_profile == nullptr) { in gl846_init_motor_regs_scan() 394 fast_profile = &motor_profile; in gl846_init_motor_regs_scan() 398 *fast_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() 410 vref |= (fast_profile->motor_vref << REG_0x80S_TABLE4_FAST) & REG_0x80_TABLE4_FAST; in gl846_init_motor_regs_scan() 411 vref |= (fast_profile->motor_vref << REG_0x80S_TABLE5_GO_HOME) & REG_0x80_TABLE5_GO_HOME; in gl846_init_motor_regs_scan()
|
H A D | gl841.cpp | 572 const auto* fast_profile = get_motor_profile_ptr(dev->motor.fast_profiles, 0, session); in gl841_init_motor_regs_feed() local 573 if (fast_profile == nullptr) { in gl841_init_motor_regs_feed() 574 fast_profile = get_motor_profile_ptr(dev->motor.profiles, 0, session); in gl841_init_motor_regs_feed() 577 *fast_profile); in gl841_init_motor_regs_feed() 651 const auto* fast_profile = get_motor_profile_ptr(dev->motor.fast_profiles, 0, session); in gl841_init_motor_regs_scan() local 652 if (fast_profile == nullptr) { in gl841_init_motor_regs_scan() 653 fast_profile = &motor_profile; in gl841_init_motor_regs_scan() 665 *fast_profile); 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 D | gl843.cpp | 740 const auto* fast_profile = get_motor_profile_ptr(dev->motor.fast_profiles, 0, session); in gl843_init_motor_regs_scan() local 741 if (fast_profile == nullptr) { in gl843_init_motor_regs_scan() 742 fast_profile = &motor_profile; in gl843_init_motor_regs_scan() 746 *fast_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() 757 vref |= (fast_profile->motor_vref << REG_0x80S_TABLE4_FAST) & REG_0x80_TABLE4_FAST; in gl843_init_motor_regs_scan() 758 vref |= (fast_profile->motor_vref << REG_0x80S_TABLE5_GO_HOME) & REG_0x80_TABLE5_GO_HOME; 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()
|
Completed in 8 milliseconds