Home
last modified time | relevance | path

Searched refs:SAMPLES_PER_SOF (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/samples/subsys/usb/uac2_explicit_feedback/src/
Dfeedback_nrf53.c219 clks_per_edge = sof_cc / (SAMPLES_PER_SOF << FEEDBACK_P); in update_sof_offset()
227 if (framestart_cc > (SAMPLES_PER_SOF << FEEDBACK_P)/2) { in update_sof_offset()
228 sof_offset = framestart_cc - (SAMPLES_PER_SOF << FEEDBACK_P); in update_sof_offset()
243 base_change = -(SAMPLES_PER_SOF << FEEDBACK_P); in update_sof_offset()
246 base_change = SAMPLES_PER_SOF << FEEDBACK_P; in update_sof_offset()
253 if (abs_diff > (SAMPLES_PER_SOF << FEEDBACK_P)/2) { in update_sof_offset()
359 fb = SAMPLES_PER_SOF << (FEEDBACK_K + FEEDBACK_FS_SHIFT); in feedback_process()
371 ctx->fb_value = SAMPLES_PER_SOF << (FEEDBACK_K + FEEDBACK_FS_SHIFT); in feedback_reset_ctx()
387 ctx->rel_sof_offset = (SAMPLES_PER_SOF << FEEDBACK_P) / 2; in feedback_start()
392 (SAMPLES_PER_SOF << FEEDBACK_P); in feedback_start()
Dmain.c24 #define SAMPLE_FREQUENCY (SAMPLES_PER_SOF * 1000)
29 #define MIN_BLOCK_SIZE ((SAMPLES_PER_SOF - 1) * BYTES_PER_SLOT)
30 #define BLOCK_SIZE (SAMPLES_PER_SOF * BYTES_PER_SLOT)
31 #define MAX_BLOCK_SIZE ((SAMPLES_PER_SOF + 1) * BYTES_PER_SLOT)
Dfeedback.h15 #define SAMPLES_PER_SOF 48 macro
Dfeedback_dummy.c38 return SAMPLES_PER_SOF << FEEDBACK_K; in feedback_value()