Searched refs:scale_mdps (Results 1 – 1 of 1) sorted by relevance
149 static void test_fetch_gyro_with_range(const struct icm42688_fixture *fixture, int32_t scale_mdps, in test_fetch_gyro_with_range() argument153 const int32_t epsilon_10udps = scale_mdps * 75 / 1000; in test_fetch_gyro_with_range()164 sensor_degrees_to_rad((scale_mdps / 1000) + (scale_mdps % 1000 == 0 ? 0 : 1), &values[0]); in test_fetch_gyro_with_range()181 expect_10udps = (int32_t)(gyro_percent[0] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()185 scale_mdps, expect_10udps, actual_10udps); in test_fetch_gyro_with_range()188 expect_10udps = (int32_t)(gyro_percent[1] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()192 scale_mdps, expect_10udps, actual_10udps); in test_fetch_gyro_with_range()195 expect_10udps = (int32_t)(gyro_percent[2] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()199 scale_mdps, expect_10udps, actual_10udps); in test_fetch_gyro_with_range()