/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/ |
D | icm42688_emul.c | 181 q31_t *epsilon, int8_t *shift) in icm42688_emul_get_accel_ranges() argument 189 *epsilon = (3 * SENSOR_G * Q31_SCALE / sensitivity / 1000000LL / 2) >> *shift; in icm42688_emul_get_accel_ranges() 272 q31_t *epsilon, int8_t *shift) in icm42688_emul_get_gyro_ranges() argument 292 *epsilon = (3 * SENSOR_PI * Q31_SCALE * 10LL / 1000000LL / 180LL / sensitivity / 2LL) >> in icm42688_emul_get_gyro_ranges() 300 q31_t *upper, q31_t *epsilon, int8_t *shift) in icm42688_emul_backend_get_sample_range() argument 302 if (!lower || !upper || !epsilon || !shift) { in icm42688_emul_backend_get_sample_range() 312 *epsilon = (int64_t)(0.0076 * Q31_SCALE) >> *shift; in icm42688_emul_backend_get_sample_range() 317 icm42688_emul_get_accel_ranges(target, lower, upper, epsilon, shift); in icm42688_emul_backend_get_sample_range() 322 icm42688_emul_get_gyro_ranges(target, lower, upper, epsilon, shift); in icm42688_emul_backend_get_sample_range()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | emul_sensor.h | 34 q31_t *upper, q31_t *epsilon, int8_t *shift); 106 q31_t *upper, q31_t *epsilon, int8_t *shift) in emul_sensor_backend_get_sample_range() argument 115 return api->get_sample_range(target, ch, lower, upper, epsilon, shift); in emul_sensor_backend_get_sample_range()
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bma4xx/ |
D | bma4xx_emul.c | 255 q31_t *upper, q31_t *epsilon, int8_t *shift) in bma4xx_emul_backend_get_sample_range() argument 257 if (!lower || !upper || !epsilon || !shift) { in bma4xx_emul_backend_get_sample_range() 279 *epsilon = BIT(31 - 5 - 12 + 1); in bma4xx_emul_backend_get_sample_range() 286 *epsilon = BIT(31 - 6 - 12 + 2); in bma4xx_emul_backend_get_sample_range() 293 *epsilon = BIT(31 - 7 - 12 + 3); in bma4xx_emul_backend_get_sample_range() 300 *epsilon = BIT(31 - 8 - 12 + 4); in bma4xx_emul_backend_get_sample_range()
|
/Zephyr-Core-3.7.0/tests/drivers/build_all/sensor/src/ |
D | generic_test.c | 99 q31_t epsilon; in run_generic_test() member 116 &channel_table[ch].epsilon, &shift) == 0) { in run_generic_test() 121 channel_table[ch].epsilon, shift); in run_generic_test() 252 int64_t epsilon_shifted = (int64_t)channel_table[ch].epsilon in run_generic_test()
|
/Zephyr-Core-3.7.0/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c_emul.c | 182 q31_t *upper, q31_t *epsilon, int8_t *shift) in akm09918c_emul_backend_get_sample_range() argument 186 if (!lower || !upper || !epsilon || !shift) { in akm09918c_emul_backend_get_sample_range() 198 *epsilon = (int64_t)(0.0015 * ((int64_t)INT32_MAX + 1)) >> *shift; in akm09918c_emul_backend_get_sample_range()
|
/Zephyr-Core-3.7.0/drivers/sensor/amd_sb_tsi/ |
D | sb_tsi_emul.c | 125 q31_t *lower, q31_t *upper, q31_t *epsilon, int8_t *shift) in sb_tsi_emul_get_sample_range() argument 134 *epsilon = (int64_t)(0.125 * ((int64_t)INT32_MAX + 1)) >> *shift; in sb_tsi_emul_get_sample_range()
|
/Zephyr-Core-3.7.0/drivers/sensor/f75303/ |
D | f75303_emul.c | 143 q31_t *lower, q31_t *upper, q31_t *epsilon, int8_t *shift) in f75303_emul_get_sample_range() argument 154 *epsilon = (int64_t)(0.125 * ((int64_t)INT32_MAX + 1)) >> *shift; in f75303_emul_get_sample_range()
|
/Zephyr-Core-3.7.0/tests/lib/cmsis_dsp/bayes/src/ |
D | f16.c | 43 inst.epsilon = params[class_count + (2 * class_count * vec_dims)]; in ZTEST()
|
D | f32.c | 41 inst.epsilon = params[class_count + (2 * class_count * vec_dims)]; in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi160/ |
D | emul_bmi160.c | 371 q31_t *upper, q31_t *epsilon, int8_t *shift) in bmi160_emul_backend_get_sample_range() argument 402 *epsilon = intermediate * 2 / (1 << (16 - *shift)); in bmi160_emul_backend_get_sample_range() 435 *epsilon = intermediate * 2 / (1 << (16 - *shift)); in bmi160_emul_backend_get_sample_range()
|
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_api/src/ |
D | main.c | 20 #define WITHIN_ERROR(var, target, epsilon) (llabs((int64_t) ((target) - (var))) <= (epsilon)) argument
|