/third_party/backends/backend/genesys/ |
H A D | tables_motor.cpp | 38 motor.profiles.push_back({MotorSlope::create_from_steps(11000, 3000, 128), StepType::FULL, 0}); in genesys_init_motor_tables() 39 motor.profiles.push_back({MotorSlope::create_from_steps(11000, 3000, 128), StepType::HALF, 0}); in genesys_init_motor_tables() 46 motor.profiles.push_back({MotorSlope::create_from_steps(2000, 1375, 128), StepType::FULL, 0}); in genesys_init_motor_tables() 47 motor.profiles.push_back({MotorSlope::create_from_steps(2000, 1375, 128), StepType::HALF, 0}); in genesys_init_motor_tables() 54 motor.profiles.push_back({MotorSlope::create_from_steps(2289, 2100, 128), StepType::FULL, 0}); in genesys_init_motor_tables() 55 motor.profiles.push_back({MotorSlope::create_from_steps(2289, 2100, 128), StepType::HALF, 0}); in genesys_init_motor_tables() 62 motor.profiles.push_back({MotorSlope::create_from_steps(11000, 3000, 128), StepType::FULL, 0}); in genesys_init_motor_tables() 63 motor.profiles.push_back({MotorSlope::create_from_steps(11000, 3000, 128), StepType::HALF, 0}); in genesys_init_motor_tables() 70 motor.profiles.push_back({MotorSlope::create_from_steps(11000, 3000, 128), StepType::FULL, 0}); in genesys_init_motor_tables() 71 motor.profiles.push_back({MotorSlope::create_from_steps(11000, 3000, 128), StepType in genesys_init_motor_tables() [all...] |
H A D | motor.h | 97 unsigned get_table_step_shifted(unsigned step, StepType step_type) const; 122 StepType step_type, unsigned steps_alignment, 130 MotorProfile(const MotorSlope& a_slope, StepType a_step_type, unsigned a_max_exposure) : in MotorProfile() 135 StepType step_type = StepType::FULL; 161 MotorSlope& get_slope_with_step_type(StepType 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() 179 StepType max_step_type() const in max_step_type() 184 StepType step_type = StepType in max_step_type() [all...] |
H A D | gl646.cpp | 68 StepType steptype; 83 {MotorId::HP3670, 50, 3, StepType::HALF, false, true, 1, 87 {MotorId::HP3670, 75, 3, StepType::FULL, false, true, 1, 91 {MotorId::HP3670, 100, 3, StepType::HALF, false, true, 1, 95 {MotorId::HP3670, 150, 3, StepType::HALF, false, true, 1, 99 {MotorId::HP3670, 300, 3, StepType::HALF, false, true, 1, 103 {MotorId::HP3670, 600, 3, StepType::FULL, false, true, 0, 107 {MotorId::HP3670,1200, 3, StepType::HALF, false, true, 0, 111 {MotorId::HP3670, 50, 1, StepType::HALF, false, true, 1, 115 {MotorId::HP3670, 75, 1, StepType [all...] |
H A D | enums.h | 422 enum class StepType : unsigned class in genesys::ScanMethod 430 std::ostream& operator<<(std::ostream& out, StepType type); 432 inline bool operator<(StepType lhs, StepType rhs) in operator <() 436 inline bool operator<=(StepType lhs, StepType rhs) in operator <=() 440 inline bool operator>(StepType lhs, StepType rhs) in operator >() 444 inline bool operator>=(StepType lhs, StepType rh in operator >() [all...] |
H A D | enums.cpp | 332 std::ostream& operator<<(std::ostream& out, StepType type) in operator <<() 335 case StepType::FULL: out << "1/1"; break; in operator <<() 336 case StepType::HALF: out << "1/2"; break; in operator <<() 337 case StepType::QUARTER: out << "1/4"; break; in operator <<() 338 case StepType::EIGHTH: out << "1/8"; break; in operator <<()
|
H A D | motor.cpp | 31 unsigned MotorSlope::get_table_step_shifted(unsigned step, StepType step_type) const in get_table_step_shifted() 105 StepType step_type, unsigned steps_alignment, in create_slope_table_for_speed()
|
H A D | gl847.cpp | 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() 355 fast_step_type = StepType::QUARTER; 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()
|
/third_party/backends/testsuite/backend/genesys/ |
H A D | tests_motor.cpp | 42 auto table = create_slope_table_for_speed(slope, 5000, StepType::FULL, 4, 8, max_table_size); in test_create_slope_table_small_full_step() 52 table = create_slope_table_for_speed(slope, 3000, StepType::FULL, 4, 8, max_table_size); in test_create_slope_table_small_full_step() 72 auto table = create_slope_table_for_speed(slope, 2000, StepType::FULL, 4, 8, max_table_size); in test_create_slope_table_small_full_step_target_speed_too_high() 92 auto table = create_slope_table_for_speed(slope, 5000, StepType::HALF, 4, 8, max_table_size); in test_create_slope_table_small_half_step() 102 table = create_slope_table_for_speed(slope, 3000, StepType::HALF, 4, 8, max_table_size); in test_create_slope_table_small_half_step() 145 auto table = create_slope_table_for_speed(slope, 3000, StepType::FULL, 4, 8, max_table_size); in test_create_slope_table_large_full_step() 160 table = create_slope_table_for_speed(slope, 1500, StepType::FULL, 4, 8, max_table_size); in test_create_slope_table_large_full_step() 203 auto table = create_slope_table_for_speed(slope, 3000, StepType::HALF, 4, 8, max_table_size); in test_create_slope_table_large_half_step() 218 table = create_slope_table_for_speed(slope, 1500, StepType::HALF, 4, 8, max_table_size); in test_create_slope_table_large_half_step()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 3054 Type *StepType = II.getStep()->getType(); 3056 CastInst::getCastOpcode(CountRoundDown, true, StepType, true); 3057 Value *CRD = B.CreateCast(CastOp, CountRoundDown, StepType, "cast.crd");
|