Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/
Dfeedback_nrf53.c106 uint32_t framestart_cc) in update_sof_offset() argument
113 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() local
154 framestart_cc = nrfx_timer_capture_get(&feedback_timer_instance, in feedback_process()
157 update_sof_offset(ctx, sof_cc, framestart_cc); in feedback_process()
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/
Dfeedback_nrf53.c204 uint32_t framestart_cc) in update_sof_offset() argument
221 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() local
327 framestart_cc = nrfx_timer_capture_get(&feedback_timer_instance, in feedback_process()
330 update_sof_offset(ctx, sof_cc, framestart_cc); in feedback_process()