Lines Matching refs:q31_t
288 const q31_t *value, int8_t shift) in bmi160_emul_backend_set_channel()
292 q31_t scale; in bmi160_emul_backend_set_channel()
375 struct sensor_chan_spec ch, q31_t *lower, in bmi160_emul_backend_get_sample_range()
376 q31_t *upper, q31_t *epsilon, int8_t *shift) in bmi160_emul_backend_get_sample_range()
449 const q31_t *values, int8_t shift) in bmi160_emul_backend_set_offset()
456 q31_t scale; in bmi160_emul_backend_set_offset()
533 enum sensor_attribute attribute, q31_t *min, in bmi160_emul_backend_get_attribute_metadata()
534 q31_t *max, q31_t *increment, int8_t *shift) in bmi160_emul_backend_get_attribute_metadata()
548 *min = (q31_t)((int64_t)(0.0039 * 9.8065 * INT8_MIN * INT32_MAX) >> 3); in bmi160_emul_backend_get_attribute_metadata()
549 *max = (q31_t)((int64_t)(0.0039 * 9.8065 * INT8_MAX * INT32_MAX) >> 3); in bmi160_emul_backend_get_attribute_metadata()
550 *increment = (q31_t)((int64_t)(0.0039 * 9.8065 * INT32_MAX) >> 3); in bmi160_emul_backend_get_attribute_metadata()
565 *min = (q31_t)(0.061 * 3.141593 / 180.0 * -512 * INT32_MAX); in bmi160_emul_backend_get_attribute_metadata()
566 *max = (q31_t)(0.061 * 3.141593 / 180.0 * 511 * INT32_MAX); in bmi160_emul_backend_get_attribute_metadata()
567 *increment = (q31_t)(0.061 * 3.141593 / 180.0 * INT32_MAX); in bmi160_emul_backend_get_attribute_metadata()