Home
last modified time | relevance | path

Searched refs:rel_sof_offset (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/
Dfeedback_nrf53.c43 int32_t rel_sof_offset; member
123 if ((ctx->rel_sof_offset >= 0) != (sof_offset >= 0)) { in update_sof_offset()
128 abs_diff = sof_offset - ctx->rel_sof_offset; in update_sof_offset()
131 abs_diff = ctx->rel_sof_offset - sof_offset; in update_sof_offset()
144 ctx->rel_sof_offset = sof_offset; in update_sof_offset()
172 ctx->rel_sof_offset = (SAMPLES_PER_SOF * CLKS_PER_SAMPLE) / 2; in feedback_start()
182 int32_t offset = ctx->rel_sof_offset + ctx->base_sof_offset; in feedback_samples_offset()
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/
Dfeedback_nrf53.c61 int32_t rel_sof_offset; member
237 if ((ctx->rel_sof_offset >= 0) != (sof_offset >= 0)) { in update_sof_offset()
242 abs_diff = sof_offset - ctx->rel_sof_offset; in update_sof_offset()
245 abs_diff = ctx->rel_sof_offset - sof_offset; in update_sof_offset()
258 ctx->rel_sof_offset = sof_offset; in update_sof_offset()
268 int32_t sof_offset = ctx->rel_sof_offset + ctx->base_sof_offset; in pi_update()
333 int32_t offset = ctx->rel_sof_offset + ctx->base_sof_offset; in feedback_process()
387 ctx->rel_sof_offset = (SAMPLES_PER_SOF << FEEDBACK_P) / 2; in feedback_start()