Home
last modified time | relevance | path

Searched refs:q31_t (Results 51 – 75 of 85) sorted by relevance

1234

/Zephyr-latest/tests/drivers/build_all/sensor/src/
Dgeneric_test.c99 q31_t expected_values[CONFIG_GENERIC_SENSOR_TEST_NUM_EXPECTED_VALS]; in run_generic_test()
100 q31_t epsilon; in run_generic_test()
112 q31_t lower, upper; in run_generic_test()
217 q31_t q; in run_generic_test()
/Zephyr-latest/subsys/sensing/sensor/hinge_angle/
Dhinge_angle.c99 static q31_t calc_hinge_angle(struct hinge_angle_context *data) in calc_hinge_angle()
101 q31_t val; in calc_hinge_angle()
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/
Df32.c20 #define ABS_ERROR_THRESH_Q31 ((q31_t)80)
74 const uint32_t *input1, const q31_t *ref, size_t length) in test_arm_float_to_q31()
76 q31_t *output; in test_arm_float_to_q31()
79 output = malloc(length * sizeof(q31_t)); in test_arm_float_to_q31()
Df16.c26 #define ABS_ERROR_THRESH_Q31 ((q31_t)80)
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/
Dcmsis_dsp_wrapper.c57 q31_t biquadStateBandQ31[4 * M]; in real_block_iir_32()
/Zephyr-latest/tests/lib/cmsis_dsp/common/
Dmath_helper.h197 static inline float arm_snr_q31(const q31_t *pRef, const q31_t *pTest, in arm_snr_q31()
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_decoder.c43 static int akm09918c_convert_raw_to_q31(int16_t reading, q31_t *out) in akm09918c_convert_raw_to_q31()
/Zephyr-latest/tests/drivers/sensor/bmi160/src/
Dfixture.c17 q31_t value; in sensor_bmi160_setup_emulator()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_decoder.c43 static inline void adxl362_temp_convert_q31(q31_t *out, int16_t data_in) in adxl362_temp_convert_q31()
56 static inline void adxl362_accel_convert_q31(q31_t *out, int16_t data_in, int32_t range) in adxl362_accel_convert_q31()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_decoder.c81 q31_t *out) in icm42688_convert_raw_to_q31()
204 static inline q31_t icm42688_read_temperature_from_packet(const uint8_t *pkt) in icm42688_read_temperature_from_packet()
235 uint8_t axis_offset, q31_t *out) in icm42688_read_imu_from_packet()
311 *out = (q31_t)(value * scale / max); in icm42688_read_imu_from_packet()
/Zephyr-latest/tests/benchmarks/cmsis_dsp/basicmath/src/
Dq7.c264 q31_t output; in ZTEST()
/Zephyr-latest/tests/lib/cmsis_dsp/interpolation/src/
Dq15.pat1 static const q31_t in_linear_x[40] = {
31 static const q31_t in_bilinear_x[300] = {
Dq7.pat1 static const q31_t in_linear_x[40] = {
31 static const q31_t in_bilinear_x[300] = {
/Zephyr-latest/tests/subsys/dsp/basicmath/src/
Dq7.c18 #define ABS_ERROR_THRESH_Q31 ((q31_t)(1 << 15))
425 const q31_t *ref, size_t length) in test_zdsp_dot_prod_q7()
427 DSP_DATA q31_t *output; in test_zdsp_dot_prod_q7()
430 output = (DSP_DATA q31_t *)malloc(1 * sizeof(q31_t)); in test_zdsp_dot_prod_q7()
Dq7.pat444 static const q31_t ref_dot_prod_3[1] = {
448 static const q31_t ref_dot_prod_4[1] = {
452 static const q31_t ref_dot_prod_4n1[1] = {
456 static const q31_t ref_dot_prod_long[1] = {
/Zephyr-latest/tests/lib/cmsis_dsp/complexmath/src/
Dq31.pat1 static const q31_t in_com1[512] = {
132 static const q31_t in_com2[512] = {
263 static const q31_t in_com3[256] = {
330 static const q31_t ref_conj[512] = {
473 static const q31_t ref_mag[256] = {
540 static const q31_t ref_mag_squared[256] = {
607 static const q31_t ref_mult_cmplx[512] = {
738 static const q31_t ref_mult_real[512] = {
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_decoder.c53 static inline void adxl345_accel_convert_q31(q31_t *out, int16_t sample, int32_t range, in adxl345_accel_convert_q31()
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c471 data->readings[0].values[0] = (q31_t)(accumulator_buffer.values[0] / in sensor_shell_processing_callback()
473 data->readings[0].values[1] = (q31_t)(accumulator_buffer.values[1] / in sensor_shell_processing_callback()
475 data->readings[0].values[2] = (q31_t)(accumulator_buffer.values[2] / in sensor_shell_processing_callback()
517 data->readings[0].value = (q31_t)(accumulator_buffer.values[0] / in sensor_shell_processing_callback()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx.c544 static void bma4xx_convert_raw_accel_to_q31(int16_t raw_val, q31_t *out) in bma4xx_convert_raw_accel_to_q31()
576 static void bma4xx_convert_raw_temp_to_q31(int8_t raw_val, q31_t *out) in bma4xx_convert_raw_temp_to_q31()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_decoder.c24 static inline void adxl372_accel_convert_q31(q31_t *out, const uint8_t *buff) in adxl372_accel_convert_q31()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_decoder.c69 (q31_t) (round((val) * ((int64_t)1 << (31 - (range)))))
76 (q31_t) ((int64_t)(micro_val) * ((int64_t)1 << (31 - (range))) / 1000000LL)
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_decoder.c42 static inline void adxl367_temp_convert_q31(q31_t *out, const uint8_t *buff, in adxl367_temp_convert_q31()
103 static inline void adxl367_accel_convert_q31(q31_t *out, const uint8_t *buff, in adxl367_accel_convert_q31()
/Zephyr-latest/doc/hardware/peripherals/sensor/
Dread_and_decode.rst23 decodes the sensor specific encoded data into fixed point :c:type:`q31_t` values
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Ddecim_q31.pat1 static const q31_t in_val_decim[1980] = {
499 static const q31_t in_coeff_decim[564] = {
718 static const q31_t in_val_interp[264] = {
787 static const q31_t in_coeff_interp[1044] = {
1090 static const q31_t ref_decim[528] = {
1225 static const q31_t ref_interp[1276] = {
Dfir_q31.pat1 static const q31_t in_val[46] = {
16 static const q31_t in_coeff[999] = {
299 static const q31_t ref_val[1992] = {

1234