Home
last modified time | relevance | path

Searched refs:coeff (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Dbiquad_f16.c26 const float16_t *coeff = (const float16_t *)in_default_coeff; in ZTEST() local
51 arm_biquad_cascade_df1_mve_init_f16(&inst, 3, coeff, coeff_mod, state); in ZTEST()
53 arm_biquad_cascade_df1_init_f16(&inst, 3, coeff, state); in ZTEST()
87 const float16_t *coeff = (const float16_t *)in_default_coeff; in ZTEST() local
102 arm_biquad_cascade_df2T_init_f16(&inst, 3, coeff, state); in ZTEST()
138 const float16_t *coeff = (const float16_t *)in_rand_coeff; in ZTEST() local
168 arm_biquad_cascade_df1_mve_init_f16(&inst, stage_count, coeff, coeff_mod, state); in ZTEST()
170 arm_biquad_cascade_df1_init_f16(&inst, stage_count, coeff, state); in ZTEST()
179 coeff += stage_count * 5; in ZTEST()
205 const float16_t *coeff = (const float16_t *)in_rand_coeff; in ZTEST() local
[all …]
Dbiquad_f32.c25 const float32_t *coeff = (const float32_t *)in_default_coeff; in ZTEST() local
50 arm_biquad_cascade_df1_mve_init_f32(&inst, 3, coeff, coeff_mod, state); in ZTEST()
52 arm_biquad_cascade_df1_init_f32(&inst, 3, coeff, state); in ZTEST()
85 const float32_t *coeff = (const float32_t *)in_default_coeff; in ZTEST() local
100 arm_biquad_cascade_df2T_init_f32(&inst, 3, coeff, state); in ZTEST()
135 const float32_t *coeff = (const float32_t *)in_rand_coeff; in ZTEST() local
165 arm_biquad_cascade_df1_mve_init_f32(&inst, stage_count, coeff, coeff_mod, state); in ZTEST()
167 arm_biquad_cascade_df1_init_f32(&inst, stage_count, coeff, state); in ZTEST()
176 coeff += stage_count * 5; in ZTEST()
201 const float32_t *coeff = (const float32_t *)in_rand_coeff; in ZTEST() local
[all …]
Ddecim_q15.c28 const q15_t *coeff = in_coeff_decim; in ZTEST() local
53 decim_factor, coeff, state, in ZTEST()
65 coeff += tap_count; in ZTEST()
92 const q15_t *coeff = in_coeff_interp; in ZTEST() local
117 tap_count, coeff, in ZTEST()
129 coeff += tap_count; in ZTEST()
Ddecim_q31.c28 const q31_t *coeff = in_coeff_decim; in ZTEST() local
53 decim_factor, coeff, state, in ZTEST()
65 coeff += tap_count; in ZTEST()
92 const q31_t *coeff = in_coeff_interp; in ZTEST() local
117 tap_count, coeff, in ZTEST()
129 coeff += tap_count; in ZTEST()
Dbiquad_f64.c25 const float64_t *coeff = (const float64_t *)in_default_coeff; in ZTEST() local
40 arm_biquad_cascade_df2T_init_f64(&inst, 3, coeff, state); in ZTEST()
76 const float64_t *coeff = (const float64_t *)in_rand_coeff; in ZTEST() local
98 &inst, stage_count, coeff, state); in ZTEST()
109 coeff += stage_count * 5; in ZTEST()
Ddecim_f32.c28 const float32_t *coeff = (const float32_t *)in_coeff_decim; in ZTEST() local
53 decim_factor, coeff, state, in ZTEST()
65 coeff += tap_count; in ZTEST()
91 const float32_t *coeff = (const float32_t *)in_coeff_interp; in ZTEST() local
116 tap_count, coeff, in ZTEST()
128 coeff += tap_count; in ZTEST()
Dfir_f16.c29 const float16_t *coeff = (const float16_t *)in_coeff; in ZTEST() local
62 memcpy(coeff_padded, coeff, tap_count * sizeof(float16_t)); in ZTEST()
69 arm_fir_init_f16(&inst, tap_count, coeff, state, block_size); in ZTEST()
86 coeff += tap_count; in ZTEST()
Dfir_f32.c29 const float32_t *coeff = (const float32_t *)in_coeff; in ZTEST() local
62 memcpy(coeff_padded, coeff, tap_count * sizeof(float32_t)); in ZTEST()
69 arm_fir_init_f32(&inst, tap_count, coeff, state, block_size); in ZTEST()
86 coeff += tap_count; in ZTEST()
Dfir_q15.c29 const q15_t *coeff = (const q15_t *)in_coeff; in ZTEST() local
62 memcpy(coeff_padded, coeff, tap_count * sizeof(q15_t)); in ZTEST()
69 arm_fir_init_q15(&inst, tap_count, coeff, state, block_size); in ZTEST()
86 coeff += tap_count; in ZTEST()
Dfir_q31.c29 const q31_t *coeff = (const q31_t *)in_coeff; in ZTEST() local
62 memcpy(coeff_padded, coeff, tap_count * sizeof(q31_t)); in ZTEST()
69 arm_fir_init_q31(&inst, tap_count, coeff, state, block_size); in ZTEST()
86 coeff += tap_count; in ZTEST()
Dfir_q7.c29 const q7_t *coeff = (const q7_t *)in_coeff; in ZTEST() local
62 memcpy(coeff_padded, coeff, tap_count * sizeof(q7_t)); in ZTEST()
69 arm_fir_init_q7(&inst, tap_count, coeff, state, block_size); in ZTEST()
86 coeff += tap_count; in ZTEST()
Dbiquad_q31.c28 const q31_t *coeff = in_default_coeff; in ZTEST() local
43 arm_biquad_cascade_df1_init_q31(&inst, 3, coeff, state, 2); in ZTEST()
76 const q31_t *coeff = in_default_coeff; in ZTEST() local
92 arm_biquad_cas_df1_32x64_init_q31(&inst, 3, coeff, state, 2); in ZTEST()
Dbiquad_q15.c25 const q15_t *coeff = in_default_coeff; in ZTEST() local
40 arm_biquad_cascade_df1_init_q15(&inst, 3, coeff, state, 2); in ZTEST()
/Zephyr-latest/tests/lib/cmsis_dsp/interpolation/src/
Df32.c106 float32_t *coeff; in test_arm_spline() local
118 coeff = malloc(((n - 1) * 3) * sizeof(float32_t)); in test_arm_spline()
119 zassert_not_null(coeff, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_spline()
123 (float32_t *)input_x, (float32_t *)input_y, n, coeff, scratch); in test_arm_spline()
137 free(coeff); in test_arm_spline()
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/
Df16.c189 const float16_t *coeff = (const float16_t *)in_weighted_sum_coeff; in test_arm_weighted_average_f16() local
198 output[0] = arm_weighted_average_f16(val, coeff, length); in test_arm_weighted_average_f16()
Df32.c152 const float32_t *coeff = (const float32_t *)in_weighted_sum_coeff; in test_arm_weighted_average_f32() local
161 output[0] = arm_weighted_average_f32(val, coeff, length); in test_arm_weighted_average_f32()
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic_nhlt.c42 static const uint32_t *dai_dmic_skip_coeff(const uint32_t *coeff, const int length, in dai_dmic_skip_coeff() argument
46 coeff += length; in dai_dmic_skip_coeff()
48 coeff += ROUND_UP(3 * length, sizeof(uint32_t)) / sizeof(uint32_t); in dai_dmic_skip_coeff()
51 return coeff; in dai_dmic_skip_coeff()
58 const uint32_t *coeff, int length, const bool packed) in dai_dmic_write_coeff() argument
65 dai_dmic_write(dmic, base, *coeff++); in dai_dmic_write_coeff()
69 coeff_in_bytes = (const uint8_t *)coeff; in dai_dmic_write_coeff()