Home
last modified time | relevance | path

Searched refs:num_samples (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c54 int num_samples = 0; in compute_num_samples() local
57 num_samples += SENSOR_CHANNEL_3_AXIS(channels[i].chan_type) ? 3 : 1; in compute_num_samples()
60 return num_samples; in compute_num_samples()
154 const int num_samples = SENSOR_CHANNEL_3_AXIS(channels[i].chan_type) ? 3 : 1; in sensor_submit_fallback_sync() local
159 if (num_samples == 3) { in sensor_submit_fallback_sync()
188 for (int sample = 0; sample < num_samples; ++sample) { in sensor_submit_fallback_sync()
207 sample_idx -= num_samples; in sensor_submit_fallback_sync()
225 for (int sample = 0; sample < num_samples; ++sample) { in sensor_submit_fallback_sync()
252 sample_idx += num_samples; in sensor_submit_fallback_sync()
/Zephyr-latest/subsys/dsp/cmsis/public/
Dzdsp_backend.h191 uint32_t num_samples) in zdsp_clip_q7() argument
193 arm_clip_q7(src, dst, low, high, num_samples); in zdsp_clip_q7()
196 uint32_t num_samples) in zdsp_clip_q15() argument
198 arm_clip_q15(src, dst, low, high, num_samples); in zdsp_clip_q15()
201 uint32_t num_samples) in zdsp_clip_q31() argument
203 arm_clip_q31(src, dst, low, high, num_samples); in zdsp_clip_q31()
206 float32_t high, uint32_t num_samples) in zdsp_clip_f32() argument
208 arm_clip_f32(src, dst, low, high, num_samples); in zdsp_clip_f32()
Dzdsp_backend_f16.h66 float16_t high, uint32_t num_samples) in zdsp_clip_f16() argument
68 arm_clip_f16(src, dst, low, high, num_samples); in zdsp_clip_f16()
/Zephyr-latest/subsys/dsp/arcmwdt/public/
Dzdsp_backend.h205 uint32_t num_samples) in zdsp_clip_q7() argument
207 arm_clip_q7(src, dst, low, high, num_samples); in zdsp_clip_q7()
210 q15_t high, uint32_t num_samples) in zdsp_clip_q15() argument
212 arm_clip_q15(src, dst, low, high, num_samples); in zdsp_clip_q15()
215 q31_t high, uint32_t num_samples) in zdsp_clip_q31() argument
217 arm_clip_q31(src, dst, low, high, num_samples); in zdsp_clip_q31()
220 float32_t low, float32_t high, uint32_t num_samples) in zdsp_clip_f32() argument
222 arm_clip_f32(src, dst, low, high, num_samples); in zdsp_clip_f32()
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dstream_lc3.c44 const unsigned int num_samples = in fill_audio_buf_sin() local
49 for (unsigned int i = 0; i < num_samples; i++) { in fill_audio_buf_sin()
/Zephyr-latest/include/zephyr/dsp/
Dbasicmath.h885 float32_t low, float32_t high, uint32_t num_samples);
896 q31_t high, uint32_t num_samples);
907 q15_t high, uint32_t num_samples);
918 uint32_t num_samples);
Dbasicmath_f16.h118 float16_t high, uint32_t num_samples);
/Zephyr-latest/drivers/adc/
Dadc_tla202x.c238 const size_t num_samples = (1 + num_extra_samples) * POPCOUNT(seq->channels); in tla202x_start_read() local
265 if (seq->buffer_size < (num_samples * sizeof(tla202x_reg_data_t))) { in tla202x_start_read()
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/
Dmain.c118 const unsigned int num_samples = (length_us * sample_rate_hz) / USEC_PER_SEC; in fill_audio_buf_sin() local
121 for (unsigned int i = 0; i < num_samples; i++) { in fill_audio_buf_sin()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap.c358 const size_t num_samples = (length_us * sample_rate_hz) / USEC_PER_SEC; in fill_lc3_tx_buf_sin() local
361 for (size_t i = 0; i < num_samples; i++) { in fill_lc3_tx_buf_sin()