Searched refs:abs_diff (Results 1 – 2 of 2) sorted by relevance
124 uint32_t abs_diff; in update_sof_offset() local128 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()139 if (abs_diff > (SAMPLES_PER_SOF * CLKS_PER_SAMPLE)/2) { in update_sof_offset()
238 uint32_t abs_diff; in update_sof_offset() local242 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()253 if (abs_diff > (SAMPLES_PER_SOF << FEEDBACK_P)/2) { in update_sof_offset()