Searched refs:framestart_cc (Results 1 – 2 of 2) sorted by relevance
106 uint32_t framestart_cc) in update_sof_offset() argument113 if (framestart_cc > (SAMPLES_PER_SOF * CLKS_PER_SAMPLE)/2) { in update_sof_offset()114 sof_offset = framestart_cc - SAMPLES_PER_SOF * CLKS_PER_SAMPLE; in update_sof_offset()116 sof_offset = framestart_cc; in update_sof_offset()150 uint32_t framestart_cc; in feedback_process() local154 framestart_cc = nrfx_timer_capture_get(&feedback_timer_instance, in feedback_process()157 update_sof_offset(ctx, sof_cc, framestart_cc); in feedback_process()
204 uint32_t framestart_cc) in update_sof_offset() argument221 framestart_cc /= MAX(clks_per_edge, 1); 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()230 sof_offset = framestart_cc; in update_sof_offset()322 uint32_t framestart_cc; in feedback_process() local327 framestart_cc = nrfx_timer_capture_get(&feedback_timer_instance, in feedback_process()330 update_sof_offset(ctx, sof_cc, framestart_cc); in feedback_process()